Function at 0x4b87a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
lea esi, [edx + 0xc]
mov dword [esp + 0x88], ecx
call 0x4b87be
pop eax
lea ecx, [edx + 0x18]
mov edi, edx
mov dword [esp + 0x10], esi
mov esi, 0x800013
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], ecx
jmp 0x4b87ea
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4b8810
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4b8878
jmp 0x4b88bb
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4b8846
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b88ac
cmp eax, 5
je 0x4ba3e6
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b8866
jmp 0x4ba3da
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b8863
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4b88bb
bt esi, ecx
jae 0x4b88bb
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b87ea
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b87e0
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
jmp 0x4b87e0
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b8859
jmp 0x4b8863
cmp eax, 0x5b
jne 0x4ba3b6
dec byte [edi + 0x40]
je 0x4ba3d0
mov byte [edi + 0x3c], 0
mov esi, dword [esp + 0x58]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b88fe
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b88f3
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov dword [esp + 4], eax
jmp 0x4b893a
cmp byte [edi + 0x3c], 0
je 0x4b8990
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4b89fc
mov eax, dword [ecx*4 + 0x4ba570]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4b89c6
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b8a1a
cmp eax, 5
je 0x4ba40a
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b89e6
jmp 0x4ba402
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b89e3
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4b8952
cmp eax, 0x5d
je 0x4ba316
cmp byte [esp + 4], 0
je 0x4ba53b
cmp bh, 0x5d
jne 0x4b8a34
jmp 0x4ba52e
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b89d9
jmp 0x4b89e3
mov al, 1
jmp 0x4b8a4e
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
movzx eax, byte [edi + 0x3c]
test al, al
je 0x4b8a70
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4b8adc
jmp 0x4b8b26
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4b8aaa
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b8b17
cmp eax, 5
je 0x4ba3ac
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b8aca
jmp 0x4ba3a4
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b8ac7
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4b8b26
mov edx, 0x800013
bt edx, ecx
jae 0x4b8b26
mov byte [edi + 0x3c], 0
xor eax, eax
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b8a4e
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b8a40
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
jmp 0x4b8a40
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b8abd
jmp 0x4b8ac7
cmp bh, 0x5b
je 0x4b902a
cmp eax, 0x7b
jne 0x4ba548
dec byte [edi + 0x40]
je 0x4ba521
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b8b6e
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b8b63
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x7b
inc eax
mov dword [edi + 0x14], eax
mov al, 1
mov cl, 2
mov ebx, 0x80000000
mov dword [esp + 0x5c], 0
mov dword [esp + 0x4c], 0x80000001
mov dword [esp + 0x64], 0x80000000
mov dword [esp], eax
xor eax, eax
mov dword [esp + 8], eax
mov byte [esp + 0x60], cl
mov byte [esp + 0xc], al
mov dword [esp + 4], ebx
jmp 0x4b8bba
cmp byte [edi + 0x3c], 0
je 0x4b8c10
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4b8c80
mov eax, dword [ecx*4 + 0x4ba600]
add eax, esi
jmp eax
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4b8c4a
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b8d42
cmp eax, 5
je 0x4b9801
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b8c6a
jmp 0x4b9607
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b8c67
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4b8bd2
cmp eax, 0x7d
je 0x4b9162
test byte [esp + 0xc], 1
jne 0x4b9bd7
cmp bh, 0x22
jne 0x4b9b1b
mov byte [edi + 0x3c], 0
mov ebx, dword [esp + 4]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b8cce
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b8cc3
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x22
inc eax
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x10]
mov dword [edi + 8], 0
lea ecx, [esp + 0x18]
push edi
call fcn.0053c9d0
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x18], 2
je 0x4b957a
lea ecx, [esp + 0x50]
push dword [esp + 0x20]
call fcn.00547350
add esp, 4
cmp byte [esp + 0x50], 0
jne 0x4b957f
movzx eax, byte [esp + 0x51]
cmp eax, 4
jbe 0x4b8d95
mov ecx, edi
call fcn.00406d60
test eax, eax
jne 0x4b9583
mov ecx, edi
call fcn.004018e0
test eax, eax
mov byte [esp + 0xc], 1
je 0x4b8bba
jmp 0x4b95a5
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b8c5d
jmp 0x4b8c67
mov eax, dword [eax*4 + 0x4ba690]
add eax, esi
jmp eax
dec byte [edi + 0x40]
je 0x4ba521
mov byte [edi + 0x3c], 0
lea esi, [esp + 0x18]
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b9064
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b9059
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], 0x5b
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], 1
jmp 0x4b907a
mov ecx, dword [edi + 0x10]
mov byte [ecx + eax], bh
inc eax
mov dword [edi + 0x14], eax
cmp byte [edi + 0x3c], 0
je 0x4b90a0
mov bh, byte [edi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x4b910a
jmp 0x4b9152
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], eax
jne 0x4b90d8
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b9143
cmp eax, 5
je 0x4b97e4
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b90f8
jmp 0x4b97d8
mov ecx, dword [edi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b90f5
add dword [edi + 0x38], eax
inc dword [edi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [edi + 0x34], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x17
ja 0x4b9152
mov edx, 0x800013
bt edx, ecx
jae 0x4b9152
mov byte [edi + 0x3c], 0
mov edx, dword [edi + 0xc]
cmp edx, 0x80000000
je 0x4b907a
mov eax, dword [edi + 0x14]
cmp eax, edx
jne 0x4b9070
mov ecx, dword [esp + 0x10]
call fcn.00437650
mov eax, dword [edi + 0x14]
jmp 0x4b9070
mov bh, byte [esp + 0x19]
mov eax, dword [edi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b90eb
jmp 0x4b90f5
cmp eax, 0x5d
jne 0x4b9200
mov bl, 2
jmp 0x4b921a
test byte [esp + 8], 1
mov eax, 0
mov ebx, dword [esp + 4]
cmovne eax, dword [esp + 0xb4]
cmp ebx, 0x80000000
sete byte [esp + 0xa0]
mov dword [esp + 0x84], eax
je 0x4b9619
mov esi, dword [esp + 0x4c]
mov eax, 0x80000000
mov ecx, dword [esp + 0xec]
cmp esi, 0x80000001
cmove esi, eax
mov eax, dword [esp + 0xb8]
cmovne ecx, dword [esp + 0xe4]
sete dl
cmovne eax, dword [esp + 0xb0]
cmp dword [esp + 0x64], 0x80000000
mov dword [esp + 0xec], ecx
mov dword [esp + 0xb8], eax
je 0x4b965c
mov ebx, esi
and byte [esp + 0x60], 1
mov esi, dword [esp + 0x70]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], ecx
jmp 0x4b99d1
mov ecx, esi
mov edx, edi
mov byte [esp + 0x7c], 0
call fcn.00527370
cmp byte [esp + 0x18], 0
jne 0x4b9244
movzx ebx, byte [esp + 0x19]
mov ecx, esi
lea edx, [esp + 0x78]
call fcn.004141f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b9287
cmp eax, 1
jne 0x4b9244
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], ecx
jmp 0x4b928f
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ebx, 0x80000000
jmp 0x4ba075
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x78]
and bl, 1
mov byte [esp + 8], bl
lea eax, [esi + 0xc]
lea ecx, [esi + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
jmp 0x4b92ba
cmp byte [esi + 0x3c], 0
je 0x4b92e0
mov bh, byte [esi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4b9350
jmp 0x4b93d4
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x24], eax
jne 0x4b931a
mov edx, dword [esp + 4]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b938b
cmp eax, 5
je 0x4b9b0e
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b933a
jmp 0x4b9b02
mov ecx, dword [esi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b9337
add dword [esi + 0x38], eax
inc dword [esi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4b93d4
mov eax, dword [ecx*4 + 0x4ba6a4]
add eax, dword [esp + 0x58]
jmp eax
mov bh, byte [esp + 0x19]
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b932d
jmp 0x4b9337
cmp eax, 0x5d
je 0x4b9b30
cmp byte [esp + 0x7c], 0
je 0x4b9adb
mov byte [esp + 0x7c], 0
cmp bh, 0x5d
je 0x4b97cb
lea ebx, [esp + 0x18]
mov edx, esi
mov ecx, ebx
call fcn.004da410
mov eax, dword [esp + 0x18]
cmp eax, 0x80000000
mov dword [esp + 4], eax
jne 0x4b941b
mov eax, dword [esp + 0x1c]
jmp 0x4ba048
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov ecx, ebx
mov dword [esp + 0x5c], eax
call fcn.004137f0
mov eax, dword [esp + 0x18]
cmp eax, 0x80000002
je 0x4b956a
cmp eax, 0x80000001
je 0x4b9b4c
mov esi, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esi + 0xc]
lea ecx, [esi + 0x18]
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp], eax
mov dword [esp + 0x60], ecx
jmp 0x4b948a
cmp byte [esi + 0x3c], 0
je 0x4b94b0
mov bh, byte [esi + 0x3d]
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
jbe 0x4b9520
jmp 0x4b974c
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x24], eax
jne 0x4b94ea
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x18]
call fcn.0053d7f0
movzx eax, byte [esp + 0x18]
cmp eax, 4
je 0x4b955b
cmp eax, 5
je 0x4b9bf7
mov ebx, dword [esp + 0x18]
cmp bl, 4
je 0x4b950a
jmp 0x4b9beb
mov ecx, dword [esi + 0x18]
mov bh, byte [ecx + eax]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
jne 0x4b9507
add dword [esi + 0x38], eax
inc dword [esi + 0x30]
mov bh, 0xa
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], bh
movzx eax, bh
lea ecx, [eax - 9]
cmp ecx, 0x23
ja 0x4b974c
mov eax, dword [ecx*4 + 0x4ba734]
add eax, dword [esp + 0x58]
jmp eax
mov bh, byte [esp + 0x19]
mov eax, dword [esi + 0x34]
inc eax
cmp bh, 0xa
je 0x4b94fd
jmp 0x4b9507
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ebx, dword [esp + 0x4c]
jmp 0x4b9fd8
mov dword [esp], edx
jmp 0x4b9586
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], 0
mov cl, 1
cmp dword [esp + 0x64], 0x80000000
jne 0x4b984a
jmp 0x4b98ce
mov ebx, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 8], 0
mov cl, 1
mov al, 1
cmp dword [esp + 0x64], 0x80000000
jne 0x4b984a
jmp 0x4b98ce
movzx eax, bl
lea ecx, [esp + 0x18]
cmp eax, 5
je 0x4b9805
jmp 0x4b9642
mov ecx, 0x586351
mov edx, 8
call fcn.0053c7d0
mov byte [esp + 0xc], 1
jmp 0x4b9709
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00486e60
jmp 0x4b9829
mov byte [esp + 0xc], dl
mov ecx, 0x586e2d
mov edx, 8
call fcn.0053c7d0
test esi, 0x7fffffff
mov dword [esp], eax
je 0x4b968e
push dword [esp + 0xb8]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x74], 0
je 0x4b96ed
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
lea esi, [eax + 0x10]
jmp 0x4b96b6
add esi, 0x20
dec ebx
je 0x4b96ed
mov eax, dword [esi - 4]
test eax, eax
je 0x4b96d0
cmp dword [esi], 0
je 0x4b96d0
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4b96b0
cmp dword [esi - 0xc], 0
je 0x4b96b0
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4b96b0
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x4b9706
push dword [esp + 0x70]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp]
mov ecx, dword [esp + 0x84]
mov dword [esp], eax
test ecx, ecx
je 0x4b972c
cmp dword [esp + 0x14], 0
je 0x4b972c
push ecx
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xa0]
cmp dword [esp + 0x64], 0x80000000
jne 0x4b984a
jmp 0x4b98ce
cmp eax, 0x5d
je 0x4b9c26
cmp byte [esp + 0x7c], 0
je 0x4b9bca
cmp bh, 0x5d
je 0x4b9b72
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.004c8ab0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80000000
jne 0x4b9789
mov eax, dword [esp + 0x1c]
jmp 0x4b9fc1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
movaps xmm0, xmmword [esp + 0xa0]
mov ebx, dword [esp + 4]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov dword [esp + 0xe8], esi
movaps xmmword [esp + 0x150], xmm0
mov dword [esp + 0x5c], ecx
mov dword [esp], edx
jmp 0x4ba075
mov dword [esp + 0x18], 0x12
jmp 0x4b9e8b
movzx eax, bl
cmp eax, 5
jne 0x4b9ae8
mov edx, dword [edi + 0x30]
mov dword [esp + 0x18], 2
mov ecx, esi
push dword [edi + 0x34]
call fcn.00486e00
add esp, 4
jmp 0x4b9248
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 3
jmp 0x4b981b
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.00486e00
add esp, 4
mov ebx, dword [esp + 4]
mov dword [esp], eax
mov al, 1
mov dword [esp + 8], 0
mov cl, 1
cmp dword [esp + 0x64], 0x80000000
je 0x4b98ce
cmp dword [esp + 0x9c], 0
mov byte [esp + 0xa0], cl
mov byte [esp + 0xc], al
mov dword [esp + 4], ebx
je 0x4b98a2
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
lea esi, [eax + 4]
jmp 0x4b9886
add esi, 0x14
dec ebx
je 0x4b98a2
mov eax, dword [esi - 4]
test eax, eax
je 0x4b9880
cmp dword [esi], 0
je 0x4b9880
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4b9880
cmp dword [esp + 0x64], 0
je 0x4b98bd
push dword [esp + 0x98]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [esp + 4]
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xa0]
test al, al
je 0x4b9906
cmp dword [esp + 0x4c], 0x80000002
jl 0x4b9906
cmp dword [esp + 0x4c], 0
je 0x4b9906
push dword [esp + 0xb0]
push 0
push dword [0x5970d8]
mov byte [esp + 0xac], cl
call sub.KERNEL32.dll_HeapFree
movzx ecx, byte [esp + 0xa0]
cmp ebx, 0x80000000
setne al
test cl, al
je 0x4b9985
cmp dword [esp + 0x74], 0
mov dword [esp + 4], ebx
je 0x4b996d
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
lea esi, [eax + 0x10]
jmp 0x4b9936
add esi, 0x20
dec ebx
je 0x4b996d
mov eax, dword [esi - 4]
test eax, eax
je 0x4b9950
cmp dword [esi], 0
je 0x4b9950
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4b9930
cmp dword [esi - 0xc], 0
je 0x4b9930
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4b9930
cmp dword [esp + 4], 0
je 0x4b9985
push dword [esp + 0x70]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x5c], 0
sete al
or al, byte [esp + 8]
test al, 1
jne 0x4b99bf
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4b99bf
cmp dword [esp + 0x14], 0
mov dword [esp + 4], 0x80000000
je 0x4b99c7
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4b99c7
mov dword [esp + 4], 0x80000000
mov ebx, dword [esp + 0x80]
mov esi, dword [esp]
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ad0
mov ecx, dword [esp + 4]
mov edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
cmp ecx, 0x80000000
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ah, byte [esp + 0x60]
mov byte [esp + 0x44], ah
mov dword [esp + 0x48], edx
jne 0x4b9a73
mov ebx, 0x80000000
test edx, edx
je 0x4ba161
mov ecx, edx
call fcn.0040a630
jmp 0x4ba161
test edx, edx
je 0x4b9a82
lea ecx, [esp + 0x18]
mov esi, edx
jmp 0x4ba106
lea eax, [esp + 0x20]
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 4]
mov ecx, dword [esp]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0xcc], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xc4], xmm1
movsd qword [esp + 0xbc], xmm2
jmp 0x4ba168
mov dword [esp + 0x18], 7
jmp 0x4b9e8b
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00486e60
jmp 0x4b9248
movzx eax, bl
cmp eax, 5
jne 0x4b9ea2
mov dword [esp + 0x18], 2
jmp 0x4b9e8b
movzx eax, bh
cmp eax, 0x7d
jne 0x4b9b68
mov dword [esp + 0x18], 0x12
jmp 0x4b9bdf
mov ecx, 2
mov edx, 0x574638
push 0x5742d4
call fcn.0053c820
add esp, 4
jmp 0x4ba048
mov ecx, 3
mov edx, 0x574638
push 0x5742d4
call fcn.0053c820
add esp, 4
jmp 0x4b956e
mov dword [esp + 0x18], 0x10
jmp 0x4b9bdf
mov dword [esp + 0x18], 0x12
jmp 0x4b9faf
mov dword [esp + 0x18], 7
jmp 0x4b9faf
mov dword [esp + 0x18], 8
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
jmp 0x4b981e
movzx eax, bl
cmp eax, 5
jne 0x4ba2fc
mov dword [esp + 0x18], 2
jmp 0x4b9faf
mov ecx, 4
mov edx, 0x574638
push 0x5742d4
call fcn.0053c820
jmp 0x4b9fbe
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push dword [esi + 0x34]
call fcn.00486e00
add esp, 4
jmp 0x4ba048
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00486e60
jmp 0x4ba048
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push dword [esi + 0x34]
call fcn.00486e00
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov dword [esp], eax
test ecx, 0x7fffffff
jne 0x4ba2d1
test ebx, ebx
je 0x4ba02d
mov eax, dword [esp + 0x5c]
lea esi, [eax + 0x10]
jmp 0x4b9ff6
add esi, 0x20
dec ebx
je 0x4ba02d
mov eax, dword [esi - 4]
test eax, eax
je 0x4ba010
cmp dword [esi], 0
je 0x4ba010
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi - 0x10]
test eax, eax
je 0x4b9ff0
cmp dword [esi - 0xc], 0
je 0x4b9ff0
push eax
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
jmp 0x4b9ff0
cmp dword [esp + 4], 0
je 0x4ba045
push dword [esp + 0x5c]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp], eax
test edx, edx
je 0x4ba070
test ecx, ecx
je 0x4ba069
push edx
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
jmp 0x4ba075
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
mov eax, dword [esp]
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [esp + 0x150]
mov edx, dword [esp + 0x64]
movzx ecx, byte [esp + 8]
cmp ebx, 0x80000000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
movlps qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov byte [esp + 0x44], cl
mov dword [esp + 0x48], esi
jne 0x4ba0fe
mov ebx, 0x80000000
test esi, esi
je 0x4ba161
mov ecx, esi
call fcn.0040a630
jmp 0x4ba161
test esi, esi
je 0x4ba118
lea ecx, [esp + 0x18]
call fcn.0040ab10
mov ecx, esi
mov esi, dword [esp + 0x58]
mov ebx, 0x80000000
jmp 0x4ba168
lea eax, [esp + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0xcc], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xc4], xmm1
movsd qword [esp + 0xbc], xmm2
mov esi, dword [esp + 0x58]
mov ecx, dword [esp]
cmp ebx, 0x80000000
je 0x4ba55d
movsd xmm2, qword [esp + 0xd4]
movsd xmm1, qword [esp + 0xcc]
movsd xmm0, qword [esp + 0xdc]
cmp ebx, 0x80000001
mov dword [esp], ecx
movsd qword [esp + 0x110], xmm2
movsd qword [esp + 0x108], xmm1
movsd xmm2, qword [esp + 0xbc]
movsd xmm1, qword [esp + 0xc4]
movsd qword [esp + 0x118], xmm0
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0xf8], xmm2
je 0x4ba447
mov edx, dword [esp + 0x94]
movsd xmm2, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x108]
lea eax, [esp + 0x128]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ecx
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
cmp edx, dword [esp + 0x8c]
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm2
jne 0x4ba25a
lea ecx, [esp + 0x8c]
call fcn.004b7010
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
lea ecx, [edx + edx*2]
inc edx
mov dword [esp + 4], 0
shl ecx, 4
mov dword [eax + ecx], ebx
mov ebx, dword [esp]
mov dword [eax + ecx + 4], ebx
movsd xmm0, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
movsd qword [eax + ecx + 8], xmm0
movsd qword [eax + ecx + 0x10], xmm1
movsd xmm0, qword [esp + 0x108]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x110]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x118]
movsd qword [eax + ecx + 0x28], xmm0
mov dword [esp + 0x94], edx
jmp 0x4b893a
mov eax, dword [0x5970d8]
sub esp, 0xc
movaps xmm0, xmmword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], 0
movss dword [esp + 8], xmm0
call sub.KERNEL32.dll_HeapFree
jmp 0x4b9571
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call fcn.00486e60
jmp 0x4b9fc1
mov eax, dword [esp]
movsd xmm2, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x108]
lea ecx, [esp + 0x128]
mov dword [esp + 0x120], 0x80000000
movsd xmm0, qword [esp + 0x118]
mov dword [esp + 0x124], eax
movsd qword [ecx + 0x18], xmm2
movsd qword [ecx + 0x10], xmm1
movsd xmm2, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x100]
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
lea ecx, [esp + 0x120]
call fcn.00561ab0
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
jmp 0x4ba479
movzx eax, bl
cmp eax, 5
jne 0x4ba426
mov dword [esp + 0x18], 5
jmp 0x4ba412
lea edx, [esp + 0x6f]
mov ecx, edi
push 0x5747cc
call fcn.004063e0
add esp, 4
mov esi, eax
jmp 0x4ba4d9
mov dword [esp + 0x18], 0x15
jmp 0x4ba3ee
movzx eax, bl
cmp eax, 5
jne 0x4ba501
mov dword [esp + 0x18], 5
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
push dword [edi + 0x34]
call fcn.00486e00
jmp 0x4ba4e6
movzx eax, bl
cmp eax, 5
jne 0x4ba426
mov dword [esp + 0x18], 2
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
push dword [edi + 0x34]
call fcn.00486e00
add esp, 4
jmp 0x4ba444
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], eax
call fcn.00486e60
mov dword [esp], eax
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, esi
call fcn.004e6070
cmp dword [esp + 0x8c], 0
je 0x4ba474
push esi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov ebx, 0x80000000
inc byte [edi + 0x40]
mov ecx, edi
call fcn.00407ec0
mov esi, eax
cmp ebx, 0x80000000
je 0x4ba4a9
test esi, esi
jne 0x4ba4b9
mov eax, dword [esp + 0x88]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4ba4f9
test esi, esi
je 0x4ba4b4
mov ecx, esi
call fcn.0040a630
mov esi, dword [esp]
jmp 0x4ba4d9
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
call fcn.004e6070
test ebx, ebx
je 0x4ba4d9
push dword [esp]
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [edi + 0x30]
mov ecx, esi
push dword [edi + 0x34]
call fcn.0053b8e0
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov dword [ecx], 0x80000000
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], eax
call fcn.00486e60
jmp 0x4ba4e9
mov dword [esp + 0x18], 0x15
jmp 0x4ba412
mov dword [esp + 0x18], 0x12
jmp 0x4ba412
mov dword [esp + 0x18], 7
jmp 0x4ba412
mov ecx, edi
lea edx, [esp + 0x6f]
push 0x57499c
call fcn.004063e0
add esp, 4
mov ecx, eax
mov edx, dword [edi + 0x30]
push dword [edi + 0x34]
call fcn.0053b8e0
add esp, 4
jmp 0x4ba444