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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x500
mov ecx, dword [eax + 0x30]
push ebx
push ebp
lea ebp, [eax + 0x14]
push esi
push edi
mov dword [0x6d68d0], ecx
mov eax, 0xcf2a2c
mov edx, ebp
xor ecx, ecx
mov cx, word [edx]
mov dword [eax - 0x14], ecx
mov cx, word [edx]
mov word [eax + 6], cx
xor ecx, ecx
mov cx, word [edx + 2]
mov dword [eax], ecx
mov dword [eax - 0x10], 1
mov cx, word [0xcf4774]
cmp cx, 0xc8
jb 0x4d70f4
cmp cx, 0xcf
jae 0x4d70f4
mov esi, dword [eax - 0x14]
xor ecx, ecx
mov cx, word [0xcf4776]
cmp esi, ecx
jne 0x4d70f4
lea edi, [eax + 4]
mov ecx, 0x12
mov esi, 0xcf4774
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
add eax, 0x74
add edx, 4
cmp eax, 0xcf2d58
jl 0x4d70a1
mov ecx, 0xced988
call fcn.0052cfe0
xor ebx, ebx
mov bx, word [ebp + 0x20]
cmp ebx, 0x3e8
je 0x4d73fc
mov eax, 0xceda68
or esi, 0xffffffff
mov ecx, 0xa
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
add eax, 0x88
dec ecx
jne 0x4d712a
cmp eax, 0xcf2a18
jl 0x4d7125
test ebx, ebx
jle 0x4d73f2
mov edx, dword [esp + 0x514]
mov dword [esp + 0x24], ebx
lea edi, [edx + 0x44]
mov dword [esp + 0x1c], edi
xor eax, eax
xor ecx, ecx
mov al, byte [edi]
mov cl, byte [edi + 1]
mov esi, eax
xor ebp, ebp
mov bp, word [edi - 2]
and ecx, 0xff
test esi, esi
mov dword [esp + 0x2c], ecx
jl 0x4d73dc
cmp esi, 0x96
jge 0x4d73dc
push ebp
mov ecx, 0xced988
call fcn.0053bf30
test eax, eax
je 0x4d73dc
mov eax, 0x66666667
mov ecx, 0xa
imul esi
sar edx, 2
mov eax, edx
lea edi, [esp + 0x3e0]
shr eax, 0x1f
add edx, eax
mov eax, esi
mov ebx, edx
lea esi, [esp + 0x48]
cdq
idiv ecx
mov ecx, 0x4c
mov dword [esp + 0x3dc], ebp
lea eax, [esp + 0x3dc]
mov dword [esp + 0x28], ebx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], edx
xor edx, edx
mov dword [esp + 0xc6], edx
mov dword [esp + 0xca], edx
mov dword [esp + 0xce], edx
mov byte [esp + 0xd2], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0xced988
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x4d73d8
mov eax, dword [esp + 0x18]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ecx*8 + 0xceda92]
mov dword [esp + 0x14], edx
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x1f2], eax
lea esi, [esp + 0x178]
mov dword [esp + 0x1f6], eax
lea edi, [esp + 0x2ac]
mov dword [esp + 0x1fa], eax
mov dword [esp + 0x2a8], ebp
mov byte [esp + 0x1fe], al
lea edx, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2a8]
mov dword [esp + 0x10], 0
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x34], edx
jle 0x4d735d
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [ebx - 0x2a], ebp
mov word [ebx], bp
mov dword [ebx - 0x26], eax
xor eax, eax
mov dword [ebx - 0x22], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1f2], eax
inc ecx
mov dword [esp + 0x1f6], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1fa], eax
mov ecx, 0x4c
lea esi, [esp + 0x178]
lea edi, [esp + 0x2ac]
mov byte [esp + 0x1fe], al
mov dword [esp + 0x2a8], ebp
mov dword [ebx - 0x1e], edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2a8]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, 0xced988
add ebx, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x4d72c8
mov edi, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0xc2], edx
mov ebx, dword [esp + 0x20]
add edi, 0x550
mov dword [esp + 0xc6], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0xca], edx
mov ecx, 0x4c
lea esi, [esp + 0x48]
lea edi, [esp + 0x3e0]
mov byte [esp + 0xce], dl
mov dword [esp + 0x3dc], ebp
lea eax, [esp + 0x3dc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
push eax
inc ebx
push ecx
mov ecx, 0xced988
mov dword [esp + 0x28], ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
jl 0x4d7255
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add edi, 0xc
dec eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jne 0x4d7166
mov ecx, 0xced988
call fcn.00524080
mov ecx, 0xced988
mov dword [0xa233a8], 1
call fcn.0052d360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x500
ret