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

Disassembly:
push 0xffffffffffffffff
push 0x522d42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov al, byte [esp + 7]
push ebx
push ebp
push esi
push edi
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
mov byte [esp + 0x1c], al
call fcn.00405cc0
mov ebp, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x154], ebp
call fcn.0048a5e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0048a5e0
mov cl, byte [esp + 0x17]
push 0
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 3
call fcn.00405cc0
mov dl, byte [0x55802c]
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], dl
mov ebx, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ecx
mov ecx, dword [esp + 0x168]
stosb byte es:[edi], al
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x15c], bl
call fcn.00497a20
lea ecx, [esp + 0x14]
call fcn.0048a8d0
lea ecx, [esp + 0x10]
call fcn.0048ab50
test ax, ax
jne 0x41fb3c
mov esi, dword [esp + 0x15c]
mov cl, byte [esp + 0x18]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00405cc0
mov edx, dword [0x531160]
lea eax, [esp + 0x18]
push edx
push 0
push eax
mov ecx, esi
call fcn.00407be0
mov dword [esp + 0x2c], ebp
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 3
call fcn.00405cc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 1
call fcn.0048a720
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 0
call fcn.00405cc0
jmp 0x41ffff
push 0
lea ecx, [esp + 0x14]
call fcn.0048a9e0
cmp al, 0x7f
jne 0x41fc13
mov edi, 0x54a154
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00408220
test al, al
je 0x41fb93
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x54a154
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00408200
mov esi, dword [esp + 0x15c]
mov al, byte [esp + 0x18]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00405cc0
mov ecx, dword [0x531160]
lea edx, [esp + 0x18]
push ecx
push 0
push edx
mov ecx, esi
call fcn.00407be0
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 1
mov byte [esp + 0x158], 3
call fcn.00405cc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 2
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 1
call fcn.0048a720
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 0
call fcn.00405cc0
jmp 0x41ffff
mov edi, dword [esp + 0x160]
push ebx
mov ecx, edi
call fcn.0048a9e0
movzx si, al
push 5
mov ecx, edi
shl esi, 8
call fcn.0048a9e0
movzx ax, al
lea ecx, [esp + 0x10]
add esi, eax
call fcn.0048ab50
cmp ax, bp
jle 0x41febe
and esi, 0xffff
cmp esi, ebx
ja case.default.0x41fc58
jmp dword [esi*4 + 0x42001c]
push 5
lea ecx, [esp + 0x14]
call fcn.0048a9e0
push ecx
cmp al, 6
mov ecx, esp
jne 0x41fcbf
mov dword [esp + 0x2c], esp
push 6
push 0x54a510
call fcn.0048a680
lea ecx, [esp + 0x48]
push ecx
call fcn.0049de10
add esp, 8
mov edx, dword [0x531160]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
mov byte [esp + 0x160], 5
call fcn.00407be0
push ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x158], bl
call fcn.00405cc0
jmp 0x41ff04
mov dword [esp + 0x2c], esp
push 6
push 0x54a508
call fcn.0048a680
lea eax, [esp + 0x78]
push eax
call fcn.0049de10
add esp, 8
mov ecx, dword [0x531160]
mov byte [esp + 0x154], 6
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00407be0
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x158], bl
call fcn.00405cc0
jmp 0x41ff04
push 7
lea ecx, [esp + 0x14]
call fcn.0048a9e0
push ecx
cmp al, 0x19
mov ecx, esp
jne 0x41fd6d
mov dword [esp + 0x2c], esp
push 6
push 0x54a510
call fcn.0048a680
lea edx, [esp + 0x58]
push edx
call fcn.0049de10
add esp, 8
mov ecx, dword [0x531160]
mov byte [esp + 0x154], 7
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00407be0
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x158], bl
call fcn.00405cc0
jmp 0x41ff04
mov dword [esp + 0x2c], esp
push 6
push 0x54a508
call fcn.0048a680
lea edx, [esp + 0x68]
push edx
call fcn.0049de10
add esp, 8
mov ecx, dword [0x531160]
mov byte [esp + 0x154], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.00407be0
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x154], bl
test ecx, ecx
je 0x41ff04
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x41fdcd
cmp al, 0xff
je 0x41fdcd
dec al
mov byte [ecx], al
jmp 0x41ff04
push ecx
call fcn.00514120
add esp, 4
jmp 0x41ff04
push 9
lea ecx, [esp + 0x14]
call fcn.0048a9e0
and eax, 0xff
lea edx, [esp + 0x84]
push eax
push 0x549394
push edx
call fcn.00514b75
add esp, 0xc
jmp 0x41ff04
push ebx
lea ecx, [esp + 0x14]
call fcn.0048a9e0
and eax, 0xff
lea ecx, [esp + 0x10]
push eax
push 3
call fcn.0048a9e0
and eax, 0xff
lea ecx, [esp + 0x14]
push eax
push 2
call fcn.0048a9e0
and eax, 0xff
push eax
lea eax, [esp + 0x90]
push str._2d_2d_2d
push eax
call fcn.00514b75
add esp, 0x14
jmp 0x41ff04
push ebx
lea ecx, [esp + 0x14]
call fcn.0048a9e0
and eax, 0xff
lea ecx, [esp + 0x10]
push eax
push 3
call fcn.0048a9e0
and eax, 0xff
lea ecx, [esp + 0x14]
push eax
push 2
call fcn.0048a9e0
and eax, 0xff
lea ecx, [esp + 0x8c]
push eax
push str._2d_2d_2d
push ecx
call fcn.00514b75
add esp, 0x14
jmp 0x41ff04
mov edi, 0x5493cc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00408220
test al, al
je 0x41ff04
jmp 0x41fedf
mov edi, 0x5493cc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00408220
test al, al
je 0x41ff04
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x5493cc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41ff56
lea edi, [esp + 0x84]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.00408220
test al, al
je 0x41ff56
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x84]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x15c]
mov cl, byte [esp + 0x18]
xor edi, edi
lea eax, [esp + 0x18]
mov byte [esi], cl
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov edx, dword [0x531160]
mov ecx, esi
push edx
push edi
push eax
call fcn.00407be0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], 1
cmp ecx, edi
je 0x41ffad
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x41ffa4
cmp al, 0xff
je 0x41ffa4
dec al
mov byte [ecx], al
jmp 0x41ffad
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov byte [esp + 0x154], 2
call fcn.0048a720
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 1
call fcn.0048a720
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x41ffff
mov al, byte [ecx - 1]
test al, al
je 0x41fff5
cmp al, 0xff
je 0x41fff5
dec al
mov byte [ecx - 1], al
jmp 0x41ffff
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x14c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x148
ret 0xc