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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x100fc008]
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 0x1003af95
mov eax, 0x65
test edx, edx
je 0x10039d0a
movzx eax, byte [edx]
mov dword [esp + 0x2c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x10039d23.21
movzx eax, byte [eax + 0x1003b360]
jmp dword [eax*4 + 0x1003b2fc]
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 0x10039d5b
mov edx, dword [ecx + 0x10]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x10039dd2
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 0x10039d89
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003b2e2
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.100baa39
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov esi, dword [edx + 0x1c]
test esi, esi
jns 0x10039e02
mov eax, dword [edi + 0x5c]
test eax, eax
jle 0x10039dff
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.100baa39
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.100398d0
add esp, 0x10
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, edi
call fcn.100393b0
add esp, 8
jmp 0x1003b2e2
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, esi
call fcn.100392b0
add esp, 8
jmp 0x1003b2e2
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 0x10039e7c
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x10039e7c
mov edi, 1
jmp 0x10039eaf
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.10022d20
add esp, 8
jmp 0x1003b2e2
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x10039ee0
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003b2e2
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.100baa39
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
add edx, 2
mov eax, edx
jne 0x10039f37
xor eax, eax
jmp 0x10039f4d
cmp byte [edx], 0
je 0x10039f46
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x10039f40
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esi]
dec eax
push eax
mov dword [esp + 0x10], eax
call fcn.10008b00
mov ecx, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], edi
jg 0x10039f7e
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x10039f7e
mov edi, 1
jmp 0x10039fb4
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.10022d20
add esp, 8
jmp 0x1003b2e2
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 0x10039ff1
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a024
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 0x1003b2e2
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.10022d20
add esp, 8
jmp 0x1003b2e2
mov edx, dword [edx + 0x1c]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.10039cb0
add esp, 4
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.10039cb0
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 8]
je 0x1003a10b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a0ce
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a104
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.10043090
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 0x1003a13e
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a171
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.100396d0
add esp, 4
jmp 0x1003b2e2
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b3f0
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.1003b3f0
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.10035b40
add esp, 0x18
jmp 0x1003ade0
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b3f0
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.1003b3f0
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 0x1003a1bc
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b3f0
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.1003b3f0
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 0x1003a26b
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003ade0
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 0x1003ade3
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x1003a2c3
push ecx
push 1
mov ecx, edi
call fcn.100393b0
add esp, 8
jmp 0x1003ade0
cmp al, 0x85
jne 0x1003a2dc
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, esi
call fcn.100392b0
add esp, 8
jmp 0x1003ade0
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.1003b3f0
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.1003b3f0
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 0x1003a344
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003ade0
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 0x1003ade3
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b3f0
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 0x1003a3b6
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003ade0
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 0x1003ade3
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a416
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a44c
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.1003b3f0
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 0x1003a493
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x1003a48c
mov dword [esp + 0x10], 1
jmp 0x1003a4cd
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 0x1003a4f0
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a526
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 0x1003a53e
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 0x1003ade0
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x1003a569
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.10007a10
add esp, 0xc
jmp 0x1003b2e2
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.100baa39
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 0x1003a5d3
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 0x1003a5e2
jmp 0x1003a5f4
mov eax, dword [edx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1003a5be
mov ecx, dword [eax]
jmp 0x1003a5c0
cmp byte [edx], 0
je 0x1003a5ed
inc eax
cmp byte [eax], 0
jne 0x1003a5e7
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.10049280
mov edx, eax
add esp, 0x10
mov dword [esp + 0x20], edx
test edx, edx
je 0x1003aa49
cmp dword [edx + 0xc], 0
je 0x1003aa49
movzx eax, word [edx + 2]
test eax, 0x200
je 0x1003a719
mov ecx, esi
call fcn.10022800
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.1003b5e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp ecx, 1
jle 0x1003a70d
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 0x1003a693
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003a6c9
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.100396d0
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.1003b5e0
add esp, 4
mov ecx, edi
call fcn.10039730
add dword [esp + 0x10], 0x18
sub dword [esp + 0xc], 1
jne 0x1003a670
or ecx, 0xffffffff
sub ecx, dword [esp + 0x1c]
jmp 0x1003b2c9
test eax, 0x400
je 0x1003a73b
mov eax, dword [esp + 0x2c]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.1003b5e0
add esp, 4
jmp 0x1003b2e2
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x1003a808
mov esi, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x28], edx
cmp eax, 0x20
jae 0x1003a7b6
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], 0x10037610
mov dword [esp + 0x44], 0x10037710
call fcn.10033460
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
je 0x1003a7b2
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 0x1003a7ec
cmp dword [esp + 0x38], 0
jne 0x1003a7ec
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esp + 0x28]
mov edx, dword [edx + eax]
call fcn.10035960
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 0x1003a757
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1003a8a3
cmp dword [esp + 0x1c], 0
je 0x1003a830
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 0x1003a85d
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
cmp ecx, dword [edi + 0x38]
jg 0x1003a846
add eax, ecx
sub dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jmp 0x1003a859
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 0x1003a87f
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov al, byte [edx]
cmp al, 0x9a
je 0x1003a879
cmp al, 0x9c
jne 0x1003a87f
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.1003b6c0
add esp, 8
mov ecx, edi
call fcn.10039730
mov eax, dword [esp + 0x2c]
jmp 0x1003a8ab
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x24]
cmp edx, 2
jl 0x1003a8db
mov ecx, dword [esp + 0x34]
test byte [ecx + 4], 0x80
je 0x1003a8db
mov eax, dword [eax + 4]
push dword [eax + 0x18]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
call fcn.1006f620
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x1003a8ea
test edx, edx
jle 0x1003a8e6
mov eax, dword [eax + 4]
push dword [eax]
jmp 0x1003a8c4
mov eax, dword [esp + 0x20]
test byte [eax + 2], 0x20
je 0x1003a977
cmp dword [esp + 0x38], 0
jne 0x1003a906
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 0x1003a930
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x1003a929
mov edx, 1
jmp 0x1003a967
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.10022d20
add esp, 8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a99c
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x1003a998
mov edx, 1
jmp 0x1003a9d3
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.10022d20
mov edx, dword [esi + 4]
add esp, 8
mov ecx, dword [esp + 0x24]
test edx, edx
je 0x1003a9f8
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
test ecx, ecx
je 0x1003b2e2
cmp dword [esp + 0x1c], 0
jne 0x1003b2e2
mov esi, dword [esp + 0x28]
mov edx, esi
push ecx
mov ecx, edi
call fcn.100396d0
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x18]
cmp eax, dword [edi + 0x38]
jle 0x1003b2e6
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.100baa39
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push dword [esp + 0x14]
push str.unknown_function:__.s__
push edi
call fcn.10007a10
add esp, 0x10
jmp 0x1003b2e2
push 0
push 0
mov ecx, edi
call fcn.10038140
add esp, 8
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10022800
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.10022800
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 0x1003aac1
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003aaf5
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.100389e0
mov eax, dword [esi + 0x18]
add esp, 8
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003ab26
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003ab5e
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 0x1003ab61
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
js 0x1003ab7e
mov edx, dword [eax + 0x70]
test edx, edx
je 0x1003ab7e
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 0x1003abac
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003abdf
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 0x1003abf8
mov edx, dword [edi + 0x70]
test edx, edx
je 0x1003abf8
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edi + 0x58], eax
jmp 0x1003b2e2
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.1003b3f0
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, edi
lea eax, [esp + 0x20]
push eax
call fcn.1003b3f0
mov dl, byte [edi + 0x13]
add esp, 4
mov dword [esp + 0x30], eax
test dl, dl
jne 0x1003ac60
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xc], ecx
jmp 0x1003ac87
sub dl, 1
movzx eax, dl
mov byte [edi + 0x13], dl
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [esp + 0xc], ecx
jne 0x1003ac7b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
jmp 0x1003ac87
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.10035b40
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 0x1003acf0
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003acf0
xor ecx, ecx
lea eax, [edi + 0x74]
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x1003acec
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003acd0
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003acf0
mov byte [eax + 6], 1
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.1003b3f0
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.10035b40
mov eax, dword [esi + 0x18]
add esp, 0x18
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003ad40
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003ad75
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 0x1003ad79
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1003adb1
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003adb1
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x1003adad
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003ad91
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003adb1
mov byte [eax + 6], 1
test esi, esi
je 0x1003ade0
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1003ade0
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], esi
je 0x1003addc
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003adc2
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003ade0
mov byte [eax + 6], 1
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x24], 0
je 0x1003ae24
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003ae24
xor edx, edx
lea eax, [edi + 0x74]
nop word [eax + eax]
mov esi, dword [esp + 0x24]
cmp dword [eax + 0xc], esi
je 0x1003ae20
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003ae00
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003ae24
mov byte [eax + 6], 1
cmp dword [esp + 0x20], 0
mov edx, ecx
je 0x1003b2e6
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003b2e6
xor edx, edx
lea eax, [edi + 0x74]
mov esi, dword [esp + 0x20]
cmp dword [eax + 0xc], esi
je 0x1003ae7b
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003ae45
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.100baa39
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.100baa39
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 0x1003aec8
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003aefd
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 0x1003af00
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x1003b2e2
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x1003b2e2
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003af49
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003b2e2
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 0x1003b2e2
cmp dword [edi + 0x19c], 0
jne 0x1003afab
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.10007a10
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100baa39
mov esp, ebp
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 2
jne 0x1003afc6
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 0x1003b039
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003afee
mov ecx, esi
call fcn.100226d0
test eax, eax
je 0x1003afee
mov edi, 1
jmp 0x1003b022
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.10022d20
add esp, 8
jmp 0x1003b2e2
movsx eax, al
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.10061e50
cmp dword [esp + 0xc], 2
mov esi, eax
jne 0x1003b05f
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 0x1003b079
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003afe7
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 0x1003b007
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.10022800
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1003b132
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.1003b3f0
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 0x1003b242
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.10022800
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0x10
push eax
mov dword [esp + 0x14], eax
call fcn.1003be90
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.1003b5e0
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 0x1003b1bd
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003b1f4
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.10039730
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x18]
neg eax
test eax, eax
jle 0x1003b221
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x1003b221
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 0x1003b150
mov eax, dword [esp + 0x28]
test al, 1
je 0x1003b271
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.1003b5e0
add esp, 4
mov ecx, edi
call fcn.10039730
jmp 0x1003b2c2
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003b28c
mov ecx, esi
call fcn.100226d0
test eax, eax
jne 0x1003b2c2
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 0x1003b2db
mov edi, dword [edx + 0x70]
test edi, edi
je 0x1003b2db
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.100baa39
mov esp, ebp
pop ebp
ret