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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
test eax, eax
je 0x4d4752
mov edx, 0x4d4a88
call fcn.0048535c
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4d4755
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov edx, 0x4d4a9c
call fcn.0048535c
mov ebx, eax
jmp 0x4d4755
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
je 0x4d47f6
cmp ebx, 0xffffffff
je 0x4d47f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
cmp byte [eax + 0x24], 0
je 0x4d47f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00410670
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f8], edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov ebx, dword [eax + 0xc]
mov edx, dword [edi + 0x74]
mov eax, ebx
call fcn.00419e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov dl, byte [eax + 0x78]
mov eax, ebx
call fcn.00419f58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov edx, dword [eax + 0x70]
mov eax, ebx
call fcn.00419eb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov eax, dword [eax + 0x2c]
call fcn.00419fb4
mov edx, eax
mov eax, ebx
call fcn.00419fbc
jmp 0x4d4844
cmp ebx, 0xffffffff
je 0x4d481c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00410670
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f8], eax
jmp 0x4d4827
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1f8], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
call fcn.0043cb50
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x254], eax
mov eax, esi
call fcn.0043c5e4
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
dec edi
sub edi, ebx
jl 0x4d48d8
inc edi
mov edx, ebx
mov eax, esi
call fcn.0043c5f4
cmp byte [eax + 0x32], 0
je 0x4d48d4
mov edx, ebx
mov eax, esi
call fcn.0043c5f4
call fcn.0043c5cc
test eax, eax
je 0x4d48a1
mov edx, ebx
mov eax, esi
call fcn.0043c5f4
call fcn.0043c5cc
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, ebx
mov eax, esi
call fcn.0043c5f4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4d1520]
call fcn.004d1a18
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.00410514
inc ebx
dec edi
jne 0x4d486d
push ebp
call fcn.004d467c
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
je 0x4d4a21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x278]
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x20c], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x210], ecx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, ebx
sub eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
pop edx
sub eax, edx
lea ecx, [ebp - 0x14]
mov edx, dword [edi + 0x18]
call fcn.0040f9f0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x214], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x218], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, esi
sub eax, dword [edi + 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
sub edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [edi + 0x1c]
call fcn.0040f9f0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x21c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x220], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, esi
sub eax, dword [edi + 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
sub edx, eax
mov eax, ebx
sub eax, dword [edi + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
pop ecx
sub eax, ecx
lea ecx, [ebp - 0x14]
call fcn.0040f9f0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x224], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x228], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
sub esi, dword [edi + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
sub eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
sub ebx, dword [edi + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
sub ecx, ebx
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x2c]
call fcn.0040fa08
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x24]
lea edi, [eax + 0x22c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
jmp 0x4d4a5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
sub eax, 3
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
sub ecx, 3
mov edx, 3
mov eax, 3
call fcn.0040fa08
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x24]
lea edi, [eax + 0x22c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004d5378
mov eax, dword [ebp - 4]
cmp dword [eax + 0x260], 0
je 0x4d4a76
mov eax, dword [ebp - 4]
call fcn.004d409c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret