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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x5801c8]
test edi, edi
jne 0x4dd943
push esi
call fcn.0048cbe0
mov eax, dword [0x5814e0]
mov ecx, dword [0x585050]
push 4
push eax
push ecx
call fcn.004a6640
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4ddf06
lea edx, [esp + 0xe0]
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call fcn.00409680
add esp, 0xc
test eax, eax
je 0x4dd973
mov edi, dword [0x5801c8]
test edi, edi
je 0x4dd91c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.004465c0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x38]
push ecx
push esi
push edx
call fcn.00446650
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
add esp, 0x18
mov dword [esp + 0x28], eax
mov eax, dword [0x5801c8]
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jne 0x4dda06
mov ebx, dword [edi]
push edi
or bh, 2
mov dword [edi], ebx
call fcn.0048cbe0
mov eax, dword [edi]
add esp, 4
and ah, 0xfd
mov dword [edi], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4dda34
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5801cc]
test eax, eax
je 0x4dda8b
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], eax
push ecx
push eax
call fcn.0043fdb0
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [0x584ab4]
lea ecx, [esp + 0xbc]
push eax
mov eax, dword [0x584ab0]
push ecx
push 0
push edx
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
call fcn.0049e9a0
add esp, 0x28
test eax, eax
je 0x4ddab6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [0x5814e8]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push 0x40
push esi
push edx
call fcn.004a7320
add esp, 0x1c
test eax, eax
jne 0x4ddf06
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4ddb2b
mov ecx, dword [0x585050]
push ecx
push esi
call fcn.00489f30
add esp, 8
test eax, eax
je 0x4ddae0
push 1
push esi
call fcn.004ac0f0
add esp, 8
push esi
call fcn.0046e160
mov al, byte [esi]
add esp, 4
test al, 0x80
je 0x4ddb15
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jne 0x4ddb01
mov edx, dword [esi + 0xc]
mov dword [esp + 0xc], edx
push esi
push eax
mov eax, dword [esi + 0xc]
push eax
call fcn.004a7ac0
mov eax, dword [esi]
add esp, 0xc
and al, 0x7f
mov dword [esi], eax
mov eax, dword [esp + 0xc]
push esi
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
call fcn.0046e160
add esp, 4
mov eax, dword [esi + 0xc]
lea edx, [eax + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x80]
mov edx, dword [edx + 0xc]
push ecx
mov dword [esp + 0x80], edx
lea edx, [esp + 0x74]
push eax
push edx
call fcn.0043f950
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00418ba0
fstp qword [esp + 0x5c]
lea edx, [esp + 0x84]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00418a80
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xb0], eax
fstp qword [ecx]
mov eax, dword [esi]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xa8]
and eax, 3
add esp, 0x1c
cmp al, 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x40568000
je 0x4ddc15
mov dword [esp + 0x14], 0x4070e000
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xb0]
push ecx
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.00418c70
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xbc], edx
push eax
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00418980
lea ecx, [esp + 0x3c]
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.00418a80
fcomp qword [0x584ab0]
add esp, 0x28
fnstsw ax
test ah, 0x41
je 0x4ddcbd
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ddcbd
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
test ah, 1
jne 0x4ddef7
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x48], 0
mov ecx, dword [ebx]
and ecx, 0xe00
cmp ecx, 0x400
jne 0x4ddd9e
lea edx, [ebx + 0x10]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xc4], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xc8], eax
mov ecx, dword [edx + 0xc]
lea edx, [ebx + 0x30]
mov dword [esp + 0xcc], ecx
mov eax, dword [edx]
mov dword [esp + 0xd0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0xd4], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xc0]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x2c]
mov dword [esp + 0xdc], ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00418cd0
lea edx, [esp + 0x38]
push ebx
push edx
fstp st(0)
call fcn.0049f030
add esp, 0x14
test eax, eax
je 0x4ddeb2
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push esi
call fcn.004ddf20
add esp, 0x14
test eax, eax
je 0x4ddcb4
jmp 0x4ddeb2
lea ecx, [ebx + 0x30]
push 0
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0043f9f0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x4ddf06
lea ecx, [esp + 0x50]
push ecx
push eax
push ebx
call fcn.0045e6d0
mov edx, dword [esp + 0x1c]
mov edi, eax
push edx
call fcn.00488710
add esp, 0x10
test edi, edi
jle 0x4ddeb2
cmp edi, 2
jne 0x4dddfc
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.0049f030
add esp, 8
test eax, eax
jne 0x4dddfc
mov edi, 1
lea ecx, [esp + 0x50]
push ebx
push ecx
call fcn.0049f030
add esp, 8
test eax, eax
jne 0x4dde36
dec edi
cmp edi, 1
jne 0x4dde36
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
jmp 0x4dde8f
test edi, edi
jle 0x4ddeb2
cmp edi, 2
jne 0x4dde8f
lea eax, [esp + 0x50]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00418a80
fstp qword [esp + 0x18]
lea edx, [esp + 0x68]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00418a80
fcomp qword [esp + 0x20]
add esp, 0x10
fnstsw ax
test ah, 1
je 0x4dde8f
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
push esi
call fcn.004ddf20
add esp, 0x14
test eax, eax
je 0x4ddcb4
mov edi, dword [esp + 0x48]
push edi
call fcn.004815e0
add esp, 4
test eax, eax
je 0x4dded7
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
cmp ebx, eax
je 0x4ddef7
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
jmp 0x4ddee9
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
je 0x4ddef7
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x44], ebx
inc edi
cmp edi, 0xa
mov dword [esp + 0x48], edi
jl 0x4ddcde
push 2
push 0x5814ec
call fcn.00547180
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret