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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov ecx, dword [ebx + 8]
mov edi, edx
mov edx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
test ecx, ecx
jne 0x4895fe
xor eax, eax
jmp 0x48a1d2
test edi, edi
je 0x48a17d
movzx eax, byte [edi]
mov dword [esp + 0x30], eax
cmp eax, 0x56
ja 0x489a06
je case.0x489955.82
cmp eax, 0x49
ja 0x489942
je case.0x489955.74
cmp eax, 0x3c
ja 0x4897b0
je 0x489754
sub eax, 0x13
je 0x489a6b
sub eax, 1
je 0x489ad8
sub eax, 4
je case.0x489b68.157
sub eax, 0xd
je 0x4896d3
sub eax, 0x13
jne case.0x489b68.134
cmp dword [ebx + 0x1b4], esi
jne 0x48967d
push str.RAISE___may_only_be_used_within_a_trigger_program
push ebx
call fcn.0046819d
pop ecx
pop ecx
jmp 0x4895f7
mov al, byte [edi + 1]
cmp al, 2
jne 0x48969c
mov eax, dword [ebx + 0x1b0]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov al, byte [edi + 1]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 4]
push esi
cmp al, 4
jne 0x4896c6
push 4
push esi
push 6
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, eax
push esi
push edi
mov ecx, dword [esp + 0x18]
call fcn.0047b19d
pop ecx
pop ecx
jmp 0x48a18b
push edi
movsx edx, al
mov ecx, ebx
call fcn.004909a5
jmp 0x4896bf
push edx
mov edx, dword [edi + 8]
mov ecx, ebx
call fcn.004895be
pop ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
call fcn.0048e109
mov edi, dword [esp + 0x10]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 8]
je 0x48971b
push esi
push dword [ebp + 8]
mov ecx, edi
push eax
push 0xf
pop edx
call fcn.0047ac6a
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x1c]
mov ecx, edi
push esi
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.0047ac6a
add esp, 0xc
mov edx, esi
mov ecx, ebx
push 1
call fcn.0048938f
pop ecx
jmp 0x48a18f
push edx
mov edx, dword [edi + 8]
mov ecx, ebx
call fcn.004895be
pop ecx
mov esi, eax
jmp 0x48a18f
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
push esi
push edx
mov ecx, dword [eax + 8]
movsx eax, word [edi + 0x1c]
inc ecx
imul ecx, dword [edi + 0x18]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
push 0x74
pop edx
call fcn.0047ac6a
movzx eax, word [edi + 0x1c]
add esp, 0xc
test ax, ax
js 0x48a18b
cwde
imul ecx, eax, 0x18
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
cmp byte [ecx + eax + 0x16], 0x65
jne 0x48a18b
push esi
push esi
push dword [ebp + 8]
push 0x16
pop edx
mov ecx, dword [esp + 0x1c]
jmp 0x48a183
sub eax, 0x44
je case.0x489955.82
sub eax, 1
je case.0x489955.82
sub eax, 1
je case.0x489b68.146
sub eax, 1
je 0x489855
sub eax, 1
jne case.0x489b68.134
call fcn.0047ad8e
mov ecx, dword [esp + 0x10]
mov esi, eax
call fcn.0047ad8e
mov ecx, dword [esp + 0x10]
mov edi, eax
xor eax, eax
push eax
push dword [ebp + 8]
push eax
push 0xa
pop edx
call fcn.0047ac6a
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, ebx
push edi
push esi
call fcn.00488f3c
mov ecx, dword [esp + 0x18]
push 0
push dword [ebp + 8]
push 1
push 7
pop edx
call fcn.0047ac6a
add esp, 0x14
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0047adca
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push 0x14
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.0047adca
jmp 0x48a18b
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
mov edx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, ebx
mov edi, dword [eax + 8]
lea eax, [esp + 0x34]
push eax
mov esi, dword [edi]
call fcn.0048a238
mov dword [esp + 0x20], eax
mov edx, esi
pop ecx
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0048a238
pop ecx
mov ecx, ebx
mov edx, eax
call fcn.0048afe7
mov dword [esp + 0x28], eax
call fcn.0048afe7
push 0x10
push dword [esp + 0x2c]
mov dword [esp + 0x20], eax
push edx
push dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push 0x50
push esi
call fcn.00487712
mov esi, dword [esp + 0x50]
add esp, 0x18
mov edi, dword [edi + 0x14]
test esi, esi
je 0x4898ec
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x4898ec
xor ecx, ecx
lea eax, [ebx + 0x64]
cmp dword [eax + 0x10], esi
je 0x4898e8
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4898ce
movzx eax, dl
mov dword [ebx + eax*4 + 0x1c], esi
inc byte [ebx + 0x13]
jmp 0x4898ec
mov byte [eax + 8], 1
lea eax, [esp + 0x38]
mov edx, edi
push eax
mov ecx, ebx
call fcn.0048a238
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
pop ecx
push 0x10
push esi
push eax
push dword [esp + 0x28]
mov ecx, ebx
push 0x4e
push edi
call fcn.00487712
push dword [ebp + 8]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
push esi
push edi
push 0x45
pop edx
call fcn.0047ac6a
add esp, 0x24
mov edx, edi
mov ecx, ebx
call fcn.0048b003
mov edx, esi
call fcn.0048b003
jmp 0x48a18b
add eax, 0xffffffb6
cmp eax, 0xb
ja case.0x489b68.134
movzx eax, byte [eax + 0x48a1ea]
jmp dword [eax*4 + 0x48a1da]
mov edx, dword [edi + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.0048a238
mov edx, dword [edi + 0xc]
mov esi, eax
pop ecx
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0048a238
pop ecx
push 0x10
push dword [ebp + 8]
push eax
push esi
push dword [esp + 0x40]
push dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ecx, ebx
call fcn.00487712
add esp, 0x18
jmp 0x48a18b
push esi
push edx
push 1
push 7
pop edx
call fcn.0047ac6a
mov edx, dword [edi + 8]
lea eax, [esp + 0x40]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0048a238
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
pop ecx
push esi
push esi
push eax
mov ecx, edi
call fcn.0047ac6a
add esp, 0xc
mov dword [esp + 0x1c], eax
mov ecx, edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push 0x14
pop edx
call fcn.0047ac6a
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
js 0x48a18b
push dword [edi + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.0047afd0
jmp 0x4896c0
cmp eax, 0x83
ja 0x489b53
je 0x489b14
cmp eax, 0x5d
ja 0x489a98
je 0x489a6b
sub eax, 0x57
je case.0x489955.82
sub eax, 1
je case.0x489955.82
sub eax, 1
je case.0x489955.82
sub eax, 1
je case.0x489955.82
sub eax, 1
jne case.0x489b68.134
mov edx, dword [edi + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.0048a238
mov edx, dword [edi + 0xc]
mov esi, eax
pop ecx
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0048a238
mov edx, dword [esp + 0x34]
pop ecx
push dword [ebp + 8]
push esi
push eax
jmp 0x4897a7
mov edx, dword [edi + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.0048a238
mov edx, dword [esp + 0x34]
pop ecx
push esi
push dword [ebp + 8]
push eax
mov ecx, dword [esp + 0x1c]
call fcn.0047ac6a
add esp, 0xc
mov esi, dword [ebp + 8]
jmp 0x48a18f
sub eax, 0x5e
je 0x489ae9
sub eax, 4
je 0x48a17d
sub eax, 0x12
je 0x489ad8
sub eax, 0xd
je 0x489ac8
sub eax, 1
jne case.0x489b68.134
push edx
mov edx, dword [edi + 4]
push esi
call fcn.00489170
jmp 0x4896bf
push edx
push esi
mov edx, edi
mov ecx, ebx
call fcn.004891f5
jmp 0x4896bf
push esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.00488b5b
pop ecx
jmp 0x48974c
mov esi, dword [edi + 4]
xor edi, edi
push edi
push edx
push edi
push 0x5e
pop edx
call fcn.0047ac6a
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, eax
push edi
push esi
call fcn.0047b19d
pop ecx
pop ecx
mov esi, dword [esp + 0x14]
jmp 0x48a191
mov ecx, dword [edi + 4]
add ecx, 2
call fcn.0046811b
mov edx, ecx
lea esi, [eax - 1]
mov eax, dword [esp + 0x10]
push esi
mov ecx, dword [eax]
call fcn.00468d05
pop ecx
mov ecx, dword [esp + 0x10]
xor edi, edi
push 0xffffffffffffffff
push eax
push edi
push dword [ebp + 8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push 0xb
pop edx
call fcn.0047acf0
add esp, 0x14
jmp 0x489b0b
add eax, 0xffffff7c
cmp eax, 0x19
ja case.0x489b68.134
movzx eax, byte [eax + 0x48a21e]
jmp dword [eax*4 + 0x48a1f6]
movsx eax, word [edi + 0x1e]
mov esi, dword [edi + 0x24]
imul eax, eax, 0x18
add eax, dword [esi + 0x14]
cmp byte [esi], 0
jne 0x489b89
mov esi, dword [eax + 0x10]
jmp 0x48a18f
cmp byte [esi + 1], 0
je case.0x489b68.152
push edx
push dword [eax + 0xc]
push dword [esi + 8]
push 0x1d
jmp 0x48a182
cmp dword [edi + 0x18], 0
jge 0x489baf
movsx esi, word [edi + 0x1c]
add esi, dword [ebx + 0x58]
jmp 0x48a18f
movzx eax, byte [edi + 0x23]
mov ecx, ebx
push eax
movsx eax, word [edi + 0x1c]
push edx
push dword [edi + 0x18]
mov edx, dword [edi + 0x28]
push eax
call fcn.0048947f
add esp, 0x10
jmp 0x48974d
movsx eax, word [edi + 0x1c]
push esi
push edx
push eax
push 0xc
pop edx
call fcn.0047ac6a
mov eax, dword [edi + 4]
add esp, 0xc
cmp byte [eax + 1], 0
je 0x48a18b
movsx ecx, word [edi + 0x1c]
or edx, 0xffffffff
mov eax, dword [ebx + 0x1ec]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
jmp 0x4896b6
mov esi, dword [edi + 0x18]
jmp 0x48a18f
mov edx, dword [edi + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.0048a238
mov edx, dword [edi + 0xc]
mov esi, eax
pop ecx
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0048a238
pop ecx
push 0x90
push dword [ebp + 8]
push eax
xor eax, eax
cmp dword [esp + 0x3c], 0x46
push esi
sete al
add eax, 0x4b
push eax
jmp 0x489989
mov eax, dword [edi + 8]
mov cl, byte [eax]
mov byte [esp + 0x27], cl
cmp cl, 0x81
mov ecx, dword [esp + 0x10]
jne 0x489c6d
push edx
push 1
mov edx, eax
mov ecx, ebx
call fcn.004891f5
jmp 0x489c7f
cmp byte [esp + 0x27], 0x82
jne 0x489c86
push edx
mov edx, dword [eax + 4]
push 1
call fcn.00489170
pop ecx
pop ecx
jmp 0x489a90
mov ecx, ebx
call fcn.0048afe7
mov ecx, dword [esp + 0x10]
mov esi, eax
xor eax, eax
mov dword [esp + 0x34], esi
push eax
push esi
push eax
push 7
pop edx
call fcn.0047ac6a
mov edx, dword [edi + 8]
lea eax, [esp + 0x44]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0048a238
pop ecx
push dword [ebp + 8]
push esi
push eax
push 0x57
pop edx
jmp 0x489a84
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x489cde
push dword [edi + 4]
push str.misuse_of_aggregate:__s__
push ebx
call fcn.0046819d
jmp 0x48a188
movsx ecx, word [edi + 0x1e]
mov eax, dword [eax + 0x20]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 8]
jmp 0x48a18f
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x2c], al
mov eax, 0x4000
test word [edi + 2], ax
je 0x489d68
mov dword [esp + 0x20], esi
mov edx, esi
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
call fcn.0046811b
push esi
push dword [esp + 0x30]
mov dword [esp + 0x20], eax
push edx
mov edx, ecx
mov ecx, dword [esp + 0x50]
push eax
call fcn.00490fd5
mov edx, eax
add esp, 0x10
mov dword [esp + 0x40], edx
test edx, edx
jne 0x489d77
push dword [esp + 0x28]
push dword [esp + 0x1c]
push str.unknown_function:__.s__
push ebx
call fcn.0046819d
add esp, 0x10
jmp 0x48a18b
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x489d18
mov edx, dword [eax]
jmp 0x489d1a
test byte [edx + 3], 0x20
je 0x489e16
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.0047ad8e
mov edx, dword [esp + 0x20]
mov ecx, ebx
push dword [ebp + 8]
mov dword [esp + 0x30], eax
mov edx, dword [edx + 8]
mov edx, dword [edx]
call fcn.0048a26b
mov eax, dword [esp + 0x34]
pop ecx
cmp eax, 1
jle 0x489e0b
dec eax
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x30]
mov ecx, edi
push dword [ebp + 8]
push 0x4a
pop edx
call fcn.0047ac6a
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, ebx
push 1
call fcn.0048938f
mov eax, dword [esp + 0x24]
inc dword [ebx + 0x5c]
pop ecx
push dword [ebp + 8]
mov edx, dword [eax + 8]
mov ecx, ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edx]
call fcn.0048a26b
pop ecx
mov ecx, ebx
call fcn.004893d1
add dword [esp + 0x18], 0x14
sub dword [esp + 0x1c], 1
jne 0x489dba
mov edx, dword [esp + 0x2c]
mov ecx, edi
jmp 0x48984b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x489e7d
mov edx, dword [esp + 0x30]
mov ecx, ebx
call fcn.0048b037
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov al, byte [eax + 3]
mov byte [esp + 0x27], al
test al, 0xc0
mov eax, dword [esp + 0x20]
je 0x489e58
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov cl, byte [edx]
cmp cl, 0x98
je 0x489e51
cmp cl, 0x9a
jne 0x489e58
mov cl, byte [esp + 0x27]
mov byte [edx + 0x23], cl
inc dword [ebx + 0x5c]
mov edx, eax
push 1
push dword [esp + 0x30]
mov ecx, ebx
call fcn.0048a427
pop ecx
pop ecx
mov ecx, ebx
call fcn.004893d1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
jmp 0x489e81
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
cmp eax, 2
jl 0x489e9c
test byte [edi + 2], 0x80
je 0x489ea4
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
jmp 0x489ead
test eax, eax
jle 0x489f38
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov edi, dword [esp + 0x44]
mov ecx, edi
push eax
push dword [esp + 0x2c]
call fcn.004a27c8
pop ecx
pop ecx
mov ecx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
mov eax, esi
mov dword [esp + 0x28], esi
mov edi, dword [esp + 0x20]
cmp eax, 0x20
jge 0x489efd
mov eax, dword [edi + 8]
xor edx, edx
inc edx
mov ecx, dword [ecx + eax]
call fcn.0048867c
test eax, eax
je 0x489ef9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
bts ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
test byte [eax + 3], 8
je 0x489f22
cmp dword [esp + 0x3c], esi
jne 0x489f22
mov edx, dword [edi + 8]
mov edx, dword [edx + ecx]
mov ecx, ebx
call fcn.00487590
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
add ecx, 0x14
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jl 0x489ecf
mov edi, dword [esp + 0x40]
test byte [edi + 3], 8
je 0x489f7a
cmp dword [esp + 0x3c], esi
jne 0x489f53
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
push esi
push esi
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
push 0x11
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffffc
push dword [esp + 0x40]
call fcn.0047b19d
pop ecx
pop ecx
jmp 0x489f7e
mov esi, dword [esp + 0x10]
push 0xfffffffffffffffb
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x38]
mov ecx, esi
push edi
push dword [esp + 0x2c]
push 0x12
pop edx
call fcn.0047acf0
mov dl, byte [esp + 0x44]
add esp, 0x14
mov ecx, esi
call fcn.0047affe
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48a18b
push eax
mov edx, edi
mov ecx, ebx
call fcn.0048b062
jmp 0x4896c0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], esi
call fcn.0047ad8e
mov edx, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x48a031
push 0xc
pop ecx
mov esi, edx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.0048a238
mov edx, dword [esp + 0x1c]
xor edi, edi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x7c]
pop ecx
mov byte [esp + 0x48], 0x84
mov byte [esp + 0x78], 0x4c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
jmp 0x48a033
xor edi, edi
test esi, esi
jle 0x48a132
lea eax, [esi - 1]
shr eax, 1
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test edx, edx
je 0x48a0c5
mov esi, dword [esp + 0x10]
inc dword [ebx + 0x5c]
mov ecx, esi
mov eax, dword [eax]
mov dword [esp + 0x84], eax
call fcn.0047ad8e
mov edx, dword [esp + 0x2c]
mov esi, eax
push 8
push esi
mov ecx, ebx
call fcn.0048a80f
mov edx, dword [esp + 0x28]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edx + 0x14]
call fcn.0048a26b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
xor edx, edx
inc edx
push edi
push dword [esp + 0x20]
push edi
call fcn.0047ac6a
add esp, 0xc
mov ecx, ebx
call fcn.004893d1
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0047adca
mov eax, dword [esp + 0x20]
add eax, 0x28
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
jne 0x48a051
jmp 0x48a136
inc dword [ebx + 0x5c]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax]
call fcn.0047ad8e
mov edi, eax
mov edx, esi
push 8
push edi
mov ecx, ebx
call fcn.0048a80f
mov edx, dword [esp + 0x28]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edx + 0x14]
call fcn.0048a26b
mov esi, dword [esp + 0x1c]
add esp, 0xc
xor eax, eax
xor edx, edx
inc edx
mov ecx, esi
push eax
push dword [esp + 0x20]
push eax
call fcn.0047ac6a
add esp, 0xc
mov ecx, ebx
call fcn.004893d1
mov edx, edi
mov ecx, esi
call fcn.0047adca
mov eax, dword [esp + 0x20]
add eax, 0x28
sub dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
jne 0x48a0c5
jmp 0x48a136
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
xor edi, edi
cmp dword [edx + 0xc], edi
je 0x48a15b
inc dword [ebx + 0x5c]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [edx + 0xc]
call fcn.0048a26b
pop ecx
mov ecx, ebx
call fcn.004893d1
jmp 0x48a16d
push edi
push dword [ebp + 8]
mov ecx, esi
push edi
push 0xa
pop edx
call fcn.0047ac6a
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.0047adca
jmp 0x489b0b
push esi
push edx
push esi
push 0xa
pop edx
call fcn.0047ac6a
add esp, 0xc
mov esi, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.0048b003
cmp dword [esp + 0x38], 0
je 0x48a1d0
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x48a1d0
lea eax, [ebx + 0x64]
mov edx, dword [esp + 0x38]
cmp dword [eax + 0x10], edx
je 0x48a1cc
inc edi
add eax, 0x18
cmp edi, 0xa
jl 0x48a1ae
movzx eax, cl
mov dword [ebx + eax*4 + 0x1c], edx
inc byte [ebx + 0x13]
jmp 0x48a1d0
mov byte [eax + 8], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret