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

Disassembly:
push 0xffffffffffffffff
push 0x42aa58
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x28], ecx
call fcn.004052d0
push eax
mov dword [esp + 0x84], 0
call fcn.0040a830
mov ebx, eax
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
mov dword [esp + 0x34], ebx
je 0x408f55
push 0
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004149be
mov eax, dword [edi + 4]
test eax, eax
jbe 0x408f33
cmp eax, 0xffffffff
jae 0x408f33
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.004149df
test esi, esi
je 0x408f55
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea esi, [esp + 0x58]
mov ecx, ebx
call fcn.00409d50
mov edi, 1
mov dword [esp + 0x80], edi
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
xor esi, esi
mov byte [esp + 0x20], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
mov byte [esp + 0x80], 2
mov al, byte [ebp]
cmp al, 0x2b
je 0x408fa3
cmp al, 0x2d
mov dword [esp + 0x1c], esi
jne 0x408fa7
mov dword [esp + 0x1c], edi
call fcn.00415d0a
mov ecx, dword [eax]
mov edi, dword [esp + 0xac]
mov dl, byte [ecx]
push edi
push 0x65
push ebp
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0
call fcn.004160a0
add esp, 0xc
mov dword [esp + 0x14], eax
movsx eax, byte [esp + 0x18]
push edi
push eax
push ebp
call fcn.004160a0
mov ebx, eax
add esp, 0xc
cmp ebx, esi
jne 0x408ff4
mov dword [esp + 0xa8], esi
jmp 0x408ffb
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x70]
cmp ecx, 0x10
mov edx, dword [esp + 0x5c]
mov eax, edx
jae 0x40900e
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x409164
cmp ecx, 0x10
mov eax, edx
jae 0x409022
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x409164
push edi
push ebp
lea eax, [esp + 0x44]
call fcn.00406de0
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x40904c
push 0x30
push esi
lea ecx, [esp + 0x44]
call fcn.00407d70
jmp 0x409078
test ebx, ebx
jne 0x40906a
mov ecx, dword [esp + 0xa0]
push 0x30
push ecx
lea ecx, [esp + 0x44]
call fcn.00407d70
mov dword [esp + 0xa0], ebx
push 0x30
push esi
sub edi, ebp
lea esi, [esp + 0x44]
call fcn.00409b10
test ebx, ebx
push 0x30
jne 0x409091
mov edx, dword [esp + 0xa4]
push edx
lea ecx, [esp + 0x44]
call fcn.00407d70
jmp 0x4090c3
mov eax, dword [esp + 0xa8]
sub ebx, ebp
push eax
lea edi, [ebx + 1]
lea esi, [esp + 0x44]
call fcn.00409b10
mov ecx, dword [esp + 0xa0]
push 0x30
push ecx
mov edi, ebx
call fcn.00409b10
mov dword [esp + 0xa4], 0
mov ebp, dword [esp + 0x5c]
mov eax, 0x10
cmp dword [esp + 0x70], eax
mov dword [esp + 0xa0], 0
jae 0x4090e1
lea ebp, [esp + 0x5c]
cmp dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
jae 0x4090ef
lea eax, [esp + 0x40]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00415d30
mov edi, eax
mov al, byte [ebp]
add esp, 8
cmp al, 0x7f
je 0x409136
test al, al
jle 0x409136
mov ecx, edi
sub ecx, dword [esp + 0x1c]
movsx eax, al
cmp eax, ecx
jae 0x409136
push 0
sub edi, eax
push 1
lea esi, [esp + 0x44]
call fcn.00409b10
cmp byte [ebp + 1], 0
jle 0x40912f
add ebp, 1
mov al, byte [ebp]
cmp al, 0x7f
jne 0x409106
cmp dword [esp + 0x54], 0x10
mov ebp, dword [esp + 0x40]
jae 0x409145
lea ebp, [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa8], 0
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xac], edx
mov edi, edx
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [edx + 0x18]
add eax, esi
add eax, edi
test ecx, ecx
jle 0x40918f
cmp ecx, eax
jbe 0x40918f
sub ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x409197
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x409296
cmp eax, 0x100
je 0x4091fe
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov bl, byte [esp + 0x98]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
call fcn.00409900
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x4092ab
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x90]
jbe 0x409251
mov ecx, dword [esp + 0x8c]
push ebp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], edx
lea edx, [esp + 0x38]
mov dword [eax + 8], ecx
push edx
mov eax, 1
call fcn.00409c00
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x14
add ebp, 1
sub edi, 1
mov dword [esp + 0xac], edi
jmp 0x40925f
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov bl, byte [esp + 0x98]
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
call fcn.00409900
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x4092ab
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov ecx, dword [esp + 0xac]
movsx edx, byte [esp + 0x18]
push ecx
push edx
push ebp
call fcn.004160a0
add esp, 0xc
test eax, eax
je 0x409393
mov ecx, dword [esp + 0x20]
sub eax, ebp
add eax, 1
mov dword [esp + 0x1c], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], edi
push edx
mov eax, ebp
call fcn.00409c80
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00409900
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [edx + 4]
add esp, 0x10
call eax
mov cl, al
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
lea edx, [esp + 0x34]
push edx
mov eax, 1
mov bl, cl
call fcn.00409900
mov edx, dword [eax]
add esp, 4
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00409900
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
add esp, 0x10
add ebp, eax
sub dword [esp + 0xac], eax
mov edx, dword [esp + 0xac]
push edx
push 0x65
push ebp
call fcn.004160a0
add esp, 0xc
test eax, eax
je 0x409460
mov ecx, dword [esp + 0x20]
sub eax, ebp
add eax, 1
mov dword [esp + 0x34], eax
push ecx
add eax, 0xffffffff
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea edx, [esp + 0x3c]
mov dword [eax + 8], edi
push edx
mov eax, ebp
call fcn.00409c80
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00409900
mov edx, dword [esp + 0x34]
add esp, 0x10
test byte [edx + 0x10], 4
mov dword [esp + 0xa8], 0
mov ecx, 0x42ec64
jne 0x409423
mov ecx, 0x42ec68
mov edx, dword [eax]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x38]
push ecx
mov eax, 1
call fcn.00409c00
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x48]
add esp, 0x14
add ebp, eax
sub dword [esp + 0xac], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xac]
push edx
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ebx
lea ecx, [esp + 0x3c]
mov dword [eax + 8], edi
push ecx
mov eax, ebp
call fcn.00409c80
mov edx, dword [eax]
add esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x34]
push ecx
mov bl, 0x30
call fcn.00409900
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov bl, byte [esp + 0xa8]
add esp, 4
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x20]
push esi
call fcn.00409900
mov edi, 0x10
add esp, 0x10
cmp dword [esp + 0x54], edi
jb 0x409501
mov edx, dword [esp + 0x40]
push edx
call fcn.00415d05
add esp, 4
xor eax, eax
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], eax
mov byte [esp + 0x40], al
jb 0x409526
mov eax, dword [esp + 0x5c]
push eax
call fcn.00415d05
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00415883
add esp, 0x70
ret