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

Disassembly:
sub esp, 0x94
mov eax, dword [0x5340e4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [0x5321f0]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x34], ebp
push esi
mov esi, dword [esp + 0xa4]
push edi
test ebx, ebx
je 0x4d2788
push 0x28a
call ebx
add esp, 4
test eax, eax
je 0x4d2782
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ebx, dword [0x5321f0]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x34]
mov edi, 0x2c
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d27b3
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4d27a0
jmp 0x4d27bf
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
inc eax
mov dword [esp + 0x20], eax
xor edi, edi
cmp word [esi + 0x28], di
jne 0x4d28a0
test ebx, ebx
je 0x4d27fc
push 0x28a
call ebx
add esp, 4
test eax, eax
je 0x4d27fc
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push 3
push edi
push 0xc0000006
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x60], edi
jbe 0x4d2857
lea eax, [esp + 0x14]
push eax
push 4
call fcn.0043b1d0
add esp, 8
cmp byte [esi + 0x2b], 0
jne 0x4d2840
mov eax, dword [esi + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4d29d3
or dword [esi + 0x74], 0xf000
push dword [esp + 0x14]
push esi
call fcn.004d4460
push 4
push 4
push esi
call fcn.004d4c50
add esp, 0x14
cmp byte [esi + 0x2b], 0
jne 0x4d2875
mov eax, dword [esi + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
and dword [esi + 0x74], 0xfffffff7
or eax, 0xffffffff
mov dword [esp + 0x14], 0
mov word [esi + 0x28], ax
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x48]
push eax
push esi
call fcn.004d4750
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x4d2884
test edi, edi
jne 0x4d2ed1
mov ecx, dword [esi + 0x44]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4d29e5
mov ecx, dword [esi + 0x70]
mov eax, ebx
mov dword [esp + 0x68], 0x82067f37
mov dword [esp + 0x6c], 0x18e22d00
bswap eax
mov dword [esp + 0x70], eax
mov eax, ecx
bswap eax
mov dword [esp + 0x74], eax
test ecx, ecx
jne 0x4d28f3
lea eax, [esi + 0x54]
push eax
push 8
call fcn.0043b1d0
add esp, 8
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0x18
lea eax, [esp + 0x74]
mov dword [esp + 0x88], ecx
push eax
push 1
call fcn.004d2170
mov edx, dword [esp + 0x70]
mov eax, edx
mov ecx, dword [esp + 0x74]
bswap eax
mov dword [esp + 0x94], eax
mov eax, ecx
bswap eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x4c], edx
lea edx, [esp + 0x7c]
mov dword [esi + 0x50], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esi + 8]
push 0
push 0
mov byte [esi + 0x41], 0
mov byte [esi + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x4d2ed1
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xbc]
je 0x4d29a2
mov edx, dword [esi + 8]
mov ecx, eax
sar ecx, 2
and ecx, 3
je 0x4d29e1
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d2ed1
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 0x24], ebx
je 0x4d29ee
push 0x51e124
push 0x10be6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
add esp, 0x14
mov eax, 0xb
jmp 0x4d2ed3
cmp edi, 5
je 0x4d2857
jmp 0x4d2ed1
xor edi, edi
jmp 0x4d29a2
mov eax, dword [esp + 0xbc]
jmp 0x4d29a6
mov edx, dword [esi + 8]
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
lea eax, [ebx + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], edx
cdq
mov dword [esp + 0x58], ebx
mov ebx, eax
mov eax, edx
mov dword [esp + 0x44], esi
push eax
push ebx
push 0
push ecx
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
call fcn.004e6670
add eax, 0x20
mov ebx, edx
mov dword [esp + 0x10], eax
adc ebx, 0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0xb8]
test ebp, ebp
je 0x4d2bf2
cmp dword [esp + 0x20], 0
je 0x4d2af1
cmp dword [ebp + 0x10], 0
jne 0x4d2a64
test eax, eax
jne 0x4d2af1
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [ebp + 0x18]
push esi
call fcn.004d2450
mov edi, dword [esp + 0x24]
add esp, 0xc
cmp edi, dword [esp + 0x20]
jb 0x4d2aea
push dword [esp + 0x2c]
lea eax, [edi - 1]
push dword [esp + 0x34]
push 0
push eax
call fcn.004e6670
add eax, 0x38
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x68]
adc edx, 0
test eax, eax
je 0x4d2aaf
cmp edi, eax
jae 0x4d2ab2
mov dword [esi + 0x68], edi
mov eax, dword [esi + 8]
push edx
push dword [esp + 0x18]
push dword [esp + 0xb4]
mov ecx, dword [eax]
push dword [ebp + 4]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d2ed1
mov ecx, 0xffbf
and word [ebp + 0x1c], cx
mov ebp, dword [ebp + 0x10]
jmp 0x4d2a3c
mov eax, dword [esp + 0xb8]
inc dword [esp + 0x1c]
test eax, eax
je 0x4d2b08
cmp dword [ebp + 0x10], 0
jne 0x4d2b08
mov ecx, dword [esp + 0xb4]
jmp 0x4d2b0a
xor ecx, ecx
mov eax, dword [ebp + 4]
lea edi, [esi + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
bswap eax
bswap ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
cmp dword [esi + 0x68], 0
jne 0x4d2b77
mov eax, dword [esi + 0x54]
xor ebx, ebx
mov ecx, dword [esi + 0x58]
push edi
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
push edi
mov dword [esp + 0x7c], ecx
cmp byte [esi + 0x41], bl
push 8
sete bl
push eax
push ebx
call fcn.004d2170
push edi
push edi
push dword [esi + 0x24]
push dword [esp + 0x38]
push ebx
call fcn.004d2170
mov eax, dword [edi]
add esp, 0x28
mov ebx, dword [esp + 0x28]
bswap eax
mov dword [esp + 0x78], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [esp + 0x7c], eax
jmp 0x4d2b7f
xorps xmm0, xmm0
movups xmmword [esp + 0x70], xmm0
push ebx
push dword [esp + 0x14]
lea eax, [esp + 0x70]
push 0x18
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004d4cc0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d2ed1
mov ecx, dword [esp + 0x10]
mov eax, ebx
add ecx, 0x18
adc eax, edi
push eax
push ecx
push dword [esp + 0xb4]
lea eax, [esp + 0x50]
push dword [esp + 0x24]
push eax
call fcn.004d4cc0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d2ed1
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov dword [esp + 0x34], ebp
adc ebx, dword [esp + 0x2c]
or word [ebp + 0x1c], 0x40
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x28], ebx
jmp 0x4d2a3c
test eax, eax
je 0x4d2e30
cmp dword [esi + 0x68], 0
je 0x4d2c17
push dword [esp + 0x1c]
push esi
call fcn.004d4520
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d2ed1
and dword [esp + 0xbc], 3
je 0x4d2ddf
cmp byte [esi + 0x31], 0
je 0x4d2dc7
push dword [esi + 8]
call fcn.004a7190
mov ebp, dword [esp + 0x14]
add esp, 4
cdq
mov ecx, eax
add ecx, ebp
mov dword [esp + 0x10], ecx
mov ecx, edx
adc ecx, ebx
sub dword [esp + 0x10], 1
push edx
sbb ecx, 0
push eax
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
call fcn.004e66b0
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
sbb eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
cmp ecx, ebp
jne 0x4d2c8f
mov dword [esp + 0x14], 1
cmp eax, ebx
je 0x4d2c97
mov dword [esp + 0x14], 0
cmp ebx, eax
jg 0x4d2dc0
jl 0x4d2ca9
cmp ebp, ecx
jae 0x4d2dc0
mov edx, dword [esp + 0xb4]
bswap edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x34]
lea edi, [esi + 0x4c]
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x18]
bswap eax
mov dword [esp + 0x88], eax
cmp dword [esi + 0x68], 0
jne 0x4d2d3a
mov eax, dword [esi + 0x54]
xor ebx, ebx
mov ecx, dword [esi + 0x58]
push edi
mov dword [esp + 0x94], eax
lea eax, [esp + 0x8c]
push edi
mov dword [esp + 0x9c], ecx
cmp byte [esi + 0x41], bl
push 8
sete bl
push eax
push ebx
call fcn.004d2170
push edi
push edi
push dword [esi + 0x24]
push dword [esp + 0x38]
push ebx
call fcn.004d2170
mov eax, dword [edi]
add esp, 0x28
mov ebx, dword [esp + 0x28]
bswap eax
mov dword [esp + 0x98], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [esp + 0x9c], eax
jmp 0x4d2d45
xorps xmm0, xmm0
movups xmmword [esp + 0x90], xmm0
push ebx
push ebp
push 0x18
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004d4cc0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d2ed1
mov ecx, ebp
mov eax, ebx
add ecx, 0x18
adc eax, edi
push eax
push ecx
push dword [esp + 0xb4]
lea eax, [esp + 0x50]
push dword [esp + 0x24]
push eax
call fcn.004d4cc0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d2ed1
mov eax, dword [esp + 0x5c]
cdq
add ebp, eax
adc ebx, edx
inc dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
cmp ebx, dword [esp + 0x20]
jl 0x4d2cb6
jg 0x4d2dc0
cmp ebp, dword [esp + 0x10]
jb 0x4d2cb6
cmp dword [esp + 0x14], 0
je 0x4d2ddf
mov ecx, dword [esp + 0x40]
push dword [esp + 0xbc]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov edi, eax
cmp byte [esi + 0x2f], 0
je 0x4d2e30
mov ebp, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
test ebp, ebp
jl 0x4d2e30
jg 0x4d2df5
test ebx, ebx
jb 0x4d2e30
push dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push dword [esp + 0x34]
add eax, dword [esp + 0x24]
push 0
push eax
call fcn.004e6670
add eax, 0x20
adc edx, 0
cmp edx, ebp
jl 0x4d2e21
jg 0x4d2e1d
cmp eax, ebx
jbe 0x4d2e21
mov ebx, eax
mov ebp, edx
push ebp
push ebx
push esi
call fcn.004d4080
add esp, 0xc
mov byte [esi + 0x2f], 0
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esi + 0x44]
test ebp, ebp
je 0x4d2e65
nop dword [eax + eax]
test edi, edi
jne 0x4d2ed1
test byte [ebp + 0x1c], 0x40
je 0x4d2e5e
push dword [ebp + 0x18]
inc ebx
push ebx
push esi
call fcn.004d30a0
add esp, 0xc
mov edi, eax
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x4d2e40
test edi, edi
jne 0x4d2ed1
mov ebp, dword [esp + 0x34]
nop dword [eax]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4d2e93
push dword [ebp + 0x18]
inc ebx
dec eax
push ebx
push esi
mov dword [esp + 0x30], eax
call fcn.004d30a0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4d2e70
jmp 0x4d2ed1
mov ecx, dword [esp + 0xac]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [esi + 0x44], ebx
cmp dword [esp + 0xb8], 0
mov word [esi + 0x42], ax
je 0x4d2ed1
mov eax, dword [esp + 0xb4]
inc dword [esi + 0x3c]
push esi
mov dword [esi + 0x48], eax
call fcn.004d3d80
add esp, 4
mov dword [esi + 0xc], ebx
mov eax, edi
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e56df
add esp, 0x94
ret