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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x2e]
lea esi, [esp + 0x8c]
lea edx, [esp + 0x38]
push eax
push ecx
push esi
push dword [ebp + 0x10]
push edx
call fcn.00510750
add esp, 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0x49cff0
mov dword [esp + 0x60], 0x516ec8
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x4dd8a1
mov dword [esp + 0x48], 1
lea eax, [esp + 0x44]
push eax
call fcn.004baef0
add esp, 4
lea ecx, [esp + 0x18]
push 0
push 0xa
call fcn.004eecc0
test byte [esp + 0x18], 1
lea eax, [esp + 0x19]
je 0x4dd4ca
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x34], 0
mov byte [esp + 0xb], 1
mov byte [esp + 0x17], 0x45
mov dword [esp + 0x24], eax
lea eax, [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
jmp 0x4dd506
add eax, 2
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dl, 1
test ecx, ecx
je 0x4dd530
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
je 0x4dd540
movzx eax, word [eax]
jmp 0x4dd557
mov edi, dword [esp + 4]
jmp 0x4dd574
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 2
call eax
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 4]
xor edx, edx
cmp ax, 0xffff
jne 0x4dd574
lea eax, [ebp + 8]
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x30], 0
mov dword [eax], 0
lea eax, [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x4dd5d2
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4dd5a0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4dd5c9
test dl, dl
jne 0x4dd5dc
jmp 0x4dd712
mov eax, dword [ecx]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 3
mov dword [esp + 0x10], ecx
call eax
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x78]
cmp ax, 0xffff
jne 0x4dd592
lea eax, [ebp + 0xc]
mov dword [eax], 0
xor ecx, ecx
test dl, dl
jne 0x4dd712
movzx eax, byte [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, eax
mov edx, esi
shr ecx, 1
test al, 1
cmove edx, ecx
add edx, edi
cmp dword [esp + 0x28], edx
jne 0x4dd65d
test al, 1
cmove esi, ecx
mov dword [esp + 4], esi
lea eax, [esi + esi]
mov dword [esp + 0x48], 4
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004eecc0
test byte [esp + 0x18], 1
mov eax, 0xa
je 0x4dd630
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004eecc0
test byte [esp + 0x18], 1
lea edi, [esp + 0x19]
je 0x4dd653
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 4]
add eax, edi
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], edi
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4dd680
movzx eax, word [eax]
jmp 0x4dd693
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 6
call eax
mov edi, dword [esp + 4]
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x2c]
mov dword [esp + 0x48], 7
movzx eax, ax
lea esi, [esp + 0x8c]
push esi
lea esi, [esp + 0x38]
push esi
lea esi, [esp + 0x2c]
push esi
lea esi, [esp + 0xd8]
push esi
lea esi, [esp + 0x48]
push esi
push edx
push ecx
lea ecx, [esp + 0x44]
push ecx
push edi
lea ecx, [esp + 0x3b]
push ecx
lea ecx, [esp + 0x33]
push ecx
push eax
call fcn.005103a0
add esp, 0x30
test eax, eax
jne 0x4dd70a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x4dd500
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x48], 8
call eax
jmp 0x4dd506
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x10], ecx
test al, 1
je 0x4dd754
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0xb], 0
je 0x4dd75d
test eax, eax
je 0x4dd75d
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xcc]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x9f
jg 0x4dd75d
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov dword [esp + 0x24], edx
mov dword [eax], ecx
jmp 0x4dd75d
shr eax, 1
cmp byte [esp + 0xb], 0
jne 0x4dd72a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], 9
push dword [ebp + 0x14]
push eax
push edi
call fcn.004ff2d0
add esp, 0xc
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
mov eax, dword [ebp + 0x18]
movsd qword [eax], xmm0
push dword [ebp + 0x14]
push dword [esp + 0x28]
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0047c060
add esp, 0x10
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4dd7c2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esi + 0x10]
je 0x4dd7d3
movzx eax, word [eax]
jmp 0x4dd7f0
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dl, 1
test ecx, ecx
jne 0x4dd7fc
jmp 0x4dd858
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xa
mov ecx, esi
call eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp ax, 0xffff
je 0x4dd81b
test ecx, ecx
je 0x4dd858
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc], esi
cmp eax, dword [ecx + 0x10]
je 0x4dd82e
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4dd84b
mov esi, dword [esp + 0xc]
test dl, dl
je 0x4dd85c
jmp 0x4dd862
lea eax, [ebp + 8]
xor esi, esi
mov dl, 1
mov dword [eax], 0
test ecx, ecx
jne 0x4dd7fc
jmp 0x4dd858
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xb
call eax
mov edx, dword [esp + 4]
cmp ax, 0xffff
jne 0x4dd811
mov esi, dword [esp + 0xc]
lea eax, [ebp + 0xc]
mov dword [eax], 0
test dl, dl
je 0x4dd862
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x18], 1
je 0x4dd875
push dword [esp + 0x20]
call fcn.00493cf0
add esp, 4
test byte [esp + 0x38], 1
je 0x4dd888
push dword [esp + 0x40]
call fcn.00493cf0
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.004baf50
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14