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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10100008]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], eax
test esi, esi
je 0x1003b115
mov eax, 0x65
test edx, edx
je 0x10039e8a
movzx eax, byte [edx]
mov dword [esp + 0x2c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x10039ea3.21
movzx eax, byte [eax + 0x1003b4e0]
jmp dword [eax*4 + 0x1003b47c]
movsx eax, word [edx + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x10039edb
mov edx, dword [ecx + 0x10]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x10039f52
mov eax, dword [eax + 8]
mov edi, dword [esi + 0x20]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x54], edi
jg 0x10039f09
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b462
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x2f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov esi, dword [edx + 0x1c]
test esi, esi
jns 0x10039f82
mov eax, dword [edi + 0x5c]
test eax, eax
jle 0x10039f7f
movsx edx, word [edx + 0x20]
add edx, eax
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x60]
movzx eax, byte [edx + 0x26]
push eax
movsx eax, word [edx + 0x20]
mov edx, dword [edx + 0x2c]
push ecx
push esi
push eax
mov ecx, edi
call fcn.10039a50
add esp, 0x10
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, edi
call fcn.10039530
add esp, 8
jmp 0x1003b462
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, esi
call fcn.10039430
add esp, 8
jmp 0x1003b462
mov eax, dword [edx + 8]
mov edi, dword [esi + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x10039ffc
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x10039ffc
mov edi, 1
jmp 0x1003a02f
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x61
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 0
push dword [esp + 0x10]
mov edx, edi
mov ecx, esi
call fcn.10022ea0
add esp, 8
jmp 0x1003b462
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003a060
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b462
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x1c
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
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
add edx, 2
mov eax, edx
jne 0x1003a0b7
xor eax, eax
jmp 0x1003a0cd
cmp byte [edx], 0
je 0x1003a0c6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x1003a0c0
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esi]
dec eax
push eax
mov dword [esp + 0x10], eax
call fcn.10008c70
mov ecx, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], edi
jg 0x1003a0fe
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x1003a0fe
mov edi, 1
jmp 0x1003a134
mov ecx, dword [esi + 4]
lea edx, [edi + edi*4]
inc dword [esi + 0x20]
mov eax, dword [esp + 0xc]
mov word [ecx + edx*4], 0x1e
lea ecx, [ecx + edx*4]
cdq
sub eax, edx
mov byte [ecx + 3], 0
sar eax, 1
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.10022ea0
add esp, 8
jmp 0x1003b462
movsx eax, word [edx + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a171
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a1a4
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x1003b462
movsx ecx, word [ecx + 0x20]
or edx, 0xffffffff
mov eax, dword [edi + 0x1d8]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10022ea0
add esp, 8
jmp 0x1003b462
mov edx, dword [edx + 0x1c]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.10039e30
add esp, 4
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.10039e30
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 8]
je 0x1003a28b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a24e
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a284
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.10043210
mov ecx, dword [esi + 0x20]
movsx eax, al
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a2be
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a2f1
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, edi
push 1
call fcn.10039850
add esp, 4
jmp 0x1003b462
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b570
mov ecx, dword [esp + 0x38]
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b570
mov ecx, dword [esp + 0x30]
add esp, 4
push 0x20
push dword [ebp + 8]
push eax
push esi
push ecx
mov eax, dword [esp + 0x48]
mov ecx, edi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.10035cc0
add esp, 0x18
jmp 0x1003af60
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b570
mov ecx, dword [esp + 0x38]
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b570
add esp, 4
push 0xa0
push dword [ebp + 8]
push eax
xor eax, eax
cmp dword [esp + 0x38], 0x49
push esi
sete al
add eax, 0x4e
push eax
jmp 0x1003a33c
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b570
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b570
mov ecx, dword [esi + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp dword [ecx + 0x54], eax
jg 0x1003a3eb
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003af60
mov eax, dword [esp + 0xc]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
jmp 0x1003af63
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x1003a443
push ecx
push 1
mov ecx, edi
call fcn.10039530
add esp, 8
jmp 0x1003af60
cmp al, 0x85
jne 0x1003a45c
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, esi
call fcn.10039430
add esp, 8
jmp 0x1003af60
lea eax, [esp + 0x24]
mov byte [esp + 0x70], 0x84
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, edi
mov dword [esp + 0x7c], 0
call fcn.1003b570
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov ecx, edi
push eax
call fcn.1003b570
mov ecx, dword [esi + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp dword [ecx + 0x54], eax
jg 0x1003a4c4
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003af60
mov eax, dword [esp + 0xc]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x5a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edx
jmp 0x1003af63
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b570
mov ecx, dword [esi + 0x18]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp dword [ecx + 0x54], eax
jg 0x1003a536
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003af60
mov eax, dword [esp + 0xc]
inc dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax + 1], 0
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
jmp 0x1003af63
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a596
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a5cc
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
call fcn.1003b570
mov ecx, dword [esi + 0x18]
add esp, 4
mov edx, dword [esi + 0x20]
mov dword [esp + 0xc], eax
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [ecx + 0x54], edx
jg 0x1003a613
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x1003a60c
mov dword [esp + 0x10], 1
jmp 0x1003a64d
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], 0
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov byte [eax + 1], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a670
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a6a6
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [edx + 1]
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x19
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
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x10]
cmp edx, eax
jbe 0x1003a6be
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
lea ecx, [edx - 1]
mov dword [eax + 0x58], ecx
jmp 0x1003af60
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x1003a6e9
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.10007b80
add esp, 0xc
jmp 0x1003b462
movsx ecx, word [edx + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 8]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x28], al
je 0x1003a753
mov dword [esp + 0x2c], 0
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
test edx, edx
jne 0x1003a762
jmp 0x1003a774
mov eax, dword [edx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1003a73e
mov ecx, dword [eax]
jmp 0x1003a740
cmp byte [edx], 0
je 0x1003a76d
inc eax
cmp byte [eax], 0
jne 0x1003a767
sub eax, edx
and eax, 0x3fffffff
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x48]
push eax
call fcn.10049400
mov edx, eax
add esp, 0x10
mov dword [esp + 0x20], edx
test edx, edx
je 0x1003abc9
cmp dword [edx + 0xc], 0
je 0x1003abc9
movzx eax, word [edx + 2]
test eax, 0x200
je 0x1003a899
mov ecx, esi
call fcn.10022980
mov edx, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov dword [esp + 0x20], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.1003b760
mov ecx, dword [esp + 0x28]
add esp, 4
cmp ecx, 1
jle 0x1003a88d
dec ecx
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], ecx
nop
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a813
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003a849
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x38]
lea eax, [edx + 1]
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x4d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 8]
mov ecx, edi
push 1
call fcn.10039850
mov eax, dword [esp + 0x30]
add esp, 4
inc dword [edi + 0x64]
mov ecx, edi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
push dword [ebp + 8]
mov edx, dword [edx + eax]
call fcn.1003b760
add esp, 4
mov ecx, edi
call fcn.100398b0
add dword [esp + 0x10], 0x18
sub dword [esp + 0xc], 1
jne 0x1003a7f0
or ecx, 0xffffffff
sub ecx, dword [esp + 0x1c]
jmp 0x1003b449
test eax, 0x400
je 0x1003a8bb
mov eax, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.1003b760
add esp, 4
jmp 0x1003b462
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x1003a988
mov esi, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x28], edx
cmp eax, 0x20
jae 0x1003a936
mov edx, dword [esi + 4]
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov edx, dword [edx + eax]
mov dword [esp + 0x40], 0x10037790
mov dword [esp + 0x44], 0x10037890
call fcn.100335e0
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
je 0x1003a932
mov ecx, dword [esp + 0x1c]
bts ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test byte [esi + 2], 0x20
mov esi, dword [esp + 0x2c]
je 0x1003a96c
cmp dword [esp + 0x38], 0
jne 0x1003a96c
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esp + 0x28]
mov edx, dword [edx + eax]
call fcn.10035ae0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
inc eax
add edx, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
cmp eax, ecx
jl 0x1003a8d7
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003aa23
cmp dword [esp + 0x1c], 0
je 0x1003a9b0
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xc]
mov dword [edi + 0x48], eax
jmp 0x1003a9dd
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
cmp ecx, dword [edi + 0x38]
jg 0x1003a9c6
add eax, ecx
sub dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jmp 0x1003a9d9
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xc]
mov dword [edi + 0x48], eax
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 2]
test cl, 0xc0
je 0x1003a9ff
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov al, byte [edx]
cmp al, 0x9a
je 0x1003a9f9
cmp al, 0x9c
jne 0x1003a9ff
and cl, 0xc0
mov byte [edx + 0x26], cl
mov edx, dword [esp + 0x2c]
mov ecx, edi
inc dword [edi + 0x64]
push 3
push dword [esp + 0x2c]
call fcn.1003b840
add esp, 8
mov ecx, edi
call fcn.100398b0
mov eax, dword [esp + 0x2c]
jmp 0x1003aa2b
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x24]
cmp edx, 2
jl 0x1003aa5b
mov ecx, dword [esp + 0x34]
test byte [ecx + 4], 0x80
je 0x1003aa5b
mov eax, dword [eax + 4]
push dword [eax + 0x18]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
call fcn.1006f790
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x1003aa6a
test edx, edx
jle 0x1003aa66
mov eax, dword [eax + 4]
push dword [eax]
jmp 0x1003aa44
mov eax, dword [esp + 0x20]
test byte [eax + 2], 0x20
je 0x1003aaf7
cmp dword [esp + 0x38], 0
jne 0x1003aa86
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0xc], edx
cmp dword [eax + 0x54], edx
jg 0x1003aab0
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x1003aaa9
mov edx, 1
jmp 0x1003aae7
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x24
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffc
push dword [esp + 0x3c]
mov ecx, esi
call fcn.10022ea0
add esp, 8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003ab1c
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x1003ab18
mov edx, 1
jmp 0x1003ab53
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 8]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0xc]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffffb
push dword [esp + 0x24]
mov ecx, esi
call fcn.10022ea0
mov edx, dword [esi + 4]
add esp, 8
mov ecx, dword [esp + 0x24]
test edx, edx
je 0x1003ab78
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
test ecx, ecx
je 0x1003b462
cmp dword [esp + 0x1c], 0
jne 0x1003b462
mov esi, dword [esp + 0x28]
mov edx, esi
push ecx
mov ecx, edi
call fcn.10039850
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x18]
cmp eax, dword [edi + 0x38]
jle 0x1003b466
mov dword [edi + 0x38], eax
mov eax, edx
mov dword [edi + 0x3c], esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push dword [esp + 0x14]
push str.unknown_function:__.s__
push edi
call fcn.10007b80
add esp, 0x10
jmp 0x1003b462
push 0
push 0
mov ecx, edi
call fcn.100382c0
add esp, 8
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10022980
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.10022980
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0x30], edx
cmp dword [ecx + 0x54], edx
jg 0x1003ac41
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003ac75
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1c
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 dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x10]
call fcn.10038b60
mov eax, dword [esi + 0x18]
add esp, 8
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003aca6
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003acde
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1003ace1
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
js 0x1003acfe
mov edx, dword [eax + 0x70]
test edx, edx
je 0x1003acfe
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003ad2c
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003ad5f
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x10]
js 0x1003ad78
mov edx, dword [edi + 0x70]
test edx, edx
je 0x1003ad78
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edi + 0x58], eax
jmp 0x1003b462
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0xc]
mov edx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
call fcn.1003b570
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, edi
lea eax, [esp + 0x20]
push eax
call fcn.1003b570
mov dl, byte [edi + 0x13]
add esp, 4
mov dword [esp + 0x30], eax
test dl, dl
jne 0x1003ade0
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xc], ecx
jmp 0x1003ae07
sub dl, 1
movzx eax, dl
mov byte [edi + 0x13], dl
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [esp + 0xc], ecx
jne 0x1003adfb
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
jmp 0x1003ae07
dec dl
movzx eax, dl
mov byte [edi + 0x13], dl
mov eax, dword [edi + eax*4 + 0x18]
mov edx, dword [esp + 0x3c]
push 0x20
push ecx
push dword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x1c], eax
push dword [esp + 0x44]
push 0x53
push dword [esp + 0x30]
call fcn.10035cc0
mov eax, dword [esp + 0x40]
add esp, 0x18
mov edx, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1003ae70
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003ae70
xor ecx, ecx
lea eax, [edi + 0x74]
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x1003ae6c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003ae50
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003ae70
mov byte [eax + 6], 1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.1003b570
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, edi
push 0x20
push dword [esp + 0x14]
push eax
push dword [esp + 0x44]
push 0x51
push dword [esp + 0x30]
call fcn.10035cc0
mov eax, dword [esi + 0x18]
add esp, 0x18
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003aec0
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003aef5
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x48
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1003aef9
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1003af31
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003af31
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x1003af2d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003af11
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003af31
mov byte [eax + 6], 1
test esi, esi
je 0x1003af60
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1003af60
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], esi
je 0x1003af5c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003af42
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003af60
mov byte [eax + 6], 1
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x24], 0
je 0x1003afa4
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003afa4
xor edx, edx
lea eax, [edi + 0x74]
nop word [eax + eax]
mov esi, dword [esp + 0x24]
cmp dword [eax + 0xc], esi
je 0x1003afa0
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003af80
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003afa4
mov byte [eax + 6], 1
cmp dword [esp + 0x20], 0
mov edx, ecx
je 0x1003b466
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003b466
xor edx, edx
lea eax, [edi + 0x74]
mov esi, dword [esp + 0x20]
cmp dword [eax + 0xc], esi
je 0x1003affb
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003afc5
movzx eax, byte [esp + 0x17]
mov edx, ecx
mov dword [edi + eax*4 + 0x18], esi
mov eax, edx
inc byte [edi + 0x13]
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov edx, ecx
mov byte [eax + 6], 1
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x2c]
mov edi, dword [esi + 0x20]
mov dword [esp + 0xc], eax
movsx ecx, word [eax + 0x26]
movsx eax, word [edx + 0x20]
inc ecx
imul ecx, dword [edx + 0x1c]
inc eax
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x1003b048
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b07d
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x30]
mov edi, dword [ebp + 8]
mov word [eax + ecx*4], 0x84
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1003b080
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x1003b462
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x1003b462
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003b0c9
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b462
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1003b462
cmp dword [edi + 0x19c], 0
jne 0x1003b12b
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.10007b80
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 2
jne 0x1003b146
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edx + 1]
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], ecx
cmp al, 4
jne 0x1003b1b9
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003b16e
mov ecx, esi
call fcn.10022850
test eax, eax
je 0x1003b16e
mov edi, 1
jmp 0x1003b1a2
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 4
mov byte [eax + ecx*4 + 3], 0
mov word [eax + ecx*4], 0x18
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x14]
mov edx, edi
mov ecx, esi
call fcn.10022ea0
add esp, 8
jmp 0x1003b462
movsx eax, al
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.10061fd0
cmp dword [esp + 0xc], 2
mov esi, eax
jne 0x1003b1df
mov ecx, dword [edi + 0x198]
test ecx, ecx
cmovne edi, ecx
mov byte [edi + 0x15], 1
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003b1f9
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b167
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], 0x713
mov dword [eax + ecx*4 + 8], edx
jmp 0x1003b187
xor eax, eax
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x2c], eax
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
call fcn.10022980
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1003b2b2
movups xmm0, xmmword [edx]
lea eax, [esp + 0x24]
mov ecx, edi
push eax
movups xmmword [esp + 0x74], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [esp + 0x84], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [esp + 0x94], xmm0
call fcn.1003b570
mov cl, byte [esp + 0x74]
add esp, 4
and dword [esp + 0x74], 0xffffefff
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x96], cl
mov byte [esp + 0x70], 0x9f
mov byte [esp + 0x40], 0x4f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
dec eax
test eax, eax
jle 0x1003b3c2
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
nop dword [eax + eax]
inc dword [edi + 0x64]
test edx, edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
cmovne eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.10022980
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0x10
push eax
mov dword [esp + 0x14], eax
call fcn.1003c010
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.1003b760
mov eax, dword [esi + 0x18]
add esp, 0xc
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x30], edx
cmp dword [eax + 0x54], edx
jg 0x1003b33d
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b374
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x10
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
mov ecx, edi
call fcn.100398b0
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x18]
neg eax
test eax, eax
jle 0x1003b3a1
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x1003b3a1
mov eax, dword [esp + 0xc]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
add eax, 0x30
sub dword [esp + 0x38], 1
mov dword [esp + 0x1c], eax
jne 0x1003b2d0
mov eax, dword [esp + 0x28]
test al, 1
je 0x1003b3f1
mov edx, dword [esp + 0x2c]
lea eax, [eax + eax*2]
inc dword [edi + 0x64]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.1003b760
add esp, 4
mov ecx, edi
call fcn.100398b0
jmp 0x1003b442
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003b40c
mov ecx, esi
call fcn.10022850
test eax, eax
jne 0x1003b442
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1c
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
or ecx, 0xffffffff
sub ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x18]
js 0x1003b45b
mov edi, dword [edx + 0x70]
test edi, edi
je 0x1003b45b
mov eax, dword [esi + 0x20]
mov dword [edi + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xac]
mov eax, edx
pop edi
pop esi
xor ecx, esp
call fcn.100be769
mov esp, ebp
pop ebp
ret