Function at 0x45b4fa
Capabilities:
Terminate process

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [edx + 0x40]
push ebp
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 0x2a]
movzx ecx, word [ecx + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx]
push esi
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x30], eax
add eax, esi
push edi
mov dword [esp + 0x28], ebx
lea ebp, [esi + 1]
mov dword [ebx + 0x2c], eax
call fcn.00449110
test eax, eax
jne 0x45b554
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x45b563
mov ecx, dword [ebx]
mov edx, eax
call fcn.00412dce
mov edi, eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x24]
test bx, bx
je 0x45b61d
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push eax
push 0x24
pop edx
mov dword [esp + 0x44], eax
push 0x20
pop eax
cmovne edx, eax
call fcn.00429451
pop ecx
mov ecx, dword [esp + 0x14]
xor eax, eax
push eax
push eax
push eax
push 0xb
pop edx
call fcn.004293f8
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x3c], 0
mov esi, eax
movzx eax, bx
mov dword [esp + 0x1c], eax
push eax
push ebp
push 0
push dword [esp + 0x4c]
push 0x19
pop edx
push 0x16
pop eax
cmovne edx, eax
call fcn.0042965e
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov edx, esi
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x14]
call fcn.00429b75
mov ecx, dword [ecx + 0x6c]
xor esi, esi
mov dword [eax + 8], ecx
cmp dword [esp + 0x1c], esi
jbe 0x45b61d
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
lea eax, [esi + ebp]
mov ecx, ebx
push eax
push esi
push edi
push 0x5a
pop edx
call fcn.004293f8
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x45b5fb
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
movzx esi, bx
cmp esi, dword [esp + 0x2c]
jae 0x45b71b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + esi*4]
lea eax, [esi + ebp]
push eax
push dword [esp + 0x40]
mov edx, ebx
push esi
push dword [esp + 0x24]
call fcn.0045b131
lea ecx, [esi + ebp]
mov dword [esp + 0x50], eax
add esp, 0x10
cmp eax, ecx
je 0x45b685
cmp dword [esp + 0x34], 1
jne 0x45b672
mov ecx, dword [esp + 0x28]
mov edx, ebp
call fcn.0043c468
mov ebp, dword [esp + 0x40]
jmp 0x45b685
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push 0x4f
pop edx
call fcn.004293f8
add esp, 0xc
movzx eax, word [ebx + 0xc]
test al, 1
je 0x45b69d
mov eax, dword [ebx]
mov ecx, 0x800
test dword [eax + 4], ecx
je 0x45b710
test edi, edi
jmp 0x45b70a
test eax, 0x100
jne 0x45b710
mov eax, dword [ebx]
mov ecx, 0x800
mov eax, dword [eax + 0x10]
mov dword [esp + 0x40], eax
test word [ebx + 0xa], cx
jne 0x45b6e3
mov ecx, eax
call fcn.00438bec
test eax, eax
je 0x45b6df
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push dword [eax + 0xc]
lea eax, [esi + ebp]
push eax
push 0x32
pop edx
call fcn.004293f8
add esp, 0xc
mov eax, dword [esp + 0x40]
test edi, edi
je 0x45b710
mov dl, byte [esi + edi]
mov ecx, eax
call fcn.00437393
cmp al, 0x41
jne 0x45b6fc
mov byte [esi + edi], al
mov dl, al
jmp 0x45b6ff
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x40]
call fcn.00438c41
test eax, eax
je 0x45b710
mov byte [esi + edi], 0x41
inc esi
cmp esi, dword [esp + 0x2c]
jl 0x45b62a
mov eax, dword [esp + 0x44]
mov dword [eax], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret