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

Disassembly:
push 0xffffffffffffffff
push 0x4176b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x41c0f8]
push ebx
push esi
mov esi, dword [esp + 0xb4]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xc], ecx
jne 0x408142
or eax, 0xffffffff
jmp 0x4084f9
mov eax, dword [ecx + 0x18]
cmp dword [ecx], eax
push ebp
push edi
jge 0x4084f4
mov ebp, 0xf
jmp 0x408161
mov esi, dword [esp + 0xbc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xbc], 1
call fcn.00407090
cmp eax, 0xffffffff
je 0x4084e2
cmp dword [esp + 0x68], ebx
je 0x4081bd
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4081b5
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00405d90
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x4081cc
lea eax, [esp + 0x3c]
cmp byte [eax], 0x2f
je 0x408445
push 0x4c
call fcn.0040f510
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xb4], 4
je 0x4081fb
push esi
mov ecx, eax
call fcn.00409570
mov esi, eax
jmp 0x4081fd
xor esi, esi
cmp esi, ebx
mov byte [esp + 0xb4], 1
je 0x4084e2
mov edx, dword [esp + 0x50]
cmp edx, 0x10
mov edi, dword [esp + 0x3c]
mov ecx, edi
jae 0x408220
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0x4c]
cmp byte [ecx + eax - 1], 0x2f
jne 0x408328
push 1
dec eax
push eax
lea ecx, [esp + 0x40]
call fcn.00406280
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov eax, dword [esp + 0x50]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xb4], 5
jae 0x40826b
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
call fcn.004076f0
cmp eax, 0xffffffff
je 0x4084d0
cmp dword [esp + 0x88], edi
mov edx, dword [esp + 0x74]
jae 0x408298
lea edx, [esp + 0x74]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4082a0
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x2c]
call fcn.00406930
mov eax, dword [esp + 0x88]
mov esi, 0x10
cmp eax, esi
jb 0x4082d0
mov eax, dword [esp + 0x74]
push eax
call fcn.0040f50b
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x4082f5
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040f50b
add esp, 4
cmp dword [esp + 0x50], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0xb4], 0xffffffff
jb 0x40831f
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040f50b
add esp, 4
mov esi, dword [esp + 0x14]
jmp 0x408429
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
cmp edx, 0x10
mov byte [esp + 0xb4], 6
mov eax, edi
jae 0x408350
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
push edx
push eax
call fcn.004076f0
cmp eax, 0xffffffff
je 0x4084d6
cmp dword [esp + 0xa4], 0x10
mov edx, dword [esp + 0x90]
jae 0x408387
lea edx, [esp + 0x90]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408390
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x2c]
call fcn.00406930
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00408100
test eax, eax
jne 0x4084d6
mov eax, dword [esp + 0xa4]
mov edi, 0x10
cmp eax, edi
jb 0x4083d7
mov eax, dword [esp + 0x90]
push eax
call fcn.0040f50b
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x4083ff
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0040f50b
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov dword [esp + 0xb4], 0xffffffff
jb 0x408429
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040f50b
add esp, 4
mov eax, dword [esi]
cmp eax, dword [esi + 0x18]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jl 0x408156
jmp 0x4084f4
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc0], 2
call fcn.00406640
push 1
push ebx
lea ecx, [esp + 0x78]
call fcn.00406280
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00406b70
lea ecx, [esp + 0x70]
push ecx
push eax
mov byte [esp + 0xbc], 3
call fcn.00406480
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13], al
call fcn.00406250
cmp byte [esp + 0x13], bl
lea ecx, [esp + 0x70]
jne 0x4084dd
call fcn.00406250
lea ecx, [esp + 0x54]
call fcn.00406250
lea ecx, [esp + 0x38]
call fcn.00406250
xor eax, eax
jmp 0x4084f7
lea ecx, [esp + 0x70]
jmp 0x4084dd
lea ecx, [esp + 0x8c]
call fcn.00406250
lea ecx, [esp + 0x54]
call fcn.00406250
lea ecx, [esp + 0x38]
call fcn.00406250
or eax, 0xffffffff
pop edi
pop ebp
mov ecx, dword [esp + 0xa4]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x9c]
pop ebx
call fcn.0040f5ac
add esp, 0xa8
ret 4