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

Disassembly:
push 0xffffffffffffffff
push 0x421fe4
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x428060]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x428060]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
push 1
mov ebx, edx
push 0x425088
push ebx
mov esi, ecx
call fcn.00409620
cmp eax, 0xffffffff
mov edi, 0xf
setne cl
xor eax, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], eax
mov byte [esp + 0x78], al
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], eax
mov byte [esp + 0x94], al
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], eax
mov byte [esp + 0xb0], al
mov dword [esp + 0x130], eax
cmp cl, al
jne 0x40d62f
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd4], al
call fcn.00401d00
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x74]
push eax
push ecx
push edi
call fcn.0040e260
mov ecx, esi
mov ebx, eax
call fcn.0040ebc0
mov dword [edi + 4], ebx
mov edx, dword [ebx + 4]
mov dword [edx], ebx
jmp 0x40d8fe
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov byte [esp + 0x24], al
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x134], 2
call fcn.0040dcb0
test al, al
jne 0x40d6ab
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x40d679
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040f38f
add esp, 4
xor ebx, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], esi
jb 0x40d69a
mov edx, dword [esp + 0x40]
push edx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jmp 0x40d8fe
xor ebx, ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x13c], 3
call fcn.00401d00
lea edi, [esp + 0x58]
call fcn.0040d170
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov edi, dword [esi]
mov ebp, eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [esp + 0x1c], ecx
cmp edi, ebx
je 0x40d6f5
cmp edi, eax
je 0x40d6fa
call fcn.0040f353
cmp ebp, dword [esp + 0x1c]
je 0x40d7d7
cmp edi, ebx
jne 0x40d75d
call fcn.0040f353
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x40d719
call fcn.0040f353
cmp byte [ebp + 0x5c], bl
je 0x40d743
cmp edi, ebx
jne 0x40d761
call fcn.0040f353
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x40d733
call fcn.0040f353
lea edx, [ebp + 0x24]
lea eax, [esp + 0x58]
call fcn.0040a9c0
test al, al
jne 0x40d769
cmp edi, ebx
jne 0x40d765
call fcn.0040f353
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x40d758
call fcn.0040f353
mov ebp, dword [ebp]
jmp 0x40d6e4
mov eax, dword [edi]
jmp 0x40d70f
mov eax, dword [edi]
jmp 0x40d729
mov eax, dword [edi]
jmp 0x40d74e
cmp edi, ebx
jne 0x40d7d3
call fcn.0040f353
xor edi, edi
cmp ebp, dword [edi + 0x14]
jne 0x40d77e
call fcn.0040f353
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x40]
call fcn.00401d00
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40d7a6
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040f38f
add esp, 4
mov edi, 0xf
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x38], esi
jb 0x40d67b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040f38f
add esp, 4
jmp 0x40d67b
mov edi, dword [edi]
jmp 0x40d774
mov eax, 0xf
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov dword [esp + 0x11c], eax
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
mov byte [esp + 0x138], 4
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x12c], 1
call fcn.00401d00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x110]
call fcn.00401d00
lea edi, [esp + 0x3c]
call fcn.0040d170
push 0xffffffffffffffff
push ebx
mov edx, edi
push edx
lea ecx, [esp + 0xf4]
call fcn.00401d00
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 4]
lea eax, [esp + 0xcc]
push eax
push ecx
push edi
call fcn.0040e260
mov ecx, esi
mov ebp, eax
call fcn.0040ebc0
mov dword [edi + 4], ebp
mov edx, dword [ebp + 4]
mov dword [edx], ebp
inc dword [esi + 0x1c]
lea esi, [esp + 0xcc]
call fcn.0040d930
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40d8bb
mov eax, dword [esp + 0x5c]
push eax
call fcn.0040f38f
add esp, 4
mov edi, 0xf
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x38], esi
jb 0x40d8df
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040f38f
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], esi
jb 0x40d8fe
mov edx, dword [esp + 0x40]
push edx
call fcn.0040f38f
add esp, 4
lea esi, [esp + 0x74]
call fcn.0040d930
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0040efdf
add esp, 0x120
ret