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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10102008]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], eax
test esi, esi
je 0x1003b3b5
test edx, edx
je case.0x1003a192.101
movzx eax, byte [edx]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x1003a192.21
movzx eax, byte [eax + 0x1003b7c8]
jmp dword [eax*4 + 0x1003b764]
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 0x1003a1ca
mov edx, dword [ecx + 0x10]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x1003a241
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 0x1003a1f8
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a3c6
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.100bf4c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov esi, dword [edx + 0x1c]
test esi, esi
jns 0x1003a271
mov eax, dword [edi + 0x5c]
test eax, eax
jle 0x1003a26e
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.100bf4c9
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.10039d40
add esp, 0x10
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, edi
call fcn.10039830
jmp 0x1003a3c3
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, esi
call fcn.10039730
jmp 0x1003a3c3
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 0x1003a2ee
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003a2ee
push 0
push dword [esp + 0x10]
mov edi, 1
jmp 0x1003a3ba
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [ebp + 8]
push 0
push dword [esp + 0x10]
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
jmp 0x1003a3ba
mov edx, dword [edx + 8]
add edx, 2
mov eax, edx
jne 0x1003a33a
xor eax, eax
jmp 0x1003a34d
cmp byte [edx], 0
je 0x1003a346
nop
inc eax
cmp byte [eax], 0
jne 0x1003a340
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esi]
dec eax
push eax
mov dword [esp + 0x10], eax
call fcn.10008c80
mov ecx, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov dword [esp + 0x10], eax
cmp dword [ecx + 0x54], edi
jg 0x1003a37e
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003a37e
mov edi, 1
jmp 0x1003a3b4
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.10022f50
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
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 0x1003a406
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a439
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 + 0x30]
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x1003a3c6
movsx ecx, word [ecx + 0x20]
or edx, 0xffffffff
mov eax, dword [edi + 0x1d8]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
jmp 0x1003a3bc
mov edx, dword [edx + 0x1c]
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.1003a120
add esp, 4
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, edi
call fcn.1003a120
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 8]
je 0x1003a512
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a4d5
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a50b
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 + 0x30]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.100435b0
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 0x1003a545
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a578
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.10039b50
add esp, 4
jmp 0x1003a3c6
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.1003b860
mov ecx, dword [esp + 0x34]
add esp, 4
mov esi, eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b860
mov ecx, dword [esp + 0x20]
add esp, 4
push 0x20
push dword [ebp + 8]
push eax
push esi
push ecx
mov eax, dword [esp + 0x44]
mov ecx, edi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.10035fb0
add esp, 0x18
jmp 0x1003b200
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.1003b860
mov ecx, dword [esp + 0x34]
add esp, 4
mov esi, eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b860
add esp, 4
push 0xa0
push dword [ebp + 8]
push eax
xor eax, eax
cmp dword [esp + 0x28], 0x49
push esi
sete al
add eax, 0x4e
push eax
jmp 0x1003a5c3
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.1003b860
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.1003b860
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 0x1003a672
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b200
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 + 0x1c]
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
jmp 0x1003b203
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x1003a6ca
push ecx
push 1
mov ecx, edi
call fcn.10039830
add esp, 8
jmp 0x1003b200
cmp al, 0x85
jne 0x1003a6e3
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, esi
call fcn.10039730
add esp, 8
jmp 0x1003b200
lea eax, [esp + 0x28]
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.1003b860
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov ecx, edi
push eax
call fcn.1003b860
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 0x1003a74b
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b200
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 + 0x20]
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 0x1003b203
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.1003b860
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 0x1003a7bd
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b200
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 + 0x1c]
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 0x1003b203
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003a81d
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a853
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 + 0x30]
lea eax, [esp + 0x28]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, edi
call fcn.1003b860
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 0x1003a89a
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003a893
mov dword [esp + 0x10], 1
jmp 0x1003a8d4
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 + 0x1c]
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 0x1003a8f7
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a92d
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 0x1003a945
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 0x1003b200
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x1003a970
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push edi
call fcn.10007bc0
add esp, 0xc
jmp 0x1003a3c6
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.100bf4c9
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x1c], al
je 0x1003a9da
mov dword [esp + 0x38], 0
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x1003a9e9
jmp 0x1003a9fd
mov eax, dword [edx + 0x14]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1003a9c5
mov ecx, dword [eax]
jmp 0x1003a9c7
cmp byte [edx], 0
je 0x1003a9f6
nop
inc eax
cmp byte [eax], 0
jne 0x1003a9f0
sub eax, edx
and eax, 0x3fffffff
push 0
push dword [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x48]
push eax
call fcn.10049790
mov edx, eax
add esp, 0x10
mov dword [esp + 0x24], edx
test edx, edx
je 0x1003ae69
cmp dword [edx + 0xc], 0
je 0x1003ae69
movzx eax, word [edx + 2]
test eax, 0x200
je 0x1003ab39
mov ecx, esi
call fcn.10022a30
mov edx, dword [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
mov dword [esp + 0x24], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.1003ba50
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp ecx, 1
jle 0x1003ab14
dec ecx
mov dword [esp + 0x10], 0x18
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, ecx
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003aa9a
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003aad0
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x34]
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 + 0x20]
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.10039b50
mov eax, dword [esp + 0x3c]
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.1003ba50
add esp, 4
mov ecx, edi
call fcn.10039bb0
add dword [esp + 0x10], 0x18
sub dword [esp + 0xc], 1
jne 0x1003aa77
mov edx, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x20]
js 0x1003ab2d
mov edi, dword [edx + 0x70]
test edi, edi
je 0x1003ab2d
mov eax, dword [esi + 0x20]
mov dword [edi + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
jmp 0x1003a3c6
test eax, 0x400
je 0x1003ab5b
mov eax, dword [esp + 0x38]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.1003ba50
add esp, 4
jmp 0x1003a3c6
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x1003ac28
mov esi, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x1c], edx
cmp eax, 0x20
jae 0x1003abd6
mov edx, dword [esi + 4]
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x1c]
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], 0x10037a90
mov dword [esp + 0x44], 0x10037b90
call fcn.10033880
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
je 0x1003abd2
mov ecx, dword [esp + 0x20]
bts ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test byte [esi + 2], 0x20
mov esi, dword [esp + 0x38]
je 0x1003ac0c
cmp dword [esp + 0x34], 0
jne 0x1003ac0c
mov edx, dword [esi + 4]
mov ecx, edi
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + eax]
call fcn.10035dd0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc eax
add edx, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
cmp eax, ecx
jl 0x1003ab77
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1003acc3
cmp dword [esp + 0x20], 0
je 0x1003ac50
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc]
mov dword [edi + 0x48], eax
jmp 0x1003ac7d
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x1c], eax
cmp ecx, dword [edi + 0x38]
jg 0x1003ac66
add eax, ecx
sub dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jmp 0x1003ac79
mov eax, dword [edi + 0x48]
lea esi, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc]
mov dword [edi + 0x48], eax
mov edx, dword [esp + 0x24]
movzx ecx, word [edx + 2]
test cl, 0xc0
je 0x1003ac9f
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov al, byte [edx]
cmp al, 0x9a
je 0x1003ac99
cmp al, 0x9c
jne 0x1003ac9f
and cl, 0xc0
mov byte [edx + 0x26], cl
mov edx, dword [esp + 0x38]
mov ecx, edi
inc dword [edi + 0x64]
push 3
push dword [esp + 0x20]
call fcn.1003bb30
add esp, 8
mov ecx, edi
call fcn.10039bb0
mov eax, dword [esp + 0x38]
jmp 0x1003accb
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x28]
cmp edx, 2
jl 0x1003acfb
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 0x80
je 0x1003acff
mov eax, dword [eax + 4]
push dword [eax + 0x18]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x2c]
call fcn.1006fc40
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x1003ad0a
test edx, edx
jle 0x1003ad06
mov eax, dword [eax + 4]
push dword [eax]
jmp 0x1003ace4
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0x20
je 0x1003ad97
cmp dword [esp + 0x34], 0
jne 0x1003ad26
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], 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 0x1003ad50
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003ad49
mov edx, 1
jmp 0x1003ad87
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 + 0x38]
mov ecx, esi
call fcn.10022f50
add esp, 8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003adbc
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003adb8
mov edx, 1
jmp 0x1003adf3
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x20]
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 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 + 0x28]
mov ecx, esi
call fcn.10022f50
mov edx, dword [esi + 4]
add esp, 8
mov ecx, dword [esp + 0x28]
test edx, edx
je 0x1003ae18
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
test ecx, ecx
je 0x1003a3c6
cmp dword [esp + 0x20], 0
jne 0x1003a3c6
mov esi, dword [esp + 0x1c]
mov edx, esi
push ecx
mov ecx, edi
call fcn.10039b50
mov eax, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x18]
cmp eax, dword [edi + 0x38]
jle 0x1003a3ca
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.100bf4c9
mov esp, ebp
pop ebp
ret
push dword [esp + 0x2c]
push dword [esp + 0x14]
push str.unknown_function:__.s__
push edi
call fcn.10007bc0
add esp, 0x10
jmp 0x1003a3c6
push 0
push 0
mov ecx, edi
call fcn.100385c0
add esp, 8
mov edx, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10022a30
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.10022a30
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [ecx + 0x54], edx
jg 0x1003aee1
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003af15
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
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 + 0x34]
mov ecx, edi
push dword [esp + 0x10]
call fcn.10038e60
mov eax, dword [esi + 0x18]
add esp, 8
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003af46
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003af7e
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 0x1003af81
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
js 0x1003af9e
mov edx, dword [eax + 0x70]
test edx, edx
je 0x1003af9e
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x2c]
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 + 0x2c], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003afcc
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003afff
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
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 0x1003b018
mov edx, dword [edi + 0x70]
test edx, edx
je 0x1003b018
mov eax, dword [esi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edi + 0x58], eax
jmp 0x1003a3c6
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 + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push eax
call fcn.1003b860
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, edi
lea eax, [esp + 0x24]
push eax
call fcn.1003b860
mov dl, byte [edi + 0x13]
add esp, 4
mov dword [esp + 0x2c], eax
test dl, dl
jne 0x1003b080
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0xc], ecx
jmp 0x1003b0a7
sub dl, 1
movzx eax, dl
mov byte [edi + 0x13], dl
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [esp + 0xc], ecx
jne 0x1003b09b
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
jmp 0x1003b0a7
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 + 0x34]
mov ecx, edi
mov dword [esp + 0x1c], eax
push dword [esp + 0x40]
push 0x53
push dword [esp + 0x34]
call fcn.10035fb0
mov eax, dword [esp + 0x34]
add esp, 0x18
mov edx, dword [eax + 0x18]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1003b110
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003b110
xor ecx, ecx
lea eax, [edi + 0x74]
nop dword [eax]
cmp dword [eax + 0xc], edx
je 0x1003b10c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003b0f0
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003b110
mov byte [eax + 6], 1
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.1003b860
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, edi
push 0x20
push dword [esp + 0x14]
push eax
push dword [esp + 0x40]
push 0x51
push dword [esp + 0x34]
call fcn.10035fb0
mov eax, dword [esi + 0x18]
add esp, 0x18
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003b160
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b195
mov ecx, dword [esp + 0x2c]
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 0x1003b199
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1003b1d1
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003b1d1
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], edx
je 0x1003b1cd
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003b1b1
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1003b1d1
mov byte [eax + 6], 1
test esi, esi
je 0x1003b200
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1003b200
xor ecx, ecx
lea eax, [edi + 0x74]
cmp dword [eax + 0xc], esi
je 0x1003b1fc
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1003b1e2
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003b200
mov byte [eax + 6], 1
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x28], 0
je 0x1003b244
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003b244
xor edx, edx
lea eax, [edi + 0x74]
nop word [eax + eax]
mov esi, dword [esp + 0x28]
cmp dword [eax + 0xc], esi
je 0x1003b240
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003b220
movzx eax, byte [esp + 0x17]
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
jmp 0x1003b244
mov byte [eax + 6], 1
cmp dword [esp + 0x24], 0
mov edx, ecx
je 0x1003a3ca
mov al, byte [edi + 0x13]
mov byte [esp + 0x17], al
cmp al, 8
jae 0x1003a3ca
xor edx, edx
lea eax, [edi + 0x74]
mov esi, dword [esp + 0x24]
cmp dword [eax + 0xc], esi
je 0x1003b29b
inc edx
add eax, 0x14
cmp edx, 0xa
jl 0x1003b265
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.100bf4c9
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.100bf4c9
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 + 0x2c], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x1003b2e8
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b31d
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
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 0x1003b320
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x1003a3c6
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x1003a3c6
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x54], ecx
jg 0x1003b369
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a3c6
mov ecx, dword [esp + 0x2c]
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 0x1003a3c6
cmp dword [edi + 0x19c], 0
jne 0x1003b3cb
push str.RAISE___may_only_be_used_within_a_trigger_program
push edi
call fcn.10007bc0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov al, byte [edx + 1]
cmp al, 2
jne 0x1003b3e6
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 0x1003b44e
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003b413
mov ecx, esi
call fcn.10022900
test eax, eax
je 0x1003b413
mov edi, 1
push 0
jmp 0x1003a3b6
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
jmp 0x1003a3b6
movsx eax, al
mov ecx, edi
mov dword [esp + 0xc], eax
call fcn.10062450
cmp dword [esp + 0xc], 2
mov esi, eax
jne 0x1003b474
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 0x1003b48e
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b407
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 0x1003b42c
xor eax, eax
mov ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
call fcn.10022a30
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x1003b544
movups xmm0, xmmword [edx]
lea eax, [esp + 0x28]
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.1003b860
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 + 0x1c]
dec eax
test eax, eax
jle 0x1003b652
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
nop dword [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.10022a30
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0x10
push eax
mov dword [esp + 0x14], eax
call fcn.1003c300
mov edx, dword [esp + 0x28]
mov ecx, edi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.1003ba50
mov eax, dword [esi + 0x18]
add esp, 0xc
mov edx, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x54], edx
jg 0x1003b5cd
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b604
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x24]
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.10039bb0
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x18]
neg eax
test eax, eax
jle 0x1003b631
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x1003b631
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 + 0x20]
mov edx, dword [esp + 0x3c]
add eax, 0x30
sub dword [esp + 0x34], 1
mov dword [esp + 0x20], eax
jne 0x1003b560
mov eax, dword [esp + 0x1c]
test al, 1
je 0x1003b681
mov edx, dword [esp + 0x38]
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.1003ba50
add esp, 4
mov ecx, edi
call fcn.10039bb0
jmp 0x1003b6d2
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x1003b69c
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003b6d2
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
mov edx, dword [esi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x24]
js 0x1003ab2d
mov edi, dword [edx + 0x70]
test edi, edi
je 0x1003ab2d
mov eax, dword [esi + 0x20]
mov dword [edi + ecx*4], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
jmp 0x1003a3c6
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x1003b719
mov ecx, esi
call fcn.10022900
test eax, eax
jne 0x1003a3c6
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [ebp + 8]
pop edi
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
mov ecx, dword [esp + 0xa8]
pop esi
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret