Function at 0x7b0090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
cmp byte [eax], 4
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x4c], ebx
je 0x7b0460
mov esi, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ebx
test byte [eax + 1], 0x20
jne 0x7b0410
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x7b0335
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x7b0160
test byte [esp + 0x38], 2
jne 0x7b0480
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
xor ecx, ecx
movzx edx, word [ebx + 0x18]
test esi, esi
setne cl
test dx, dx
je 0x7b08b0
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x14]
mov word [esp + 0x60], dx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x62], 0
mov byte [esp + 0x66], 0
push eax
push ecx
push 0
push 0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x68]
call fcn.007af0f0
mov dword [esp + 0x58], eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x7b03b0
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x7b0480
lea esi, [esi]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x74]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x1c], eax
test edi, edi
js 0x7b0440
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
movzx ebx, byte [esi + 0xa]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x30], eax
add eax, ebx
cmp byte [esi + 2], 0
je 0x7b03c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x14], edx
add edx, dword [ecx + 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], edi
cmp edx, 0x7f
ja 0x7b0512
mov byte [eax], dl
mov ecx, 1
mov eax, dword [esp + 0x2c]
add ebx, ecx
mov esi, 0x7f
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
add eax, ebx
cmp esi, edx
mov esi, 0
sbb esi, ecx
jae 0x7b08a0
call fcn.0076b1f0
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x30]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x1c]
movzx edi, word [eax + 0xe]
cmp edi, dword [esp + 0xc]
jge 0x7b06a0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], 0
mov ebp, dword [eax + 0x34]
movzx ebx, word [eax + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x20], ebx
sub eax, ebx
lea ebx, [edx - 4]
xor edx, edx
div ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
lea ebx, [edx + eax]
cmp edi, ebx
cmovl ebx, eax
add ecx, ebx
lea eax, [ecx + 4]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov edi, eax
cmovg edi, ebx
cmp dword [esp + 0x14], edi
jge 0x7b05e0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x7b0540
sub esp, 4
mov edi, eax
push edi
push dword [esp + 0x20]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
sub dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x7b055f
add dword [esp + 0x18], edi
sub dword [esp + 0x14], edi
sub ebx, edi
jne 0x7b0530
mov esi, dword [esp + 0x54]
mov dword [esp + 0x58], 0
cmp byte [ebp + 0x11], 0
mov ecx, esi
jne 0x7b05f0
sub esp, 8
mov eax, ebp
push 0
push ecx
lea ecx, [esp + 0x64]
lea edx, [esp + 0x68]
call fcn.007a9e20
mov dword [esp + 0x60], eax
add esp, 0x10
cmp byte [ebp + 0x11], 0
je 0x7b02e7
test eax, eax
je 0x7b0650
test eax, eax
jne 0x7b0793
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x28]
bswap eax
mov dword [esi], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7b030b
mov eax, dword [eax + 0x48]
call fcn.00761530
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x38]
mov dword [eax], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov esi, dword [eax + 0x38]
mov eax, dword [ebp + 0x24]
add esi, 4
lea ebx, [eax - 4]
jmp 0x7b0251
cmp byte [esi + 0xb], 0
je 0x7b035f
mov eax, dword [esp + 0x10]
sub esp, 4
lea edx, [esi + 0xb]
mov ecx, dword [eax + 0x40]
mov eax, dword [esi + 4]
push 0
mov esi, dword [esp + 0x34]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0076cb80
add esp, 0x10
mov esi, dword [esp + 0x10]
test byte [esi + 1], 2
jne 0x7b04d0
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x7b0160
lea eax, [esp + 0x4c]
push eax
mov ebp, dword [esp + 0x3c]
xor eax, eax
test ebp, ebp
setne al
xor edx, edx
push eax
mov eax, dword [esp + 0x34]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esp + 0x20]
call fcn.007af0f0
mov dword [esp + 0x58], eax
mov ebx, eax
add esp, 0x10
test eax, eax
je 0x7b0160
add esp, 0x8c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + 8]
mov edi, dword [edx]
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], edi
cmp esi, 0x7f
jbe 0x7b0470
mov edi, dword [esp + 0xc]
mov esi, 0x7f
mov ecx, edi
mov edx, edi
sar ecx, 0x1f
cmp esi, edi
mov esi, 0
sbb esi, ecx
jae 0x7b0900
call fcn.0076b1f0
movzx ecx, al
mov eax, dword [esp + 0xc]
add ecx, ebx
mov dword [esp + 0x14], eax
jmp 0x7b01ec
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, dword [ecx + 0x40]
mov eax, dword [eax + 8]
call fcn.007ae600
mov ebx, eax
mov dword [esp + 0x48], eax
test eax, eax
je 0x7b00ce
jmp 0x7b03b0
mov eax, dword [esp + 0x1c]
call fcn.00788ff0
mov ebx, eax
mov dword [esp + 0x48], eax
test eax, eax
je 0x7b0176
jmp 0x7b03b0
mov ebx, dword [eax + 4]
add esp, 0x8c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, esi
mov ecx, 1
mov byte [eax], dl
jmp 0x7b0401
mov ebx, dword [esp + 0x10]
mov eax, ebx
call fcn.00761b80
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor eax, dword [ebx + 0x24]
xor ecx, edx
or eax, ecx
jne 0x7b0160
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x78], 0
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
call fcn.007ab330
mov ebx, eax
jmp 0x7b03b0
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
xor eax, dword [esi + 0x20]
xor edx, dword [esi + 0x24]
or edx, eax
jne 0x7b036d
cmp word [esi + 0x32], 0
je 0x7b0160
mov eax, dword [ebx + 0x20]
add eax, dword [ebx + 0x1c]
cmp dword [esi + 0x2c], eax
jne 0x7b0160
mov edx, ebx
mov eax, esi
call fcn.007ab330
mov ebx, eax
jmp 0x7b03b0
mov edx, dword [esp + 0xc]
mov ecx, edx
sar ecx, 0x1f
call fcn.0076b1f0
movzx ecx, al
jmp 0x7b01be
add esi, edi
jmp 0x7b0251
sub esp, 4
push edi
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0x10
sub dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
test eax, eax
jg 0x7b0295
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7b07c0
mov eax, dword [eax + 0x48]
call fcn.00761530
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
movzx edi, word [eax + 0x46]
test ecx, ecx
je 0x7b06f8
lea esi, [esp + 0x48]
js 0x7b07d0
push esi
mov edx, edi
push 0
push 0
push dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, ebx
call fcn.007aba20
mov eax, dword [esp + 0x20]
xor edx, edx
add esp, 0x10
mov word [eax + 0x32], dx
cmp byte [ebx + 0xc], 0
jne 0x7b0800
mov ebx, dword [esp + 0x48]
add esp, 0x8c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 4
jmp 0x7b0277
mov eax, dword [0x849750]
xor edx, edx
mov ebx, esi
div dword [ebp + 0x20]
mov dword [esp + 0x24], eax
lea ecx, [ebx + 1]
xor edi, edi
cmp ecx, 1
jbe 0x7b0634
mov eax, 0xcccccccd
mul dword [ebp + 0x24]
lea eax, [ebx - 1]
shr edx, 2
lea edi, [edx + 1]
xor edx, edx
div edi
mov edx, dword [esp + 0x24]
add edx, 1
imul eax, edi
lea edi, [eax + 2]
add eax, 3
cmp edi, edx
cmove edi, eax
cmp ecx, edi
je 0x7b0640
cmp dword [esp + 0x24], ebx
jne 0x7b0644
mov edi, ecx
mov ebx, edi
jmp 0x7b0600
mov dword [esp + 0x54], ecx
jmp 0x7b02bd
xor ecx, ecx
test esi, esi
setne cl
sub esp, 8
lea eax, [esp + 0x58]
add ecx, 3
push eax
mov eax, ebp
push esi
mov edx, dword [esp + 0x64]
call fcn.007aa6c0
add esp, 0x10
mov esi, dword [esp + 0x50]
test esi, esi
je 0x7b02ef
mov eax, dword [esp + 0x58]
test eax, eax
je 0x7b0793
mov eax, dword [eax + 0x48]
call fcn.00761530
mov eax, dword [esp + 0x50]
jmp 0x7b02e7
mov ebx, dword [esp + 0xc]
mov eax, 4
add ecx, ebx
cmp ecx, 4
cmovge eax, ecx
sub esp, 4
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x18]
push edi
push dword [esp + 0x20]
push esi
add esi, edi
call sub.msvcrt.dll_memcpy
mov eax, ebx
add esp, 0xc
sub eax, edi
push eax
push 0
push esi
call sub.msvcrt.dll_memset
mov dword [esp + 0x58], 0
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
movzx edi, word [eax + 0x46]
test ecx, ecx
jne 0x7b058f
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x48]
call fcn.007a6440
mov ebx, eax
mov dword [esp + 0x48], eax
test eax, eax
jne 0x7b03b0
mov eax, dword [esi + 0x40]
mov ecx, esi
movzx esi, byte [eax + edi*2]
movzx eax, byte [eax + edi*2 + 1]
shl esi, 8
or esi, eax
movzx eax, word [ecx + 0x1a]
and esi, eax
add esi, dword [ecx + 0x38]
cmp byte [ecx + 8], 0
je 0x7b08f0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.007ab830
mov edx, dword [esp + 0x10]
movzx ecx, word [esp + 0x6a]
mov dword [esp + 0x48], eax
and byte [edx + 1], 0xfb
cmp ecx, dword [esp + 0x3c]
je 0x7b0910
mov ebx, eax
test eax, eax
jne 0x7b03b0
sub esp, 0xc
mov edx, edi
lea esi, [esp + 0x54]
push esi
mov eax, dword [esp + 0x2c]
call fcn.00789590
mov ebx, dword [esp + 0x58]
add esp, 0x10
test ebx, ebx
je 0x7b0599
jmp 0x7b03b0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x7b08e0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x48]
call fcn.00761530
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x7b03b0
jmp 0x7b057b
mov dword [esp + 0x48], 0
jmp 0x7b057b
mov edx, dword [esp + 0x1c]
cmp word [edx + 0x18], 0
je 0x7b0599
mov eax, dword [esp + 0x10]
lea edi, [edi + 1]
mov word [eax + 0x46], di
movzx edi, di
and byte [eax + 1], 0xfd
jmp 0x7b0599
mov edi, dword [esp + 0x10]
and byte [edi + 1], 0xfd
mov eax, edi
call fcn.007ad880
mov ebx, eax
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x74]
mov byte [eax + 0xc], 0
mov byte [edi], 1
test byte [esp + 0x38], 2
je 0x7b03b0
test ebx, ebx
jne 0x7b03b0
mov edi, dword [esp + 0x10]
mov eax, edi
call fcn.0076cbe0
mov eax, dword [edi + 0x70]
test eax, eax
je 0x7b0988
mov edi, dword [esp + 0x2c]
mov ebx, 7
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
call fcn.00767320
mov esi, dword [esp + 0x10]
mov dword [esi + 0x10], eax
test eax, eax
je 0x7b087c
sub esp, 4
push dword [edi + 8]
push dword [edi]
push eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [esp + 0x58]
add esp, 0x10
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov byte [edi], 3
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], eax
jmp 0x7b03b0
mov byte [eax], dl
mov eax, 1
jmp 0x7b01e9
lea eax, [esp + 0x4c]
push eax
push ecx
mov eax, dword [esp + 0x34]
push dword [eax + 0xc]
mov edx, dword [eax]
push dword [eax + 8]
mov eax, dword [esp + 0x20]
call fcn.007af6c0
mov dword [esp + 0x58], eax
mov ebx, eax
add esp, 0x10
jmp 0x7b0149
mov ebx, dword [esp + 0x50]
jmp 0x7b03b0
mov eax, dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
jmp 0x7b0738
mov byte [eax], dl
mov ecx, 1
jmp 0x7b0401
movzx edx, word [esp + 0x68]
cmp edx, dword [esp + 0x64]
jne 0x7b0762
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x11], 0
je 0x7b093b
mov edx, dword [esp + 0x1c]
movzx edx, word [edx + 0x10]
cmp edx, dword [esp + 0x3c]
jle 0x7b0762
mov edi, dword [esp + 0x1c]
movzx eax, byte [edi + 9]
mov edx, dword [edi + 0x38]
lea eax, [edx + eax + 0xa]
cmp esi, eax
jb 0x7b09aa
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
add eax, esi
cmp dword [edi + 0x3c], eax
jae 0x7b0991
sub esp, 0xc
push 0xbeb7d8
push 0x11cc8
push str.database_corruption
mov ebx, 0xb
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00787f60
add esp, 0x20
jmp 0x7b03b0
mov ebx, dword [esp + 0x48]
jmp 0x7b087c
sub esp, 4
push dword [esp + 0x40]
push dword [esp + 0x38]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0x10
jmp 0x7b03b0
sub esp, 0xc
push 0xbeb7d8
push 0x11cc5
jmp 0x7b096a