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

Disassembly:
push 0xffffffffffffffff
push 0x41828b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov al, byte [esp + 2]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
push ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x4c], al
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x50]
call fcn.00408a80
mov cl, byte [esp + 0x12]
push ebp
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], 1
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x20]
call fcn.00408a80
mov dl, byte [esp + 0x12]
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 2
mov byte [esp + 0x3c], dl
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x40]
call fcn.00408a80
mov edi, dword [0x419048]
push 0x7d0
mov byte [esp + 0xc0], 3
call edi
mov eax, dword [esi + 0x90]
mov ebx, 4
cmp eax, ebx
jne 0x402da1
push 0x36ee80
mov dword [esi + 0x90], ebp
call edi
mov esi, dword [esp + 0xc4]
mov al, byte [esp + 0x18]
push ebp
mov ecx, esi
mov byte [esi], al
call fcn.00408720
mov ecx, dword [0x419158]
lea edx, [esp + 0x18]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.00408200
mov dword [esp + 0x14], 1
jmp 0x402f82
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call fcn.00405fd0
lea ecx, [esi + 0x7c]
push eax
lea edx, [esp + 0xa8]
push ecx
push edx
mov byte [esp + 0xc8], bl
call fcn.00409520
push 0x41c1cc
push eax
lea eax, [esp + 0xa8]
mov byte [esp + 0xd0], 5
push eax
call fcn.00409650
add esp, 0x18
mov ecx, dword [0x419158]
mov byte [esp + 0xbc], 6
push ecx
push ebp
push eax
lea ecx, [esp + 0x54]
call fcn.00408200
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 5
call fcn.00408720
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc0], bl
call fcn.00408720
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 3
call fcn.00408720
push 2
lea edx, [esp + 0x16]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
push 0x41c1c4
call fcn.00407ca0
sub esp, 0x10
lea eax, [esp + 0x37]
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
push 0x41c1bc
mov byte [esp + 0xe8], 7
call fcn.00407ca0
mov ecx, esi
mov byte [esp + 0xe0], 3
call fcn.00401720
mov ecx, esi
call fcn.00405b90
push ebp
lea edx, [esp + 0x4c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call fcn.00407b80
lea eax, [esp + 0x70]
push ebp
push eax
mov ecx, esi
call fcn.00401dd0
mov ecx, dword [0x419158]
mov byte [esp + 0xbc], 8
push ecx
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.00408200
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 3
call fcn.00408720
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
call fcn.00403360
mov ecx, dword [0x419158]
mov byte [esp + 0xbc], 9
push ecx
push ebp
push eax
lea ecx, [esp + 0x44]
call fcn.00408200
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 3
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
push edx
push ebp
lea ecx, [esp + 0x48]
call fcn.0040a050
cmp eax, ebp
jne 0x402fc0
mov edx, dword [esi + 0x90]
mov al, byte [esp + 0x38]
inc edx
push ebp
mov dword [esi + 0x90], edx
mov esi, dword [esp + 0xc8]
mov ecx, esi
mov byte [esi], al
call fcn.00408720
mov ecx, dword [0x419158]
lea edx, [esp + 0x38]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.00408200
mov dword [esp + 0x14], 1
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc0], 2
call fcn.00408720
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 1
call fcn.00408720
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 0
call fcn.00408720
jmp 0x40320f
lea eax, [esp + 0x28]
mov ecx, esi
push eax
mov dword [esi + 0x90], ebp
call fcn.00403230
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x88], cl
lea ecx, [esp + 0x88]
mov byte [esp + 0xc0], 0xa
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x8c]
call fcn.00408a80
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0xc0], 0xb
mov byte [esp + 0x74], dl
call fcn.00408720
mov edi, 0x41f420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41f420
lea ecx, [esp + 0x78]
call fcn.00408a80
mov eax, dword [esp + 0x2c]
mov bl, 0xc
cmp eax, ebp
mov byte [esp + 0xbc], bl
mov dword [esp + 0x58], ebp
jne 0x403065
mov eax, 0x419160
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
push edx
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call fcn.00407400
mov ecx, dword [0x419158]
mov byte [esp + 0xbc], 0xd
push ecx
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.00408200
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], bl
call fcn.00408720
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, ebp
jbe 0x403108
cmp eax, esi
mov ecx, dword [esp + 0x2c]
jb 0x4030d4
cmp ecx, ebp
je 0x4030d4
lea ecx, [esp + 0x28]
call fcn.004084b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea edi, [ecx + esi]
jmp 0x4030d9
mov edi, 0x419160
cmp eax, esi
jb 0x4030f3
cmp ecx, ebp
je 0x4030f3
lea ecx, [esp + 0x28]
call fcn.004084b0
mov edx, dword [esp + 0x2c]
lea eax, [edx + esi]
jmp 0x4030f8
mov eax, 0x419160
mov cl, byte [edi]
xor cl, 0x6b
inc esi
mov byte [eax], cl
mov eax, dword [esp + 0x30]
cmp eax, esi
ja 0x4030b4
mov edx, dword [0x419158]
lea eax, [esp + 0x28]
push edx
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.00408200
mov esi, dword [esp + 0xc4]
mov cl, byte [esp + 0x18]
push ebp
mov byte [esi], cl
mov ecx, esi
call fcn.00408720
mov edx, dword [0x419158]
lea eax, [esp + 0x18]
push edx
push ebp
push eax
mov ecx, esi
call fcn.00408200
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], 1
mov byte [esp + 0xc0], 0xb
call fcn.00408720
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xc0], 0xa
call fcn.00408720
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc0], 3
call fcn.00408720
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
je 0x4031af
mov al, byte [ecx - 1]
test al, al
je 0x4031a5
cmp al, 0xff
je 0x4031a5
dec al
mov byte [ecx - 1], al
jmp 0x4031af
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
cmp ecx, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
je 0x4031df
mov al, byte [ecx - 1]
test al, al
je 0x4031d5
cmp al, 0xff
je 0x4031d5
dec al
mov byte [ecx - 1], al
jmp 0x4031df
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebp
cmp ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x40320f
mov al, byte [ecx - 1]
test al, al
je 0x403205
cmp al, 0xff
je 0x403205
dec al
mov byte [ecx - 1], al
jmp 0x40320f
dec ecx
push ecx
call fcn.0040d580
add esp, 4
mov ecx, dword [esp + 0xb4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret 4