Function at 0x45f9ec
Capabilities:
Terminate process

Disassembly:
int3
cmp esi, 0x40000000
jl 0x45f6f2
mov al, byte [ebx + esi*4 - 1]
mov edx, dword [ebx + esi*4 - 0xc]
cmp al, 0x12
je 0x45f6f2
shl esi, 2
cmp al, 0x80
je 0x45f838
cmp al, 0x82
jne 0x45f67d
cmp ecx, 0xff
ja 0x45f7d8
mov eax, ecx
cmp dword [esi - 8], 1
jne 0x45f793
cmp dword [esp + 0xc], 0
jne 0x45f793
cmp edi, dword [esp]
jne 0x45f793
lea ecx, [edx + 0x11]
cmp ecx, dword [esi - 0x10]
je 0x45f793
lea ecx, [edx + 1]
mov word [esi + edx], ax
mov dword [esi - 0xc], ecx
add esp, 0x10
ret
mov edi, ecx
cmp dword [esp + 0xc], 0
je 0x45f6fd
xchg esi, edi
cmp esi, 0xff
ja 0x45f70d
cmp edi, 0xff
jbe 0x45f75c
mov ecx, 2
mov edx, dword [esp + 0x10]
call fcn.004634b7
mov dword [ebx + eax*4], esi
mov edx, dword [esp]
cmp esi, 0x40000000
jl 0x45f72e
add dword [ebx + esi*4 - 8], 1
mov dword [ebx + eax*4 + 4], edi
cmp edi, 0x40000000
jl 0x45f73f
add dword [ebx + edi*4 - 8], 1
mov ecx, dword [edx]
add esp, 0x10
mov dword [edx], eax
cmp ecx, 0x40000000
jle 0x45f75b
mov edx, ecx
sub dword [ebx + ecx*4 - 8], 1
je fcn.0046362d
ret
shl edi, 8
mov ecx, 2
add esi, edi
mov edi, dword [esp]
call fcn.00463402
mov edx, dword [edi]
mov ecx, esi
add esp, 0x10
mov word [ebx + eax*4], cx
mov byte [ebx + eax*4 + 2], bl
mov dword [edi], eax
cmp edx, 0x40000000
jle 0x45f792
sub dword [ebx + edx*4 - 8], 1
je fcn.0046362d
ret
mov edi, dword [esp + 0xc]
push eax
lea ecx, [edx + 1]
call fcn.00463402
lea edi, [edi + eax*4]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 4]
pop ecx
cmp dword [esp + 0xc], 0
je 0x45f7ba
mov byte [edi], bl
mov byte [ebx + eax*4], cl
jmp 0x45f7bd
mov word [edi], cx
mov edx, dword [esi]
add esp, 0x10
mov dword [esi], eax
cmp edx, 0x40000000
jle 0x45f7d7
sub dword [ebx + edx*4 - 8], 1
je fcn.0046362d
ret
mov edi, dword [esp + 0xc]
push ecx
shl edi, 2
lea ecx, [edx + 1]
mov edx, dword [esp + 0x10]
call fcn.004634b7
lea edi, [edi + eax*4]
sub ecx, 1
je 0x45f7ff
push eax
xor eax, eax
lodsb al, byte [esi]
stosd dword es:[edi], eax
sub ecx, 1
jne 0x45f7f7
pop eax
mov esi, dword [esp + 4]
pop ecx
cmp dword [esp + 0xc], 0
je 0x45f80e
lea edi, [ebx + eax*4]
add esp, 0x10
mov edx, dword [esi]
cmp ecx, 0x40000000
jl 0x45f820
add dword [ebx + ecx*4 - 8], 1
mov dword [edi], ecx
mov dword [esi], eax
cmp edx, 0x40000000
jle 0x45f837
sub dword [ebx + edx*4 - 8], 1
je fcn.0046362d
ret
cmp ecx, 0x40000000
jl 0x45f845
add dword [ebx + ecx*4 - 8], 1
push ecx
cmp edi, dword [esp + 4]
jne 0x45f963
cmp dword [esi - 8], 1
jne 0x45f963
cmp edi, dword [esp + 0xc]
je 0x45f970
lea ecx, [ebx + edx*4 + 0x14]
mov edi, dword [esi - 0x14]
cmp dword [esp + 0x10], 0
jne 0x45f887
add ecx, edi
cmp ecx, dword [esi - 0x10]
je 0x45f8bf
pop eax
lea ecx, [edx + 1]
mov dword [esi + edx*4], eax
mov dword [esi - 0xc], ecx
add esp, 0x10
ret
test edi, edi
je 0x45f8f8
sub edi, 4
add edx, 1
mov ecx, dword [esi - 0x10]
mov dword [esi - 0x18], edi
mov dword [esi - 0x14], ecx
mov ecx, dword [esi - 4]
mov edi, dword [esp + 4]
mov dword [esi - 0x10], edx
mov eax, esi
mov dword [esi - 0xc], 1
sub eax, 3
mov dword [esi - 8], ecx
ror eax, 2
pop dword [esi - 4]
mov dword [edi], eax
add esp, 0x10
ret
push esi
lea ecx, [edx + 1]
mov edx, dword [esp + 0x18]
call fcn.004634b7
mov edx, dword [esi - 4]
mov dword [ebx + eax*4 - 4], edx
sub ecx, 1
lea edi, [ebx + eax*4]
mov edx, dword [esp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [edx], eax
pop edx
pop eax
stosd dword es:[edi], eax
mov ecx, dword [edx - 0x10]
lea eax, [edx - 0x14]
add esp, 0x10
sub eax, dword [edx - 0x14]
mov edx, dword [esp]
jmp fcn.0046333d
mov dword [esp + 0x10], esi
mov edi, ecx
lea ecx, [ebx + edx*2 + 1]
mov edx, dword [esp + 0x14]
call fcn.004634b7
mov edx, dword [ebx + eax*4 - 0x10]
mov ecx, dword [esi - 0xc]
push edx
sub edx, edi
add ecx, 1
shr edx, 1
push dword [esi - 4]
and edx, 0xfffffffc
lea edi, [edx + eax*4 + 4]
mov dword [edx + eax*4 - 0xc], ecx
lea eax, [edx + eax*4 + 1]
mov ecx, dword [esi - 0xc]
mov dword [edi - 0x18], edx
ror eax, 2
mov edx, dword [esp + 0xc]
pop dword [edi - 8]
pop dword [edi - 0x14]
mov dword [edi - 0xc], 1
mov dword [edx], eax
mov edx, esi
pop dword [edi - 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx - 0x10]
lea eax, [edx - 0x14]
add esp, 0x10
mov edx, dword [esp]
jmp fcn.0046333d
mov ecx, edx
mov edx, dword [esp + 0x14]
call fcn.00463499
mov edx, ecx
mov edi, dword [esp + 0x10]
mov ecx, edx
shl edi, 2
add ecx, 1
mov edx, dword [esp + 0x14]
call fcn.004634b7
push eax
lea edi, [edi + eax*4]
sub ecx, 1
je 0x45f99e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp eax, 0x40000000
jl 0x45f989
add dword [ebx + eax*4 - 8], 1
jmp 0x45f989
mov esi, dword [esp + 8]
pop eax
pop ecx
mov edx, dword [esi]
cmp dword [esp + 0xc], 0
je 0x45f9b2
mov dword [ebx + eax*4], ecx
jmp 0x45f9b4
mov dword [edi], ecx
add esp, 0x10
mov dword [esi], eax
cmp edx, 0x40000000
jle 0x45f9cc
sub dword [ebx + edx*4 - 8], 1
je fcn.0046362d
ret
mov edi, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
xchg esi, ecx
mov dword [esp + 0xc], 1
jmp 0x45f68e
push ebx
push ecx
push edi
push edx
mov esi, dword [edi]
mov ecx, dword [ecx]
cmp ecx, 0x40000000
jl 0x45f686
test byte [ebx + ecx*4 - 1], 0x80
je 0x45f686
cmp esi, 0x40000000
jl 0x45f9cd
test byte [ebx + esi*4 - 1], 0x80
je 0x45f9cd
shl esi, 2
shl ecx, 2
mov eax, dword [esi - 0xc]
mov edi, dword [ecx - 0xc]
cmp eax, 0
jne 0x45fa47
cmp edx, dword [esp + 8]
je 0x45fadd
cmp byte [ecx - 1], 0x80
je 0x45fa47
lea eax, [ecx + 1]
add dword [ecx - 8], 1
ror eax, 2
jmp 0x45faa9
cmp edi, 0
jne 0x45fa62
cmp edx, dword [esp + 4]
je 0x45fadd
lea eax, [esi + 1]
add dword [esi - 8], 1
ror eax, 2
jmp 0x45faa9
add edi, eax
mov eax, dword [edx]
cmp byte [esi - 1], 0x82
jne 0x45fae1
cmp byte [ecx - 1], 0x82
jne 0x45fb9e
cmp edx, dword [esp + 4]
jne 0x45fa8c
cmp dword [esi - 8], 1
jne 0x45fa8c
mov eax, dword [esi - 0x10]
sub eax, 0x11
cmp eax, edi
jge 0x45fac7
mov edx, ecx
mov ecx, edi
call fcn.00463402
push eax
mov ecx, dword [esi - 0xc]
lea edi, [ebx + eax*4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx - 0xc]
mov esi, edx
add ecx, 1
rep movsb byte es:[edi], byte [esi]
pop eax
mov edi, dword [esp]
add esp, 0x10
mov edx, dword [edi]
mov dword [edi], eax
cmp edx, 0x40000000
jle 0x45fac6
sub dword [ebx + edx*4 - 8], 1
je fcn.0046362d
ret
mov eax, dword [esi - 0xc]
mov edx, ecx
mov ecx, dword [ecx - 0xc]
mov dword [esi - 0xc], edi
mov edi, esi
mov esi, edx
add ecx, 1
add edi, eax
rep movsb byte es:[edi], byte [esi]
add esp, 0x10
ret
cmp edx, dword [esp + 4]
jne 0x45fb3f
cmp dword [esi - 8], 1
jne 0x45fb36
mov edx, dword [esi - 0x10]
sub edx, dword [esi - 0x14]
sub edx, 0x14
shr edx, 2
cmp edi, edx
jg 0x45fb3f
mov edx, dword [esi - 0xc]
cmp byte [ecx - 1], 0x82
push dword [ecx - 0xc]
mov dword [esi - 0xc], edi
lea edi, [esi + edx*4]
mov esi, ecx
pop ecx
jne 0x45fb1f
xor eax, eax
lodsb al, byte [esi]
stosd dword es:[edi], eax
sub ecx, 1
jne 0x45fb14
add esp, 0x10
ret
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp eax, 0x40000000
jl 0x45fb2d
add dword [ebx + eax*4 - 8], 1
sub ecx, 1
jne 0x45fb1f
add esp, 0x10
ret
mov edx, dword [esp + 0x10]
call fcn.00463499
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004634b7
pop edx
lea edi, [ebx + eax*4]
push eax
mov ecx, dword [esi - 0xc]
cmp ecx, 0
je 0x45fb6b
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp eax, 0x40000000
jl 0x45fb66
add dword [ebx + eax*4 - 8], 1
sub ecx, 1
jne 0x45fb58
mov ecx, dword [edx - 0xc]
mov esi, edx
cmp byte [edx - 1], 0x82
jne 0x45fb85
xor eax, eax
lodsb al, byte [esi]
stosd dword es:[edi], eax
sub ecx, 1
jne 0x45fb78
pop eax
jmp 0x45faa9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp eax, 0x40000000
jl 0x45fb93
add dword [ebx + eax*4 - 8], 1
sub ecx, 1
jne 0x45fb85
pop eax
jmp 0x45faa9
mov edx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004634b7
pop edx
lea edi, [ebx + eax*4]
push eax
mov ecx, dword [esi - 0xc]
xor eax, eax
cmp ecx, 0
je 0x45fbc0
lodsb al, byte [esi]
stosd dword es:[edi], eax
sub ecx, 1
jne 0x45fbb9
mov ecx, dword [edx - 0xc]
mov esi, edx
jmp 0x45fb85