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

Disassembly:
push 0xffffffffffffffff
push 0x44829b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x458ad0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458ad0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc8]
lea eax, [esp + 0x6c]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x40], ebp
mov edi, edx
mov dword [esp + 0x3c], ebx
call fcn.00411640
mov dword [esp + 0xc0], 1
cmp byte [esp + 0xcc], bl
je 0x4126f3
mov eax, dword [esi + 4]
jmp 0x4126f5
mov eax, dword [esi]
mov edx, dword [esi + 0xa4]
lea ecx, [esp + 0x40]
push ecx
push edi
push eax
call edx
add esp, 0xc
cmp eax, ebx
je 0x41276c
push ebp
lea edi, [esp + 0x70]
call fcn.00412b60
mov esi, 0x10
cmp dword [esp + 0xb0], esi
jb 0x412733
mov eax, dword [esp + 0x9c]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x94], esi
jb 0x412765
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0041e1fe
add esp, 4
mov eax, ebp
jmp 0x412ada
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x412771
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0x84]
call fcn.004051d0
lea edx, [esp + 0x44]
push edx
call fcn.0040d410
lea eax, [esp + 0x44]
mov byte [esp + 0xc0], 2
mov ecx, dword [esp + 0x40]
push eax
push ecx
push esi
call fcn.004121f0
push 7
push str.st_size
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004051d0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x68]
mov byte [esp + 0xc4], 3
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x48]
push eax
lea esi, [esp + 0x4c]
call fcn.00413860
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4127f9
cmp eax, ebp
je 0x4127fe
call fcn.004293c8
cmp dword [esi + 4], edi
mov esi, 0x10
setne byte [esp + 0x1b]
mov byte [esp + 0xc0], 2
cmp dword [esp + 0x34], esi
jb 0x412826
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041e1fe
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x41289b
push 7
push str.st_size
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004051d0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
call fcn.004136f0
cmp dword [eax + 0x18], esi
jb 0x41286c
mov eax, dword [eax + 4]
jmp 0x41286f
add eax, 4
push eax
call fcn.0042c690
add esp, 4
mov byte [esp + 0xc0], 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
cmp dword [esp + 0x34], esi
jb 0x41289b
mov eax, dword [esp + 0x20]
push eax
call fcn.0041e1fe
add esp, 4
push 7
push str.st_ifmt
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004051d0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x68]
mov byte [esp + 0xc4], 5
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x48]
push edx
lea esi, [esp + 0x4c]
call fcn.00413860
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4128ea
cmp eax, ebp
je 0x4128ef
call fcn.004293c8
cmp dword [esi + 4], edi
mov ebp, 0x10
setne byte [esp + 0x1b]
mov byte [esp + 0xc0], 2
cmp dword [esp + 0x34], ebp
jb 0x412917
mov eax, dword [esp + 0x20]
push eax
call fcn.0041e1fe
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x412a65
push 7
mov esi, 0xf
push str.st_ifmt
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004051d0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 6
call fcn.004136f0
cmp dword [eax + 0x18], ebp
jb 0x412962
mov eax, dword [eax + 4]
jmp 0x412965
add eax, 4
mov ecx, str.S_IFDIR
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412990
cmp dl, bl
je 0x41298c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412990
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x412970
xor eax, eax
jmp 0x412995
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete byte [esp + 0x1b]
mov byte [esp + 0xc0], 2
cmp dword [esp + 0x34], ebp
jb 0x4129b7
mov edx, dword [esp + 0x20]
push edx
call fcn.0041e1fe
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4129c5
mov dword [esp + 0x6c], 2
push 7
push str.st_ifmt
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004051d0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 7
call fcn.004136f0
cmp dword [eax + 0x18], ebp
jb 0x412a01
mov eax, dword [eax + 4]
jmp 0x412a04
add eax, 4
mov ecx, str.S_IFREG
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x412a30
cmp dl, bl
je 0x412a2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x412a30
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x412a10
xor eax, eax
jmp 0x412a35
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete byte [esp + 0x1b]
mov byte [esp + 0xc0], 2
cmp dword [esp + 0x34], ebp
jb 0x412a57
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041e1fe
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x412a65
mov dword [esp + 0x6c], 1
mov esi, dword [esp + 0x3c]
push esi
lea edi, [esp + 0x70]
call fcn.00412b60
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x3c], 1
mov byte [esp + 0xc4], 1
call fcn.0040c5b0
cmp dword [esp + 0xb0], ebp
jb 0x412aa6
mov eax, dword [esp + 0x9c]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0x94], ebp
jb 0x412ad8
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0041e1fe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00428e93
add esp, 0xb0
ret 8