Function at 0x41a790
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x48b7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor esi, esi
push eax
mov ecx, 0x4a6290
mov dword [esp + 0x18], esi
call fcn.00413120
test eax, eax
je 0x41ae60
mov dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x14]
push 1
call fcn.00415600
mov ecx, dword [esp + 0x14]
push 1
call fcn.00415630
cmp dword [esp + 0x2c], esi
je 0x41a834
mov ecx, dword [esp + 0x14]
push esi
call fcn.00415630
mov ebx, dword [esp + 0xe8]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00415630
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00415650
mov dword [esp + 0x2c], esi
jmp 0x41a854
mov ecx, dword [esp + 0x14]
push 1
call fcn.00415630
mov ecx, dword [esp + 0x14]
push 1
call fcn.00415630
mov ecx, dword [esp + 0x14]
push esi
call fcn.00415630
mov ecx, dword [esp + 0x14]
call fcn.00415550
mov ecx, dword [esp + 0x14]
call fcn.004155e0
mov ebp, eax
mov al, byte [ebp + 4]
add ebp, 4
cmp al, 1
je 0x41ade2
cmp al, 4
je 0x41ae5b
cmp al, 2
jne 0x41ab24
mov dl, byte [esp + 0x12]
inc ebp
xor ecx, ecx
mov byte [esp + 0x1c], dl
mov cl, byte [ebp]
inc ebp
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov al, byte [esp + 0x12]
push esi
lea ecx, [esp + 0xa4]
mov dword [esp + 0xe4], esi
mov byte [esp + 0xa4], al
call fcn.004024d0
lea ecx, [esp + 0x12]
mov byte [esp + 0xe0], 1
push ecx
lea ecx, [esp + 0xb4]
call fcn.0041aeb0
cmp edi, esi
mov byte [esp + 0xe0], 2
jle 0x41aa41
mov dword [esp + 0x18], edi
mov dl, byte [esp + 0x12]
xor ebx, ebx
mov bl, byte [ebp]
push 0
lea ecx, [esp + 0x94]
inc ebp
mov byte [esp + 0x94], dl
call fcn.004024d0
push 1
push ebx
lea ecx, [esp + 0x98]
call fcn.00402900
test al, al
je 0x41a947
mov edi, dword [esp + 0x94]
mov ecx, ebx
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x94]
call fcn.004028e0
mov ecx, dword [0x49014c]
lea edx, [esp + 0x90]
push ecx
push 0
push edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0xec], 3
call fcn.0040f3e0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xe4], 2
call fcn.004024d0
mov al, byte [esp + 0x12]
add ebp, ebx
xor ebx, ebx
push 0
mov bl, byte [ebp]
lea ecx, [esp + 0x84]
inc ebp
mov byte [esp + 0x84], al
call fcn.004024d0
push 1
push ebx
lea ecx, [esp + 0x88]
call fcn.00402900
test al, al
je 0x41a9dc
mov edi, dword [esp + 0x84]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x84]
call fcn.004028e0
mov eax, dword [0x49014c]
lea ecx, [esp + 0x80]
push eax
push 0
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0xec], 4
call fcn.0040f3e0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 2
call fcn.004024d0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xa0]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
add ebp, ebx
call fcn.0041af10
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x41a8ef
xor esi, esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x41aaad
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 5
je 0x41aaad
push 0xac
call fcn.0047e9c2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0xe0], 5
je 0x41aa7c
mov ecx, eax
call fcn.00422c00
mov edi, eax
jmp 0x41aa7e
xor edi, edi
cmp edi, esi
mov byte [esp + 0xe0], 2
je 0x41aaad
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.00422f00
test eax, eax
je 0x41adfc
mov ecx, edi
call fcn.00423020
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe4], 7
call fcn.004024d0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe4], 0
call fcn.004024d0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov dword [esp + 0xe0], 0xffffffff
mov edi, eax
je 0x41ab06
push 0
mov ecx, esi
call fcn.0041b370
add esi, 0x20
cmp esi, edi
jne 0x41aaf2
mov esi, dword [esp + 0x20]
push esi
call fcn.0047e190
xor eax, eax
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor esi, esi
jmp 0x41a7d4
cmp al, 3
jne 0x41ae5b
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
inc ebp
call fcn.004024d0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0xe4], 8
call fcn.0041aeb0
mov al, byte [esp + 0x13]
xor ebx, ebx
mov bl, byte [ebp]
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xe4], 9
inc ebp
mov byte [esp + 0x64], al
call fcn.004024d0
push 1
push ebx
lea ecx, [esp + 0x68]
call fcn.00402900
test al, al
je 0x41abad
mov edi, dword [esp + 0x64]
mov ecx, ebx
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x64]
call fcn.004028e0
xor esi, esi
mov eax, dword [0x49014c]
lea ecx, [esp + 0x60]
push eax
push esi
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xec], 0xa
call fcn.0040f3e0
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0xe4], 9
call fcn.004024d0
mov dl, byte [esp + 0x13]
add ebp, ebx
xor ebx, ebx
push esi
mov bl, byte [ebp]
lea ecx, [esp + 0x74]
inc ebp
mov byte [esp + 0x74], dl
call fcn.004024d0
push 1
push ebx
lea ecx, [esp + 0x78]
call fcn.00402900
test al, al
je 0x41ac29
mov edi, dword [esp + 0x74]
mov ecx, ebx
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
call fcn.004028e0
xor esi, esi
mov ecx, dword [0x49014c]
lea edx, [esp + 0x70]
push ecx
push esi
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 0xb
call fcn.0040f3e0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xe4], 9
call fcn.004024d0
mov eax, dword [esp + 0x58]
add ebp, ebx
cmp eax, esi
je 0x41acaa
push esi
push 1
sub esp, 0x10
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004023b0
sub esp, 0x10
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0xe8], esp
push edx
mov byte [esp + 0x10c], 0xc
call fcn.004023b0
mov ecx, 0x4a6290
mov byte [esp + 0x108], 9
call fcn.00412b80
lea ecx, [esp + 0xc4]
call fcn.0041b990
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc4]
push eax
mov byte [esp + 0xe4], 0xd
call fcn.0041bb40
mov cl, byte [esp + 0x13]
xor eax, eax
mov al, byte [ebp]
inc ebp
mov byte [esp + 0x30], cl
push eax
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00402840
mov edx, dword [0x49014c]
lea eax, [esp + 0x30]
push edx
push esi
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xec], 0xe
call fcn.0040f3e0
mov eax, dword [esp + 0x34]
mov byte [esp + 0xe0], 0xd
cmp eax, esi
je 0x41ad3f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41ad36
cmp al, 0xff
je 0x41ad36
dec al
mov byte [ecx], al
jmp 0x41ad3f
push ecx
call fcn.0047e190
add esp, 4
lea ecx, [esp + 0x40]
push esi
push ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.0041d600
lea ecx, [esp + 0xc4]
mov byte [esp + 0xe0], 9
call fcn.0041baf0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xe0], 0xffffffff
cmp eax, esi
je 0x41ada1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41ad98
cmp al, 0xff
je 0x41ad98
dec al
mov byte [ecx], al
jmp 0x41ada1
push ecx
call fcn.0047e190
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], esi
cmp ecx, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
je 0x41add1
mov al, byte [ecx - 1]
test al, al
je 0x41adc7
cmp al, 0xff
je 0x41adc7
dec al
mov byte [ecx - 1], al
jmp 0x41add1
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
jmp 0x41a7d4
mov ecx, 0x4a6258
call fcn.00404c10
mov ecx, 0x4a6290
call fcn.00412a00
push esi
call fcn.0047f5e2
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe4], 6
call fcn.004024d0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe4], 0
call fcn.004024d0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp edi, ebx
mov dword [esp + 0xe0], 0xffffffff
je 0x41ae52
push esi
mov ecx, edi
call fcn.0041b370
add edi, 0x20
cmp edi, ebx
jne 0x41ae3f
mov edi, dword [esp + 0x20]
push edi
call fcn.0047e190
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd4
ret 4