Function at 0x48aec0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], ecx
test edi, edi
jne 0x48aef9
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x65
test esi, esi
je 0x48af09
movzx eax, byte [esi]
mov dword [ebp - 0x10], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x48af21.21
movzx eax, byte [eax + 0x48bbbc]
jmp dword [eax*4 + 0x48bb58]
movsx eax, word [esi + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + ecx*8]
mov eax, dword [esi + 0x28]
cmp byte [eax], 0
jne 0x48af4c
mov esi, dword [ecx + 0x10]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je case.0x48af21.152
push edx
push dword [ecx + 0xc]
push dword [eax + 8]
push 0x5e
push edi
call fcn.004a4e30
mov esi, dword [ebp - 4]
add esp, 0x14
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jns 0x48af90
mov eax, dword [ebx + 0x64]
test eax, eax
jle 0x48af8d
movsx esi, word [esi + 0x20]
add esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x68]
movzx eax, byte [esi + 0x26]
push eax
movsx eax, word [esi + 0x20]
push edx
push ecx
push eax
push dword [esi + 0x2c]
push ebx
call fcn.0048a6f0
add esp, 0x18
mov esi, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push 0
push esi
push ebx
call fcn.004651c0
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push 0
push dword [esi + 8]
push edi
call fcn.00465310
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 8]
push edx
push edi
call fcn.004ace80
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push 0
push 0x4d
push edi
call fcn.004a4dc0
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 8]
add esi, 2
push esi
call fcn.004a1040
mov ebx, dword [ebp - 0x28]
lea edi, [eax - 1]
push edi
push esi
push dword [ebx]
call fcn.00491a10
push 0xffffffffffffffff
push eax
mov eax, edi
cdq
push 0
push dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push 0x4f
push ebx
call fcn.004a4e90
mov esi, dword [ebp - 4]
add esp, 0x2c
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, word [esi + 0x20]
push edx
push eax
push 0x50
push edi
call fcn.004a4dc0
mov eax, dword [esi + 8]
add esp, 0x10
cmp byte [eax + 1], 0
je 0x48bb4c
movsx ecx, word [esi + 0x20]
mov eax, dword [ebx + 0x1dc]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x48b0a6
push edx
push 0xfffffffffffffffe
push eax
call fcn.0046e1f0
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x48b0d3
push 0xfffffffffffffffe
push edx
push eax
push edi
call fcn.004b7760
mov esi, dword [ebp - 4]
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
test edx, edx
je 0x48bb4f
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x1c]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push dword [esi + 0xc]
push ebx
call fcn.0048aec0
mov ecx, eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ecx, eax
je 0x48b126
push eax
push ecx
push 0x53
push edi
call fcn.004a4dc0
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov dword [ebp - 4], eax
push 0
push dword [esi + 8]
call fcn.0047f230
movsx eax, al
push eax
push dword [ebp + 0x10]
push 0x5b
push edi
call fcn.004a4dc0
mov esi, dword [ebp - 4]
push 1
push esi
push ebx
call fcn.0048a020
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push ebx
call fcn.0048bc50
mov edi, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x10]
push ebx
call fcn.0048bc50
push 0x20
push dword [ebp + 0x10]
push eax
push esi
push dword [ebp - 0x10]
push dword [edi + 0x10]
push dword [edi + 0xc]
push ebx
call fcn.00464cd0
add esp, 0x38
jmp 0x48b753
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push ebx
call fcn.0048bc50
mov edi, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x10]
push ebx
call fcn.0048bc50
push 0xa0
push dword [ebp + 0x10]
push eax
xor eax, eax
cmp dword [ebp - 0x10], 0x1d
push esi
sete al
add eax, 0x24
push eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push ebx
call fcn.00464cd0
add esp, 0x38
jmp 0x48b753
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push ebx
call fcn.0048bc50
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push ebx
call fcn.0048bc50
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp - 0x10]
push edi
call fcn.004a4e30
add esp, 0x2c
jmp 0x48b753
mov eax, dword [esi + 0xc]
mov cl, byte [eax]
cmp cl, 0x84
jne 0x48b232
push edx
push 1
push eax
push ebx
call fcn.004651c0
mov esi, dword [ebp + 0x10]
add esp, 0x10
jmp 0x48b756
cmp cl, 0x85
jne 0x48b24e
push edx
push 1
push dword [eax + 8]
push edi
call fcn.00465310
mov esi, dword [ebp + 0x10]
add esp, 0x10
jmp 0x48b756
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
mov byte [ebp - 0x58], 0x84
mov dword [ebp - 0x54], 0x4400
mov dword [ebp - 0x50], 0
call fcn.0048bc50
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
push ebx
call fcn.0048bc50
push dword [ebp + 0x10]
push esi
push eax
push 0x30
push edi
call fcn.004a4e30
mov esi, dword [ebp + 0x10]
add esp, 0x2c
jmp 0x48b756
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push ebx
call fcn.0048bc50
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push dword [ebp - 0x10]
mov esi, ecx
push edi
call fcn.004a4dc0
add esp, 0x1c
jmp 0x48b756
push edx
push 1
push 0x4a
push edi
call fcn.004a4dc0
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
push ebx
call fcn.0048bc50
push eax
push dword [ebp - 0x10]
push edi
call fcn.004a4d50
push dword [ebp + 0x10]
mov esi, eax
push 0
push 0x4a
push edi
call fcn.004a4dc0
push esi
push edi
call fcn.004aca30
add esp, 0x40
jmp 0x48b753
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x48b321
push dword [esi + 8]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.004894e0
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [esi + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 8]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [esi + 4], 0x4000
mov al, byte [ecx + 0x42]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x18], al
mov dword [ebp - 0x14], 0
je 0x48b423
mov dword [ebp - 8], 0
xor eax, eax
mov ecx, dword [esi + 8]
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
push eax
push ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
call fcn.0048d0c0
add esp, 0x14
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48b606
cmp dword [eax + 0x10], 0
jne 0x48b606
movzx eax, word [eax + 2]
test eax, 0x200
je 0x48b438
push edi
call fcn.004acea0
mov ecx, dword [ebp - 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ecx + 4]
push esi
push dword [ecx]
mov dword [ebp - 0x14], eax
push ebx
call fcn.0048a2a0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
cmp ecx, 1
jle 0x48b40e
dec ecx
mov dword [ebp + 0x10], 0x18
mov dword [ebp + 8], ecx
push dword [ebp - 0x14]
push esi
push 0x23
push edi
call fcn.004a4dc0
push 1
push esi
push ebx
call fcn.0048a020
inc dword [ebx + 0x6c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push esi
push dword [ecx + eax]
push ebx
call fcn.0048a2a0
push ebx
call fcn.00489fc0
add dword [ebp + 0x10], 0x18
add esp, 0x2c
dec dword [ebp + 8]
jne 0x48b3d1
push dword [ebp - 0x14]
push edi
call fcn.004aec40
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], eax
test eax, eax
je 0x48b35f
mov eax, dword [eax]
jmp 0x48b361
test eax, 0x400
je 0x48b45c
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [eax + 4]
push dword [eax]
push ebx
call fcn.0048aec0
add esp, 0xc
mov esi, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x48b4db
mov edi, dword [ebp - 8]
xor esi, esi
cmp edx, 0x20
jge 0x48b498
mov eax, dword [edi + 4]
push dword [eax + esi]
call fcn.0048c7a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x48b498
or dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x10]
test byte [ebx + 2], 0x20
mov ebx, dword [ebp + 8]
je 0x48b4c5
cmp dword [ebp - 0x14], 0
jne 0x48b4c5
mov eax, dword [edi + 4]
push dword [eax + esi]
push ebx
call fcn.0048bd40
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add esp, 8
rol eax, 1
inc edx
add esi, 0x18
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
cmp edx, ecx
jl 0x48b475
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
test edx, edx
je 0x48b552
cmp dword [ebp - 0x24], 0
je 0x48b4fb
mov eax, dword [ebx + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x28]
mov dword [ebx + 0x4c], eax
jmp 0x48b50b
push ecx
push ebx
call fcn.00490df0
mov edx, dword [ebp - 8]
add esp, 8
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 2], 0xc0
je 0x48b533
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
mov cl, byte [ecx]
cmp cl, 0x98
je 0x48b528
cmp cl, 0x9a
jne 0x48b533
mov al, byte [eax + 2]
mov ecx, dword [ebp - 0x18]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [ebx + 0x6c]
push 3
push 0
push dword [ebp + 8]
push edx
push ebx
call fcn.0048a430
push ebx
call fcn.00489fc0
mov edx, dword [ebp - 8]
add esp, 0x18
jmp 0x48b559
mov dword [ebp + 8], 0
cmp dword [ebp - 0xc], 2
jl 0x48b582
test byte [esi + 4], 0x80
je 0x48b582
mov eax, dword [edx + 4]
mov esi, dword [ebp - 0xc]
push dword [eax + 0x18]
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.004b0660
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x48b593
mov esi, dword [ebp - 0xc]
test esi, esi
jle 0x48b590
mov eax, dword [edx + 4]
push dword [eax]
jmp 0x48b56e
mov eax, dword [ebp - 0x10]
test byte [eax + 2], 0x20
je 0x48b5bd
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x48b5a6
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
push 0x56
push edi
call fcn.004a4e90
mov eax, dword [ebp - 0x10]
add esp, 0x1c
push 0xfffffffffffffffb
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 0x24]
push 0x57
push edi
call fcn.004a4e90
push esi
push edi
call fcn.004a52a0
add esp, 0x24
test esi, esi
je 0x48bb4c
cmp dword [ebp - 0x24], 0
jne 0x48bb4c
push esi
push dword [ebp + 8]
push ebx
call fcn.0049ba50
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
push str.unknown_function:__s__
push ebx
call fcn.004894e0
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push ebx
call fcn.004853b0
add esp, 0x10
mov esi, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004acea0
push edi
mov esi, eax
call fcn.004acea0
push dword [ebp + 0x10]
mov edi, eax
push 0
push 0x4d
push dword [ebp - 0x28]
call fcn.004a4dc0
mov eax, dword [ebp + 0xc]
push edi
push esi
push eax
push ebx
call fcn.0048a850
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x28]
push 1
push 0x4a
push ebx
call fcn.004a4dc0
push esi
push ebx
call fcn.004aec40
add esp, 0x40
push 0
push dword [ebp + 0x10]
push 0x59
push ebx
call fcn.004a4dc0
push edi
push ebx
call fcn.004aec40
mov esi, dword [ebp - 4]
add esp, 0x18
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov edi, dword [eax + 4]
lea eax, [ebp - 8]
mov esi, dword [edi]
push eax
push ecx
push ebx
mov dword [ebp - 0x14], ecx
call fcn.0048bc50
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0048bc50
push dword [ebp + 8]
mov edx, eax
call fcn.00490e30
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call fcn.00490e30
push 0x20
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push edx
push ebx
push 0x29
push esi
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00464cd0
mov esi, dword [edi + 0x18]
mov edi, dword [ebp + 8]
add esp, 0x40
push dword [ebp - 0xc]
push edi
call fcn.0049ba80
lea eax, [ebp - 0xc]
push eax
push esi
push edi
call fcn.0048bc50
mov edi, dword [ebp - 0x18]
push 0x20
push edi
push eax
push ebx
push 0x27
push esi
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00464cd0
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push 0x1c
push dword [ebp - 0x28]
call fcn.004a4e30
add esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0049ba80
push edi
push ebx
call fcn.0049ba80
add esp, 0x10
mov esi, dword [ebp - 4]
cmp dword [ebp - 8], 0
je 0x48b795
mov al, byte [ebx + 0x13]
mov byte [ebp + 0x13], al
cmp al, 8
jae 0x48b795
xor edx, edx
lea ecx, [ebx + 0x7c]
jmp 0x48b770
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebp - 8]
je 0x48b791
inc edx
add ecx, 0x14
cmp edx, 0xa
jl 0x48b770
movzx ecx, byte [ebp + 0x13]
mov eax, dword [ebp - 8]
mov dword [ebx + ecx*4 + 0x1c], eax
inc byte [ebx + 0x13]
jmp 0x48b795
mov byte [ecx + 6], 1
cmp dword [ebp - 0xc], 0
je 0x48bb4f
mov al, byte [ebx + 0x13]
mov byte [ebp + 0x13], al
cmp al, 8
jae 0x48bb4f
xor edx, edx
lea ecx, [ebx + 0x7c]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebp - 0xc]
je 0x48b7da
inc edx
add ecx, 0x14
cmp edx, 0xa
jl 0x48b7b2
movzx ecx, byte [ebp + 0x13]
mov eax, dword [ebp - 0xc]
mov dword [ebx + ecx*4 + 0x1c], eax
inc byte [ebx + 0x13]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop edi
mov byte [ecx + 6], 1
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push dword [esi + 0xc]
push ebx
call fcn.0048aec0
add esp, 0xc
mov esi, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x2c]
movsx eax, word [esi + 0x20]
movsx ecx, word [ebx + 0x22]
inc ecx
imul ecx, dword [esi + 0x1c]
push edx
inc eax
add eax, ecx
push eax
push 0x8d
push edi
call fcn.004a4dc0
movzx eax, word [esi + 0x20]
add esp, 0x10
test ax, ax
js 0x48bb4c
movsx ecx, ax
mov eax, dword [ebx + 4]
add ecx, ecx
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x48bb4c
push dword [ebp + 0x10]
push 0x5a
push edi
call fcn.004a4d50
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1a4], 0
jne 0x48b87a
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.004894e0
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 1], 2
jne 0x48b891
mov eax, dword [ebx + 0x1a0]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [esi + 1]
push 0
cmp al, 4
jne 0x48b8ba
push dword [esi + 8]
push 0
push 4
push 0
push 0x49
push edi
call fcn.004a4e90
mov esi, dword [ebp - 4]
add esp, 0x1c
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 8]
movsx eax, al
push eax
push 0x713
push ebx
call fcn.004917a0
mov esi, dword [ebp - 4]
add esp, 0x18
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
push edi
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ecx]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
call fcn.004acea0
mov edx, dword [esi + 0xc]
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
test edx, edx
je 0x48b981
movq xmm0, qword [edx]
movq qword [ebp - 0x58], xmm0
movq xmm0, qword [edx + 8]
movq qword [ebp - 0x50], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ebp - 0x48], xmm0
movq xmm0, qword [edx + 0x18]
movq qword [ebp - 0x40], xmm0
movq xmm0, qword [edx + 0x20]
lea eax, [ebp - 8]
push eax
movq qword [ebp - 0x38], xmm0
movq xmm0, qword [edx + 0x28]
push edx
push ebx
movq qword [ebp - 0x30], xmm0
call fcn.0048bc50
mov cl, byte [ebp - 0x58]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x88]
add esp, 0xc
and dword [ebp - 0x54], 0xffffefff
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x58], 0x9d
mov byte [ebp - 0x88], 0x25
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp + 0x10]
dec eax
test eax, eax
jle 0x48bab1
lea ecx, [eax - 1]
mov eax, dword [ebp + 8]
shr ecx, 1
inc ecx
mov dword [ebp - 0x18], ecx
lea esp, [esp]
inc dword [ebx + 0x6c]
mov eax, dword [eax]
test edx, edx
je 0x48b9ae
mov dword [ebp - 0x78], eax
jmp 0x48b9b1
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [ebp + 0x10], ecx
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x28], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x48b9ea
push 0
lea eax, [edx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00487ad0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
add esp, 0x10
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x48b9f8
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
sub eax, edx
push 0x10
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
push ebx
call fcn.0048c190
mov eax, dword [ebp + 8]
push esi
push dword [eax + 0x18]
push ebx
call fcn.0048a2a0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
add esp, 0x1c
cmp dword [eax + 0x58], ecx
jg 0x48ba3b
push 0
push dword [ebp - 0x1c]
push 0
push 0xd
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48ba71
mov edx, dword [ebp - 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebx
call fcn.00489fc0
mov edx, dword [edi + 0x18]
add esp, 4
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48ba95
mov eax, dword [ebp + 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add eax, 0x30
dec dword [ebp - 0x18]
mov dword [ebp + 8], eax
jne 0x48b9a0
mov eax, dword [ebp - 0x24]
test al, 1
je 0x48bada
inc dword [ebx + 0x6c]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x10]
push esi
mov eax, dword [eax + 4]
push dword [eax + ecx*8 - 0x18]
push ebx
call fcn.0048a2a0
push ebx
call fcn.00489fc0
add esp, 0x10
jmp 0x48bb2a
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x48baf7
push 0
push esi
push 0
push 0x4d
push edi
call fcn.00470460
add esp, 0x14
jmp 0x48bb2a
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x48bb45
mov eax, dword [ebp - 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret