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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor edi, edi
xor ecx, ecx
push edi
mov word [esp + 0x3c], cx
mov ebx, 7
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edi
call fcn.004052d0
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x44]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x40ddc1
call fcn.00453b08
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x40ddd0
lea eax, [esp + 0x34]
cmp word [eax + esi*2], 0x5c
je 0x40dde4
push 0x5c
push 1
lea ecx, [esp + 0x38]
call fcn.0040a480
lea ecx, [esp + 0x18]
call fcn.00404060
xor edx, edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
mov byte [esp + 0x78], 2
mov ecx, dword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x14], edi
cmp ecx, edi
jbe 0x40de98
cmp esi, ecx
jbe 0x40de20
call fcn.00453b08
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x40de33
lea eax, [esp + 0x34]
cmp word [eax + esi*2], 0x5c
je 0x40de58
cmp esi, ecx
jbe 0x40de43
call fcn.00453b08
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x40de51
lea eax, [esp + 0x34]
movzx eax, word [eax + esi*2]
push eax
jmp 0x40de84
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404190
cmp esi, dword [esp + 0x44]
jbe 0x40de71
call fcn.00453b08
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x40de7f
lea eax, [esp + 0x34]
movzx edx, word [eax + esi*2]
push edx
push 1
lea ecx, [esp + 0x54]
call fcn.0040a480
mov ecx, dword [esp + 0x44]
inc esi
cmp esi, ecx
jb 0x40de20
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x40dea7
call fcn.00453b08
mov edi, dword [esp + 0x18]
jmp 0x40deb0
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], ebx
jbe 0x40debf
call fcn.00453b08
test edi, edi
je 0x40dec9
cmp edi, dword [esp + 0x18]
je 0x40dece
call fcn.00453b08
cmp esi, ebx
je 0x40df2a
test edi, edi
jne 0x40def2
call fcn.00453b08
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40dee7
call fcn.00453b08
cmp dword [esi + 0x18], 8
jb 0x40def6
mov eax, dword [esi + 4]
jmp 0x40def9
mov eax, dword [edi]
jmp 0x40dedd
lea eax, [esi + 4]
push 0
push eax
call dword [0x50f1e0]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
test edi, edi
jne 0x40df26
call fcn.00453b08
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40df21
call fcn.00453b08
add esi, 0x1c
jmp 0x40deb0
mov eax, dword [edi]
jmp 0x40df17
mov ebx, 8
cmp dword [esp + 0x64], ebx
jb 0x40df42
mov eax, dword [esp + 0x50]
push eax
call fcn.00453344
add esp, 4
mov esi, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
test esi, esi
je 0x40dfaa
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x40df9d
add esi, 0x18
lea esp, [esp]
cmp dword [esi], ebx
jb 0x40df80
mov edx, dword [esi - 0x14]
push edx
call fcn.00453344
add esp, 4
xor eax, eax
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x40df70
mov edx, dword [esp + 0x24]
push edx
call fcn.00453344
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00453344
add esp, 4
cmp dword [esp + 0x48], ebx
jb 0x40dfd8
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00453344
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00453735
mov esp, ebp
pop ebp
ret