Function at 0x467150
Capabilities:
Terminate process

Disassembly:
sub esp, 0x34
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x200]
push edi
shl eax, 3
push eax
mov dword [esp + 0x24], ebx
call fcn.004516f0
mov ebp, dword [0x480f90]
mov dword [esp + 0x24], eax
mov eax, dword [0x480f8c]
mov byte [esp + 0x12], 0
cmp ebp, eax
mov dword [esp + 0x18], 0
mov byte [esp + 0x13], 0
jae 0x467357
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x34]
mov ecx, eax
and eax, 0xffffff
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov ebx, eax
xor eax, edi
and eax, 0xffffff
xor edi, eax
mov dword [esp + 0x34], edi
shl edi, 8
shr ecx, 0x18
shr ebx, 0x18
sar edi, 8
cmp word [ebp], 0xff
mov byte [esp + 0x3c], bl
sete al
add eax, 7
mov byte [esp + 0x2c], al
mov al, byte [esp + 0x12]
cmp al, cl
je 0x467219
mov esi, dword [esp + 0x20]
xor ax, ax
mov al, cl
mov byte [esp + 0x12], cl
lea edx, [esi + 0x1b8]
push edx
push eax
call fcn.0040ec10
mov eax, dword [eax + 0x18]
mov ecx, dword [esi + 0x20c]
sub eax, ecx
xor edx, edx
div dword [esi + 0x64]
mov dword [esp + 0x28], 0xffff
mov dword [esp + 0x38], eax
jmp 0x46721d
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0x64]
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0x13]
xor edx, edx
div esi
test cl, cl
je 0x467231
inc eax
mov edx, dword [esp + 0x28]
movsx ecx, ax
and edx, 0xffff
cmp edx, ecx
je 0x467263
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
and eax, 0xffff
mov edx, dword [esp + 0x24]
add eax, ecx
imul ecx, esi
lea eax, [edx + eax*8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
push ecx
push edi
push edx
push eax
call fcn.004661a0
mov esi, eax
test esi, esi
jne 0x4672ce
push 0x14
call fcn.004516d0
mov dl, byte [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x1c]
push 0x20
mov ecx, dword [eax]
mov dword [esi], ecx
mov dword [eax], esi
mov byte [esi + 4], dl
mov byte [esi + 5], bl
mov dword [esi + 8], edi
mov byte [esi + 0xe], 0
mov word [esi + 0xc], 0x10
call fcn.004516d0
mov ebx, dword [esi + 8]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10000
mov dword [esi + 0x10], eax
sbb eax, eax
and al, 0xfe
add eax, 0xb
add ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x46730d
mov cl, byte [esi + 0xe]
cmp cl, 1
jne 0x4672da
dec dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov ax, word [esi + 0xc]
movzx cx, cl
add edi, 2
cmp cx, ax
mov dword [esp + 0x18], edi
jb 0x46730d
mov edx, dword [esi + 0x10]
add eax, 0x10
mov word [esi + 0xc], ax
and eax, 0xffff
shl eax, 1
push eax
push edx
call fcn.00451720
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov edi, dword [esi + 0x10]
xor ebx, ebx
mov bl, byte [esi + 0xe]
mov edx, ecx
sub edx, eax
add ecx, 4
mov word [edi + ebx*2], dx
mov bl, byte [esi + 0xe]
mov edx, dword [esp + 0x20]
inc bl
mov byte [esi + 0xe], bl
add eax, dword [edx + 0x64]
cmp ecx, eax
seta al
test al, al
mov byte [esp + 0x13], al
jne 0x467347
add ebp, 0xc
cmp ebp, dword [0x480f8c]
jb 0x467195
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
call fcn.004516d0
mov ebp, dword [0x481184]
mov dword [esp + 0x1c], eax
mov esi, eax
mov al, byte [0x481194]
test al, al
je 0x46737b
call fcn.0040ca50
mov ecx, dword [0x469524]
mov eax, dword [ecx + ebp*4]
test byte [eax + 4], 8
je 0x467393
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x30], edx
jmp 0x46739d
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x1fc]
mov ecx, dword [0x481184]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
push edx
push 0
push eax
push ecx
call fcn.0040bbd0
mov ecx, dword [ebx + 0x200]
mov edx, dword [ebx + 0x1fc]
mov edi, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
mov dword [ebx + 0x204], edx
mov dword [esp + 0x18], eax
jb 0x4674f4
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
mov dword [edi + 4], eax
mov ebp, dword [0x481184]
mov dword [esp + 0x14], eax
mov al, byte [0x481194]
test al, al
je 0x467409
call fcn.0040ca50
mov eax, dword [0x469524]
push 4
mov eax, dword [eax + ebp*4]
test byte [eax + 4], 8
je 0x467426
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040c700
jmp 0x467431
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040bd70
mov eax, dword [edi]
test eax, eax
je 0x4674d5
cmp byte [eax + 0xe], 1
jbe 0x467445
or byte [eax + 4], 0x20
cmp dword [eax + 8], 0x10000
setae dl
xor cl, cl
test dl, dl
je 0x467457
mov cl, 0x10
mov bl, byte [eax + 4]
mov byte [esi], bl
inc esi
mov byte [esi], cl
mov cl, byte [eax + 0xe]
inc esi
cmp cl, 1
jne 0x467477
mov ecx, dword [eax + 0x10]
add esi, 2
mov cx, word [ecx]
mov word [esi - 2], cx
jmp 0x46747a
mov byte [esi], cl
inc esi
mov cl, byte [eax + 5]
mov byte [esi], cl
inc esi
test dl, dl
je 0x46748e
mov edx, dword [eax + 8]
mov dword [esi], edx
add esi, 4
jmp 0x467498
mov cx, word [eax + 8]
mov word [esi], cx
add esi, 2
mov dl, byte [eax + 0xe]
cmp dl, 1
jbe 0x4674c7
xor ecx, ecx
test dl, dl
jbe 0x4674c7
mov ebx, dword [eax + 0x10]
mov edx, ecx
and edx, 0xffff
add esi, 2
inc ecx
mov dx, word [ebx + edx*2]
mov word [esi - 2], dx
movzx dx, byte [eax + 0xe]
cmp cx, dx
jb 0x4674a6
mov eax, dword [eax]
test eax, eax
jne 0x46743b
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x200]
inc eax
add edi, 8
mov dword [esp + 0x18], eax
and eax, 0xffff
cmp eax, ecx
jbe 0x4673e6
mov edi, dword [esp + 0x1c]
mov al, byte [0x481194]
sub esi, edi
mov dword [esp + 0x14], esi
mov esi, dword [0x481184]
test al, al
je 0x467512
call fcn.0040ca50
mov eax, dword [0x469524]
push 4
mov eax, dword [eax + esi*4]
test byte [eax + 4], 8
je 0x46752f
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.0040c700
jmp 0x46753a
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040bd70
mov al, byte [0x481194]
mov esi, dword [0x481184]
test al, al
je 0x46754e
call fcn.0040ca50
mov eax, dword [0x469524]
mov eax, dword [eax + esi*4]
test byte [eax + 4], 8
je 0x467561
mov eax, dword [eax + 0x1c]
jmp 0x467567
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x58]
mov ebp, dword [sym.imp.MSVCRT.dll_free]
mov dword [ebx + 0x208], eax
add eax, edx
cmp eax, ecx
jbe 0x4675ad
push edi
call ebp
mov al, byte [0x4690c4]
add esp, 4
test al, al
je 0x467594
call fcn.00415100
mov eax, dword [ebx + 0x208]
mov esi, dword [esp + 0x14]
add eax, esi
push eax
call fcn.00449df0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, byte [0x481194]
mov esi, dword [esp + 0x14]
mov edi, dword [0x481184]
test al, al
je 0x4675c5
call fcn.0040ca50
mov ecx, dword [0x469524]
push esi
mov eax, dword [ecx + edi*4]
test byte [eax + 4], 8
je 0x4675e2
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.0040c700
jmp 0x4675ed
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.0040bd70
mov al, byte [0x481194]
mov esi, dword [0x481184]
test al, al
je 0x467601
call fcn.0040ca50
mov edx, dword [0x469524]
mov eax, dword [edx + esi*4]
test byte [eax + 4], 8
je 0x467615
mov eax, dword [eax + 0x1c]
jmp 0x46761b
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [ebx + 0x1fc], eax
mov eax, dword [0x481184]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x50], 0
call fcn.0040bbd0
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov ecx, dword [ebx + 0x200]
mov edx, dword [esp + 0x28]
mov eax, 1
add esp, 4
cmp ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jb 0x4676a6
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
test esi, esi
je 0x467683
mov ecx, dword [esi + 0x10]
mov edi, dword [esi]
push ecx
call ebp
push esi
call ebp
add esp, 8
mov esi, edi
test edi, edi
jne 0x46766f
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x200]
inc eax
mov dword [esp + 0x18], eax
and eax, 0xffff
add esi, 8
cmp eax, ecx
mov dword [esp + 0x1c], esi
jbe 0x467665
mov edx, dword [esp + 0x24]
push edx
call ebp
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret