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

Disassembly:
push 0xffffffffffffffff
push 0x422b64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.004104b0
mov esi, dword [esp + 0x25c]
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x258], ebx
call fcn.00410190
mov edi, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 1
call fcn.004104e0
push eax
mov ecx, edi
call fcn.00410180
push eax
call dword [0x425284]
test eax, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], bl
setl byte [esp + 0xf]
call fcn.004101e0
cmp byte [esp + 0xf], bl
je 0x40fbec
lea ecx, [esp + 0x18]
mov dword [esp + 0x254], 0xffffffff
call fcn.004104c0
xor al, al
jmp 0x4100bf
push ebp
push 0x42a4e0
push esi
mov byte [esp + 0x1b], bl
call dword [0x425130]
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x40fc4d
push ebp
push 4
lea eax, [esp + 0x2c]
push 1
push eax
mov byte [esp + 0x34], bl
mov dword [esp + 0x35], ebx
call dword [0x425108]
add esp, 0x10
mov ecx, 4
mov edi, 0x42ba14
lea esi, [esp + 0x24]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40fc3a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40fc43
mov byte [esp + 0x13], 1
push ebp
call dword [0x425114]
add esp, 4
mov edi, dword [esp + 0x268]
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.00404890
mov ecx, dword [esp + 0x264]
mov ebp, eax
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], ebp
call fcn.00410230
lea edx, [esp + 0x24]
mov ecx, esi
push edx
mov byte [esp + 0x25c], 2
call fcn.00410650
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], bl
call fcn.004065a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.004104d0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x40fe52
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.004104d0
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
push 0xffffffffffffffff
push eax
call dword [ecx + 0x24]
cmp dword [esp + 0x14], ebx
je 0x40fd7a
lea ecx, [esp + 0xb8]
call fcn.004106d0
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0x42b9f4
lea ecx, [esp + 0x78]
mov byte [esp + 0x268], 3
call fcn.00410330
mov ecx, eax
call fcn.004102d0
mov ecx, eax
call fcn.004102f0
push eax
lea ecx, [esp + 0x28]
call fcn.00410280
mov ecx, eax
mov byte [esp + 0x258], 4
call fcn.00404740
push eax
lea ecx, [esp + 0x24]
call fcn.00401d10
lea edx, [esp + 0x20]
push edx
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], 3
call fcn.004065a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x258], bl
call fcn.00410770
mov eax, dword [esp + 0x14]
push eax
call dword [0x425288]
lea ecx, [esp + 0xb8]
call fcn.004100e0
mov esi, eax
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0x260], 5
call fcn.004104f0
add esp, 8
push esi
push eax
lea eax, [esp + 0x80]
lea ecx, [esp + 0x70]
push eax
push 0x42b9e8
mov byte [esp + 0x268], 6
call fcn.004103b0
mov ecx, eax
call fcn.00410350
mov ecx, eax
call fcn.00410390
push eax
lea ecx, [esp + 0x24]
call fcn.00401d10
lea ecx, [esp + 0x20]
push ecx
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], 5
call fcn.004065a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x258], bl
call fcn.004100f0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], ebp
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x38]
mov dword [esp + 0x48], ecx
push edx
mov ecx, edi
mov dword [esp + 0x50], ebx
call fcn.004105f0
lea ecx, [esp + 0x1c]
call fcn.004104d0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
cmp byte [esp + 0x13], bl
jne 0x4100a8
lea ecx, [esp + 0x1c]
call fcn.004104d0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x24], eax
jbe 0x4100a8
push ebx
lea ecx, [esp + 0x24]
call fcn.00410470
lea ecx, [esp + 0x1c]
mov byte [esp + 0x258], 7
call fcn.004104d0
mov esi, eax
lea ecx, [esp + 0x20]
mov ebp, dword [esi]
call fcn.004104a0
push eax
push edi
push esi
call dword [ebp + 0x10]
test eax, eax
jl 0x41008b
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00410490
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0xc]
test eax, eax
jl 0x41008b
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x28], 5
jne 0x410077
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.004104d0
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
push edi
push eax
call dword [ecx + 0x24]
cmp dword [esp + 0x18], ebx
je 0x40ffa4
lea ecx, [esp + 0x184]
call fcn.004106d0
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
push eax
push ecx
push 0x42b9c8
lea ecx, [esp + 0xb8]
mov byte [esp + 0x268], 8
call fcn.00410330
mov ecx, eax
call fcn.004102d0
mov ecx, eax
call fcn.004102f0
push eax
lea ecx, [esp + 0x6c]
call fcn.00410280
mov ecx, eax
mov byte [esp + 0x258], 9
call fcn.00404740
push eax
lea ecx, [esp + 0x30]
call fcn.00401d10
lea edx, [esp + 0x2c]
push edx
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x258], 8
call fcn.004065a0
lea ecx, [esp + 0x184]
mov byte [esp + 0x258], 7
call fcn.00410770
mov eax, dword [esp + 0x18]
push eax
call dword [0x425288]
lea ecx, [esp + 0xb8]
call fcn.004100e0
mov esi, eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x78]
push ecx
push edx
mov byte [esp + 0x260], 0xa
call fcn.004104f0
add esp, 8
push esi
push eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x40]
push eax
push 0x42b9e8
mov byte [esp + 0x268], 0xb
call fcn.004103b0
mov ecx, eax
call fcn.00410350
mov ecx, eax
call fcn.00410390
push eax
lea ecx, [esp + 0x34]
call fcn.00401d10
lea ecx, [esp + 0x30]
push ecx
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x258], 0xa
call fcn.004065a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x258], 7
call fcn.004100f0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], edx
push ebx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x26c]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 1
call fcn.00410630
lea ecx, [esp + 0x20]
call fcn.00410490
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x4c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x258], bl
call fcn.00410480
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jb 0x40fe79
lea ecx, [esp + 0x1c]
mov dword [esp + 0x258], 0xffffffff
call fcn.004104c0
mov al, 1
pop ebp
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret