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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d25bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
call fcn.004d1944
test al, al
je 0x4d20de
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0
jne 0x4d20e2
xor eax, eax
jmp 0x4d20e4
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4d2105
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edx, dword [0x41c8ac]
call fcn.00403fc0
test al, al
je 0x4d2109
xor eax, eax
jmp 0x4d210b
mov al, 1
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 4]
call fcn.004d38dc
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x12], 0
je 0x4d2141
mov dl, 1
mov eax, dword [0x41c928]
call fcn.00403df8
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004d38dc
mov dword [eax + 0xb0], esi
xor edx, edx
push ebp
push 0x4d2599
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0
je 0x4d21d6
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x114]
test esi, esi
je 0x4d21b1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x34]
test al, al
je 0x4d21b1
push 0
mov eax, 0x4d25d4
mov dword [ebp - 0x20], eax
mov eax, 0x4d25e4
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, 1
call fcn.004a11d8
sub eax, 1
jb 0x4d21a1
je 0x4d21aa
jmp 0x4d21b1
mov dword [ebp - 0x18], 1
jmp 0x4d21b1
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], 0
jle 0x4d21c8
mov dl, 1
mov eax, dword [0x41c928]
call fcn.00403df8
mov dword [ebp - 0xc], eax
jmp 0x4d21db
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0xc], eax
jmp 0x4d21db
xor eax, eax
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4d24fb
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
call fcn.004096c8
mov edx, dword [ebp - 0x24]
mov esi, dword [0x515540]
mov esi, dword [esi]
mov eax, 0x4d25f4
call esi
test eax, eax
jle 0x4d22de
push 0
lea edx, [ebp - 0x28]
mov eax, dword [0x515554]
call fcn.00407174
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea ecx, [ebp - 0x20]
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.004aad2c
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
push ebp
push 0x4d22d7
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.004d1fd8
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4d22ae
cmp dword [ebp - 0xc], 0
je 0x4d2283
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x4d2296
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004aec98
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004d46a4
push ebp
call fcn.004d1fd8
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x4d2260
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004d46a4
cmp dword [ebp - 0x30], 0
jne 0x4d22ae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d248c
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
ret
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0
jne 0x4d22f3
cmp dword [eax + 0x20], 0
jbe 0x4d23e5
jmp 0x4d22f9
jle 0x4d23e5
xor edx, edx
push ebp
push 0x4d23ca
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
jle 0x4d237f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004af4e8
test al, al
je 0x4d232d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004af4e8
test al, al
jne 0x4d23bd
cmp dword [ebp - 0xc], 0
je 0x4d2366
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x4d23bd
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004aec98
jmp 0x4d23bd
cmp dword [ebp - 0xc], 0
je 0x4d23a6
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x4d23bd
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004aec98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d248c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x74], 0
jne 0x4d248c
test ebx, ebx
jle 0x4d245c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004af4e8
test al, al
je 0x4d2418
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004af4e8
test al, al
jne 0x4d248c
cmp dword [ebp - 0xc], 0
je 0x4d244c
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov cl, 1
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x4d248c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004aee10
jmp 0x4d248c
cmp dword [ebp - 0xc], 0
je 0x4d247e
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov cl, 1
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xbc]
jmp 0x4d248c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004aee10
cmp dword [ebp - 0x18], 0
jle 0x4d24df
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004211d0
mov eax, dword [ebp - 0x18]
dec eax
je 0x4d24a9
dec eax
je 0x4d24c5
jmp 0x4d24df
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x48]
jmp 0x4d24df
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x114]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2502
cmp dword [ebp - 0x18], 0
jle 0x4d24fa
lea eax, [ebp - 0xc]
call fcn.004105b8
ret