Function at 0x460120
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x50
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x50], ebp
push dword [ebp + 8]
call fcn.00444aa0
pop ecx
jmp 0x46037c
mov byte [ebp - 0x44], 0
push 0xc
push dword [ebp - 0x50]
call dword [0x4ea7f4]
test eax, eax
jne 0x460386
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 4]
mov ebx, dword [eax]
push 4
push ebx
call dword [0x4ea7f4]
test eax, eax
jne 0x460386
cmp byte [ebx], 0xeb
jne 0x460317
cmp byte [ebx + 2], 0x90
jne 0x460317
add ebx, 3
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
add dword [ebp - 0x4c], 8
inc ebx
mov al, byte [ebx]
mov byte [ebp - 0x58], al
inc ebx
cmp byte [ebp - 0x58], 0
je 0x460220
movzx eax, byte [ebp - 0x58]
dec eax
cmp eax, 6
ja case.0x4601ac.3
jmp dword [eax*4 + 0x4c93b0]
inc ebx
mov al, byte [ebx]
inc ebx
movzx edx, al
add edx, dword [ebp - 0x4c]
mov esi, dword [edx]
movzx eax, al
add eax, dword [ebp - 0x4c]
mov dword [eax], 0
push esi
call fcn.00444b10
pop ecx
jmp 0x46018b
inc ebx
mov al, byte [ebx]
inc ebx
movzx ecx, al
add ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
movzx ecx, al
add ecx, dword [ebp - 0x4c]
mov dword [ecx], 0
push edx
call fcn.00444ab0
pop ecx
jmp 0x46018b
mov byte [ebp - 0x44], 1
jmp 0x46018b
push 0x7f
push str.win32exception.cpp
push 4
push 0x83
call fcn.0044a750
add esp, 0x10
jmp 0x46018b
cmp byte [ebx], 0xc9
jne 0x460231
cmp byte [ebx + 1], 0xc3
jne 0x460231
cmp byte [ebx + 2], 0x2f
je 0x460234
inc ebx
jmp 0x460220
add ebx, 3
mov al, byte [ebx]
mov byte [ebp - 0x58], al
inc ebx
cmp byte [ebp - 0x58], 0
je 0x460301
movzx eax, byte [ebp - 0x58]
sub eax, 4
cmp eax, 2
ja case.default.0x460253
jmp dword [eax*4 + 0x4c93a4]
push ebx
call fcn.0041f080
pop ecx
movsx ecx, ax
mov dword [ebp - 0x54], ecx
add ebx, 2
push ebx
call fcn.0041f0d0
pop ecx
lea edi, [eax + ebx]
add ebx, 4
cmp byte [ebp - 0x44], 0
jne case.default.0x460253
push dword [ebp - 0x54]
push dword [ebp + 8]
call fcn.004976f0
pop ecx
pop ecx
test al, al
je case.default.0x460253
push dword [ebp + 8]
call fcn.00444aa0
pop ecx
mov esi, dword [ebp - 0x48]
add esi, 0xfffffffc
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, edi
mov ebp, dword [ebp - 0x48]
jmp eax
push ebx
call fcn.0041f080
pop ecx
movsx eax, ax
add ebx, 2
mov edx, dword [ebp - 0x48]
add edx, eax
mov esi, dword [edx]
mov ecx, dword [ebp - 0x48]
add ecx, eax
mov dword [ecx], 0
push esi
call fcn.00444b10
pop ecx
jmp case.default.0x460253
push ebx
call fcn.0041f080
pop ecx
movsx eax, ax
add ebx, 2
mov edi, dword [ebp - 0x48]
add edi, eax
mov edx, dword [edi]
mov esi, dword [ebp - 0x48]
add esi, eax
mov dword [esi], 0
push edx
call fcn.00444ab0
pop ecx
jmp case.default.0x460253
mov eax, dword [ebp - 0x48]
add eax, 0xfffffffc
mov edx, dword [eax]
mov eax, dword [ebp - 0x48]
add eax, 0xfffffffc
mov dword [eax], 0
jmp 0x460364
lea edi, [ebp - 0x40]
mov esi, 0x4c9370
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x38]
mov esi, str.0123456789abcdef
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
movzx edx, byte [ebx]
sar edx, 4
mov al, byte [ebp + edx - 0x38]
mov byte [ebp - 0x40], al
movzx ecx, byte [ebx]
and ecx, 0xf
mov al, byte [ebp + ecx - 0x38]
mov byte [ebp - 0x3f], al
movzx edx, byte [ebx + 2]
sar edx, 4
mov al, byte [ebp + edx - 0x38]
mov byte [ebp - 0x3e], al
movzx ecx, byte [ebx + 2]
and ecx, 0xf
mov al, byte [ebp + ecx - 0x38]
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x50]
jb 0x460386
add eax, 0xfffff000
cmp eax, dword [ebp - 0x50]
ja 0x460386
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x460140
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x4f3f08
je 0x4604d0
push eax
call fcn.004a12e0
pop ecx
test al, al
je 0x4603b4
push 0xffffffffffffffff
push 0x4f18c0
call fcn.004ad650
pop ecx
pop ecx
jmp 0x4604f2
mov dword [ebp - 0x24], 0
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.00494710
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040bbd0
cmp dword [ebp - 0x20], 0
je 0x4603e2
mov ecx, dword [ebp - 0x20]
call fcn.0040b9e0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4603f3
mov ecx, eax
call fcn.0040b9a0
mov dword [ebp - 0x18], 0
push 0x4c939f
call fcn.0040ca30
pop ecx
push eax
push 0x4c939f
lea ecx, [ebp - 0x18]
call fcn.0040bb00
cmp dword [ebp - 0x18], 0
je 0x460424
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
add edx, 0x28
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46043d
mov ecx, eax
call fcn.0040b9a0
lea edi, [ebp - 0x14]
push edi
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x1c]
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.0043ff70
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040bbd0
cmp dword [ebp - 0x10], 0
je 0x46046f
mov ecx, dword [ebp - 0x10]
call fcn.0040b9e0
cmp dword [ebp - 0x14], 0
je 0x46047d
mov ecx, dword [ebp - 0x14]
call fcn.0040b9e0
cmp dword [ebp - 0x18], 0
je 0x46048b
mov ecx, dword [ebp - 0x18]
call fcn.0040b9e0
cmp dword [ebp - 0x1c], 0
je 0x460499
mov ecx, dword [ebp - 0x1c]
call fcn.0040b9e0
mov eax, dword [ebp - 0x24]
push eax
call fcn.00441710
pop ecx
call fcn.00435880
call dword [0x4eaab8]
call fcn.0044a730
call fcn.00416d60
push 0
call dword [0x4ea744]
cmp dword [ebp - 0x24], 0
je 0x4604f2
mov ecx, dword [ebp - 0x24]
call fcn.0040b9e0
jmp 0x4604f2
call fcn.00435880
call dword [0x4eaab8]
call fcn.0044a730
call fcn.00472120
call fcn.00416d60
push 0
call dword [0x4ea744]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret