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

Disassembly:
push 0xffffffffffffffff
push 0x4a6e14
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov esi, dword [esp + 0x128]
mov ebp, dword [esp + 0x124]
push str.__b_f_n_r_t
xor ebx, ebx
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], ebx
call fcn.004735e0
add esp, 8
test eax, eax
jne 0x44015c
cmp byte [esi], bl
mov ecx, esi
je 0x4400cd
nop
movzx eax, byte [ecx]
sub al, 1
mov dl, 0x1e
cmp dl, al
sbb eax, eax
add eax, 1
add ecx, 1
cmp al, bl
jne 0x44015c
cmp byte [ecx], bl
jne 0x4400b0
push 1
mov edi, 0xf
push 0x4b1438
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404230
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x128], ebx
call fcn.0043c550
push 0x4b1438
push eax
push ebp
mov byte [esp + 0x134], 1
call fcn.0043c550
mov ebp, 0x10
add esp, 0x18
cmp dword [esp + 0x54], ebp
jb 0x440134
mov edx, dword [esp + 0x40]
push edx
call fcn.00470259
add esp, 4
cmp dword [esp + 0x30], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
jb 0x440153
mov eax, dword [esp + 0x1c]
push eax
call fcn.00470259
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x44043c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x440161
sub eax, edx
lea eax, [eax + eax + 3]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
cmp eax, 0xf
mov dword [esp + 0x11c], 2
mov ebp, 0x10
je 0x4401d1
push 1
push eax
lea ecx, [esp + 0xfc]
call fcn.00403b00
test al, al
je 0x4401d1
cmp dword [esp + 0x10c], ebp
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x108], ebx
jae 0x4401cf
lea eax, [esp + 0xf8]
mov byte [eax], bl
push 1
push 0x4b1438
lea ecx, [esp + 0xfc]
call fcn.00405990
cmp byte [esi], bl
mov edi, esi
je 0x4403eb
mov edi, edi
mov al, byte [edi]
movsx ecx, al
add ecx, 0xfffffff8
cmp ecx, 0x54
ja case.0x440208.11
movzx ecx, byte [ecx + 0x440484]
jmp dword [ecx*4 + 0x440464]
push 2
push 0x4b1434
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b1430
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b142c
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b1428
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b1424
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b1420
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
push 2
push 0x4b141c
lea ecx, [esp + 0xfc]
call fcn.00405990
jmp 0x4403e0
mov dl, al
sub dl, 1
cmp dl, 0x1e
ja 0x4403d1
push 1
push 2
lea ecx, [esp + 0x7c]
call fcn.00407950
lea eax, [esp + 0x74]
push 0x4b1418
push eax
mov byte [esp + 0x124], 3
call fcn.0043fa80
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4402f6
xor eax, eax
jmp 0x4402fd
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
cmp esi, ebx
mov dword [eax + 0x10], edx
jne 0x440317
xor eax, eax
jmp 0x44031e
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x10], 4
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x34]
add eax, esi
push 4
push edx
mov byte [eax + 0x30], 0x30
call fcn.0048ec77
mov ecx, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push edx
push ecx
call eax
movsx ecx, byte [edi]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0043fee0
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x78]
call fcn.00404fe0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x128], 4
call fcn.004057e0
cmp dword [esp + 0x70], ebp
jb 0x440390
mov eax, dword [esp + 0x5c]
push eax
call fcn.00470259
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x11c], 2
call fcn.004032c0
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0xc4], 0x4af4f8
call fcn.0048ea57
add esp, 4
jmp 0x4403e0
push eax
push 1
lea ecx, [esp + 0xfc]
call fcn.004058e0
add edi, 1
cmp byte [edi], bl
jne 0x4401f0
push 1
push 0x4b1438
lea ecx, [esp + 0xfc]
call fcn.00405990
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xfc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00404150
cmp dword [esp + 0x10c], ebp
jb 0x44043a
mov eax, dword [esp + 0xf8]
push eax
call fcn.00470259
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.00470220
add esp, 0x10c
ret