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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4d2cfc
push eax
call dword [0x76a3c0]
add esp, 4
mov eax, dword [ebx + 0x18]
cmp byte [eax + 9], 0
je 0x4d2d17
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x4d2d17
push eax
call fcn.004d89e0
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x4d2d2e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4d2d2e
push eax
call dword [0x76a3c0]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x4d2d43
cmp esi, 5
je 0x4d2d43
cmp esi, 6
jne 0x4d32ef
cmp dword [ebx], 0
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x34], 0
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
je 0x4d2d72
cmp byte [edx + 0x14], 2
jne 0x4d2d72
mov esi, 5
jmp 0x4d2d8e
xor esi, esi
cmp byte [ecx + 8], 0
jne 0x4d2d8e
push esi
push esi
push ecx
call fcn.004fc550
add esp, 0xc
mov dword [ebp - 0x34], 1
mov esi, eax
cmp dword [ebx + 0xc], 0
jne 0x4d2db8
test esi, esi
jne 0x4d2de0
mov eax, dword [ebx + 0x18]
push esi
push 0xffffffffffffffff
mov eax, dword [eax + 4]
push dword [eax + 0x20]
push dword [ebx + 4]
call fcn.004ff530
add esp, 0x10
cmp eax, 7
jne 0x4d2dbc
mov esi, eax
jmp 0x4d2de0
test esi, esi
jne 0x4d2de0
cmp dword [ebx + 0xc], 0
jne 0x4d2de0
lea eax, [ebx + 8]
push eax
push 2
push dword [ebx + 4]
call fcn.004fc550
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4d2de0
mov dword [ebx + 0xc], 1
mov eax, dword [ebx + 0x18]
push edi
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], edi
mov ecx, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x18], ecx
movzx eax, byte [eax + 5]
mov dword [ebp - 0x28], eax
test esi, esi
jne 0x4d2e15
cmp eax, 5
jne 0x4d2e15
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x2c]
and edx, 0x7fffffff
xor eax, eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
js 0x4d2e31
cmp eax, ecx
jge 0x4d2ea0
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x4d2ea0
test esi, esi
jne 0x4d2edb
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x76a478]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x4d2e94
push 2
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x40]
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4d2e94
mov eax, dword [ebp - 0x10]
push esi
push dword [eax + 4]
push edi
push ebx
call fcn.004d59f0
mov esi, eax
add esp, 0x10
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d2e94
push eax
call fcn.005152b0
add esp, 4
mov eax, dword [ebp - 0x14]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [ebp - 0x1c]
jmp 0x4d2e23
test esi, esi
jne 0x4d2edb
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x4d2ee4
cmp dword [ebx + 0x28], esi
jne 0x4d324e
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x4d324e
cmp esi, 0x65
jne 0x4d324e
test edx, edx
jne 0x4d2f3e
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x4d2f01
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x4d2f01
push edi
call fcn.004d89e0
add esp, 4
mov eax, dword [edi + 4]
mov dword [eax + 0x2c], 0
push dword [edi + 4]
call fcn.004ed230
add esp, 4
mov esi, eax
cmp byte [edi + 9], 0
je 0x4d2f2d
add dword [edi + 0xc], 0xffffffff
jne 0x4d2f2d
push edi
call fcn.0053a3f0
add esp, 4
mov edi, 1
mov dword [ebp - 0x1c], edi
test esi, esi
je 0x4d2f3e
cmp esi, 0x65
jne 0x4d2fa0
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 0x20], eax
cmp byte [edi + 9], 0
mov esi, dword [edi + 4]
je 0x4d2f63
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4d2f63
push edi
call fcn.004d89e0
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
mov dword [ebp - 0x2c], ecx
call fcn.00515340
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d2f88
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
bswap eax
mov dword [ecx + 0x28], eax
cmp byte [edi + 9], 0
je 0x4d2f9d
add dword [edi + 0xc], 0xffffffff
jne 0x4d2f9d
push edi
call fcn.0053a3f0
add esp, 4
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x4d324e
mov eax, dword [ebx]
test eax, eax
je 0x4d2fb7
push eax
call fcn.00519940
add esp, 4
cmp dword [ebp - 0x28], 5
jne 0x4d304a
mov ecx, dword [ebx + 4]
mov edx, 0xffdf
push 0
push 0
push ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
and word [eax + 0x16], dx
call fcn.004fc550
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4d3036
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
cmp byte [eax + 0x12], 2
jne 0x4d3001
cmp byte [eax + 0x13], 2
je 0x4d3036
push 0
push 2
push dword [ebp - 0x20]
call fcn.004fc550
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4d3036
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push dword [eax + 0x48]
call fcn.00515340
mov esi, eax
add esp, 4
test esi, esi
jne 0x4d3036
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x12], 0x202
mov eax, dword [ebp - 0x10]
mov ecx, 0xffdf
and word [eax + 0x16], cx
test esi, esi
jne 0x4d324e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
cmp eax, ecx
jge 0x4d308c
mov eax, ecx
cdq
idiv dword [ebp - 0x30]
mov ecx, eax
lea eax, [ecx - 1]
add eax, edi
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x76a478]
div dword [ecx + 0x20]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
mov eax, dword [ebp - 0x1c]
cmovne ecx, edi
mov dword [ebp - 0x20], ecx
mov edi, ecx
mov ecx, dword [ebp - 0x18]
jmp 0x4d3097
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 0x1c]
imul edi, eax
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x4d33eb
imul edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
nop dword [eax]
cmp edi, eax
ja 0x4d311c
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x76a478]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x4d3112
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4d3112
push dword [ebp - 0x14]
call fcn.00515340
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4d3112
push eax
call fcn.005152b0
add esp, 4
mov eax, dword [ebp - 0x28]
inc edi
test esi, esi
je 0x4d30c0
jmp 0x4d3131
test esi, esi
jne 0x4d3131
mov eax, dword [ebp - 0x24]
push 1
push esi
push eax
call fcn.00513f10
add esp, 0xc
mov esi, eax
mov eax, dword [0x76a478]
add eax, dword [ebp - 0x18]
cdq
mov ecx, edx
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jg 0x4d3150
jl 0x4d3159
cmp eax, dword [ebp - 0x1c]
jb 0x4d3159
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x76a478]
add eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x28], eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov ecx, edx
test esi, esi
jne 0x4d324e
cmp ecx, dword [ebp - 0x14]
jg 0x4d3344
jl 0x4d3188
cmp edi, dword [ebp - 0x3c]
jae 0x4d3344
mov ebx, dword [ebp - 0x30]
lea esi, [ebp - 0x18]
push 0
push esi
mov eax, ebx
mov dword [ebp - 0x18], 0
cdq
push edx
push eax
push ecx
push edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 8], edx
call fcn.0060d470
inc eax
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [eax + 0xcc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4d31dc
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
push edi
push ebx
mov ecx, dword [edx]
push dword [eax + 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov esi, eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4d3234
test byte [ecx + 0x1c], 0x20
je 0x4d322b
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.0060d430
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [ebp - 0x28]
add esp, 0x10
jmp 0x4d3234
push ecx
call fcn.00515ff0
add esp, 4
add edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
adc ecx, dword [ebp - 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x4d3174
mov ebx, dword [ebp - 0x38]
cmp dword [ebp - 0x34], 0
je 0x4d32dd
push 0
push dword [ebx + 0x18]
call fcn.004fcb30
mov edi, dword [ebx + 0x18]
add esp, 8
cmp byte [edi + 8], 0
je 0x4d32dd
cmp byte [edi + 9], 0
je 0x4d3286
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4d3286
push edi
call fcn.004d89e0
add esp, 4
cmp byte [edi + 8], 2
jne 0x4d32bf
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], eax
push dword [eax]
call fcn.005140f0
add esp, 4
test eax, eax
jne 0x4d32c8
mov eax, dword [ebp - 0x34]
dec dword [edi + 0x14]
push dword [eax + 0x3c]
mov byte [eax + 0x14], 1
call fcn.004fc0b0
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [eax + 0x3c], 0
push edi
call fcn.004d8510
add esp, 4
cmp byte [edi + 9], 0
je 0x4d32dd
add dword [edi + 0xc], 0xffffffff
jne 0x4d32dd
push edi
call fcn.0053a3f0
add esp, 4
cmp esi, 0xc0a
mov eax, 7
pop edi
cmove esi, eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx]
test eax, eax
je 0x4d3306
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4d3306
push eax
call dword [0x76a3c8]
add esp, 4
mov eax, dword [ebx + 0x18]
cmp byte [eax + 9], 0
je 0x4d331e
add dword [eax + 0xc], 0xffffffff
jne 0x4d331e
push eax
call fcn.0053a3f0
add esp, 4
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4d3332
push eax
call dword [0x76a3c8]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4d324b
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
push ecx
push ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d324b
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 8], ecx
jl 0x4d338b
jg 0x4d337a
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jbe 0x4d338b
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
push ebx
call eax
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4d324b
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4d33a4
lea eax, [esi + 0xc]
jmp 0x4d33b4
push 0
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edx, dword [ebp - 0x24]
add esp, 0xc
xor esi, esi
cmp eax, 0xc
cmovne esi, eax
test esi, esi
jne 0x4d33e6
cmp byte [edx + 7], 0
jne 0x4d33e6
movzx ecx, byte [edx + 0xa]
mov edx, dword [edx + 0x3c]
test ecx, ecx
je 0x4d33e4
mov eax, dword [edx]
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
mov ebx, dword [ebp - 0x38]
add esp, 8
mov esi, eax
jmp 0x4d3400
xor esi, esi
mov ebx, dword [ebp - 0x38]
jmp 0x4d3400
mov eax, dword [ebp - 0x24]
push 0
push 0
push eax
mov dword [eax + 0x18], edi
call fcn.00513f10
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4d324e
mov edi, dword [ebx + 4]
cmp byte [edi + 8], 0
je 0x4d34a5
cmp byte [edi + 9], 0
je 0x4d342d
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x4d342d
push edi
call fcn.004d89e0
add esp, 4
cmp byte [edi + 8], 2
jne 0x4d3487
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
push dword [eax]
call fcn.005140f0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d346b
cmp byte [edi + 9], 0
je 0x4d324e
add dword [edi + 0xc], 0xffffffff
jne 0x4d324e
push edi
call fcn.0053a3f0
add esp, 4
jmp 0x4d324e
mov esi, dword [ebp - 8]
dec dword [edi + 0x14]
push dword [esi + 0x3c]
mov byte [esi + 0x14], 1
call fcn.004fc0b0
add esp, 4
mov dword [esi + 0x3c], 0
push edi
call fcn.004d8510
add esp, 4
cmp byte [edi + 9], 0
je 0x4d34a5
add dword [edi + 0xc], 0xffffffff
jne 0x4d34a5
push edi
call fcn.0053a3f0
add esp, 4
mov esi, 0x65
jmp 0x4d324e