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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
mov ebp, dword [eax + 4]
cmp dword [ebp + 0x358], 0
lea edi, [ebp + 0x2e8]
jle 0x4d5038
xor edx, edx
mov ecx, 0x68
mov dword [esp + 4], edx
lea edx, [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memset
test esi, 1
mov eax, 3
je 0x4d4c8f
mov eax, dword [ebx]
mov dword [esp + 0x60], eax
test esi, 2
mov eax, 0xffffffff
je 0x4d4ca3
mov eax, dword [ebx + 4]
mov dword [esp + 0x64], eax
test esi, 4
je 0x4d4f70
mov eax, dword [ebx + 8]
mov dword [esp + 0x68], eax
test esi, 8
mov eax, 1
je 0x4d4cca
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x6c], eax
test esi, 0x10
je 0x4d4f67
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x70], eax
test esi, 0x20
je 0x4d4f60
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x74], eax
test esi, 0x40
je 0x4d4f52
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x78], eax
mov ecx, esi
test cl, cl
jns 0x4d4f47
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x7c], eax
test esi, 0x100
je 0x4d4f40
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x80], eax
test esi, 0x200
je 0x4d4f37
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x84], eax
test esi, 0x400000
mov eax, 1
je 0x4d4d54
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x88], eax
test esi, 0x400
je 0x4d4f30
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x8c], eax
test esi, 0x800
je 0x4d4f27
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x90], eax
test esi, 0x1000
je 0x4d4f20
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x94], eax
test esi, 0x2000
je 0x4d4f10
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x98], eax
test esi, 0x4000
je 0x4d4f00
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x9c], eax
mov eax, esi
and eax, 0x8000
test ax, ax
je 0x4d4ec7
mov eax, dword [ebx + 0x40]
mov dword [esp + 0xa0], eax
test esi, 0x10000
mov eax, 1
je 0x4d4df3
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xa4], eax
test esi, 0x20000
je 0x4d4ef7
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xa8], eax
test esi, 0x40000
je 0x4d4ef0
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0xac], eax
test esi, 0x80000
je 0x4d4ee7
mov eax, dword [ebx + 0x50]
mov dword [esp + 0xb0], eax
test esi, 0x100000
je 0x4d4ee0
mov eax, dword [ebx + 0x54]
mov dword [esp + 0xb4], eax
test esi, 0x200000
je 0x4d4ed0
movzx eax, byte [ebx + 0x58]
mov byte [esp + 0xb8], al
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0x5c]
mov edx, dword [eax]
mov dword [esp + 0xbc], edx
mov edx, eax
mov eax, dword [eax + 8]
mov dword [esp + 0xc0], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call dword [ebp + 0x318]
mov edx, dword [esp + 0x5c]
test edx, edx
mov dword [esp + 0x2c], eax
jne 0x4d4f77
mov ebx, dword [eax + 0xc]
inc dword [ebx + 8]
mov eax, dword [ebx]
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x4d4ddc
mov cl, 4
mov byte [esp + 0xb8], cl
jmp 0x4d4e65
xor eax, eax
jmp 0x4d4e4b
xor eax, eax
jmp 0x4d4e35
xor eax, eax
jmp 0x4d4e1f
xor eax, eax
jmp 0x4d4e09
xor edx, edx
mov dword [esp + 0x9c], edx
jmp 0x4d4dc9
xor ecx, ecx
mov dword [esp + 0x98], ecx
jmp 0x4d4db3
xor eax, eax
jmp 0x4d4d96
xor eax, eax
jmp 0x4d4d80
xor eax, eax
jmp 0x4d4d6a
xor eax, eax
jmp 0x4d4d3d
xor eax, eax
jmp 0x4d4d27
xor edx, edx
mov dword [esp + 0x7c], edx
jmp 0x4d4d18
mov ecx, 1
mov dword [esp + 0x78], ecx
jmp 0x4d4d07
xor eax, eax
jmp 0x4d4cf0
xor eax, eax
jmp 0x4d4cdd
xor eax, eax
jmp 0x4d4cb6
mov dword [esp], 0x10
mov eax, dword [0x5ecbec]
call dword [eax + 0x14]
mov edx, dword [esp + 0xf0]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4d5088
mov edx, dword [esp + 0xbc]
mov ecx, eax
mov dword [esp + 8], esi
lea edi, [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0xc], edi
call fcn.005071b0
mov dword [ebx], eax
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0x5c]
mov dword [ebx + 8], 1
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebx]
mov dword [esp + 4], eax
lea eax, [ebp + 0x320]
mov dword [esp], eax
call dword [ebp + 0x350]
mov edx, dword [esp + 0x5c]
test edx, edx
mov esi, eax
je 0x4d50c4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ecx + 0xc], ebx
mov dword [esi + 0xc], ebx
je 0x4d4eba
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00507950
jmp 0x4d4eba
jl 0x4d5115
mov eax, 1
lea edi, [ebp + 0x2e8]
mov dword [ebp + 0x358], eax
mov eax, 0x1a
mov dword [esp + 4], eax
mov eax, dword [0x5ecbec]
mov dword [esp], edi
call dword [eax + 0x2dc]
mov eax, 1
mov dword [esp + 4], eax
lea eax, [ebp + 0x320]
mov dword [esp], eax
mov eax, dword [0x5ecbec]
call dword [eax + 0x2dc]
jmp 0x4d4c65
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov ecx, dword [edx + 0x88]
lea eax, [eax + eax*4]
shl eax, 4
cmp edi, dword [eax + ecx + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edi
jne 0x4d50d8
mov ecx, dword [eax + ecx + 8]
jmp 0x4d4fa9
mov dword [esp], 0x5d2bc8
mov eax, dword [0x5ecbec]
call dword [eax + 0x10]
jmp 0x4d5006
mov eax, dword [esp + 0x4c]
mov ecx, 1
mov edi, 1
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [edx + 0x88]
mov eax, dword [ecx + eax + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00507840
mov dword [esp + 0x58], eax
jmp 0x4d4fa0
mov dword [esp], 0x5d2bea
mov eax, dword [0x5ecbec]
call dword [eax + 0x10]
jmp 0x4d503e