Function at 0x370ac30
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x308
mov eax, ecx
lea edx, [ebp + 8]
push esi
push edi
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x154]
mov esi, dword [eax + 0x3c]
add esi, eax
lea eax, [ebp + 0x14]
push eax
sub esp, 8
mov dword [esp + 0x28], esi
lea edi, [esi + 0x80]
mov dword [esp + 0x38], edi
call fcn.0370e1b0
add esp, 8
lea ecx, [esp + 0xa4]
mov edx, eax
call fcn.0370e0e0
mov ecx, dword [esp + 0x158]
add esp, 4
test ecx, ecx
je 0x370acb2
call fcn.03707920
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
push 0x40
lea eax, [esp + 0x2d4]
push eax
call dword [0x1011f44c]
mov eax, 0x5a4d
mov dword [esp + 0x30c], 0x40
mov word [esp + 0x2d0], ax
lea eax, [esp + 0x1d8]
push 0xf8
push eax
call dword [0x1011f44c]
mov eax, 0x10b
mov dword [esp + 0x1d8], 0x4550
mov dword [esp + 0x1ec], 0x210e00e0
mov ecx, 0x200
mov dword [esp + 0x1dc], 0x3014c
mov dword [esp + 0x208], 0x2000
mov word [esp + 0x1f0], ax
mov dword [esp + 0x200], 0x1000
mov dword [esp + 0x204], 0x1000
mov dword [esp + 0x214], 0x200
mov dword [esp + 0x20c], 0x10000000
mov dword [esp + 0x210], 0x1000
mov dword [esp + 0x1f4], 0x200
mov dword [esp + 0x22c], 0x200
mov dword [esp + 0x244], 0x1000
mov dword [esp + 0x240], 0x1000
mov dword [esp + 0x23c], 0x1000
mov dword [esp + 0x238], 0x1000
mov ax, word [esi + 0x5c]
mov word [esp + 0x234], ax
mov dword [esp + 0x24c], 0x10
call fcn.03707780
mov ecx, eax
mov dword [esp + 0x98], 0x200
lea eax, [ecx + 1]
mov dword [esp + 0x94], ecx
mov edx, 0xc
mov byte [ecx], pe_nt_image_headers32
mov dword [eax], 1
mov byte [eax + 4], 0xc2
add eax, 5
mov word [eax], dx
sub eax, ecx
xor ecx, ecx
add eax, 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], ecx
test edi, edi
je 0x370ae0f
mov esi, dword [edi + 4]
jmp 0x370ae11
xor esi, esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
test esi, esi
je 0x370ae2c
mov ecx, esi
call fcn.03707780
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
test edi, edi
je 0x370aea7
mov esi, dword [esp + 0x1c]
xor edx, edx
mov edi, dword [edi]
movzx eax, word [esi + 0x14]
lea ecx, [esi + 0x18]
add ecx, eax
movzx eax, word [esi + 6]
xor esi, esi
mov dword [esp + 0x20], eax
cmp si, ax
jae 0x370aea7
mov esi, dword [ecx + 0xc]
cmp esi, edi
ja 0x370ae9e
mov eax, dword [ecx + 8]
add eax, esi
cmp eax, edi
ja 0x370b4c6
mov eax, dword [esp + 0x20]
inc edx
add ecx, 0x28
cmp dx, ax
jb 0x370ae86
xor edi, edi
lea ecx, [esp + 0x84]
call fcn.03668ef0
lea ecx, [esp + 0x60]
call fcn.03668ef0
lea ecx, [esp + 0x78]
call fcn.03668ef0
cmp dword [esp + 0x68], 0
mov esi, dword [0x100f5100]
mov ecx, dword [0x100f5284]
je 0x370b002
mov dword [esp + 0x44], 0
lea eax, [esp + 0x114]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0xffffffff
movdqu xmmword [esp + 0x11c], xmm0
mov dword [esp + 0x12c], eax
call ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x370af7c
mov ecx, dword [esp + 0x11c]
cmp dword [ecx], 0
jne 0x370bd0c
push 0
push eax
push dword [esp + 0x124]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370bd08
mov eax, dword [esp + 0x124]
mov dword [eax], 0
mov eax, dword [esp + 0x124]
inc dword [eax]
mov al, 1
push dword [esp + 0x68]
mov byte [esp + 0x134], al
push 1
push dword [0x1011f2ec]
call esi
cmp byte [esp + 0x130], 0
je 0x370afec
mov esi, dword [esp + 0x12c]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370afe6
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370afe6
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [0x100f5100]
mov ecx, dword [0x100f5284]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x134]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0xffffffff
movdqu xmmword [esp + 0x13c], xmm0
mov dword [esp + 0x14c], eax
call ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x370b0a0
mov ecx, dword [esp + 0x13c]
cmp dword [ecx], 0
jne 0x370bd2b
push 0
push eax
push dword [esp + 0x144]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370bd27
mov eax, dword [esp + 0x144]
mov dword [eax], 0
mov eax, dword [esp + 0x144]
inc dword [eax]
mov al, 1
push dword [esp + 0x94]
mov byte [esp + 0x154], al
push 1
push dword [0x1011f2ec]
call esi
cmp byte [esp + 0x150], 0
je 0x370b113
mov esi, dword [esp + 0x14c]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370b10d
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370b10d
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [0x100f5100]
cmp dword [esp + 0xa0], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
je 0x370b26d
mov dword [esp + 0x44], 0
lea eax, [esp + 0xf4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0xffffffff
movdqu xmmword [esp + 0xfc], xmm0
mov dword [esp + 0x10c], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x370b1d9
mov ecx, dword [esp + 0xfc]
cmp dword [ecx], 0
jne 0x370bd4a
push 0
push eax
push dword [esp + 0x104]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370bd46
mov eax, dword [esp + 0x104]
mov dword [eax], 0
mov eax, dword [esp + 0x104]
inc dword [eax]
mov al, 1
push dword [esp + 0xa0]
mov byte [esp + 0x114], al
push 1
push dword [0x1011f2ec]
call esi
cmp byte [esp + 0x110], 0
je 0x370b24c
mov esi, dword [esp + 0x10c]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370b246
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370b246
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [0x100f5100]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x370b3a3
mov dword [esp + 0x44], 0
lea eax, [esp + 0xb4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0xffffffff
movdqu xmmword [esp + 0xbc], xmm0
mov dword [esp + 0xcc], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x370b31e
mov ecx, dword [esp + 0xbc]
cmp dword [ecx], 0
jne 0x370bd69
push 0
push eax
push dword [esp + 0xc4]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370bd65
mov eax, dword [esp + 0xc4]
mov dword [eax], 0
mov eax, dword [esp + 0xc4]
inc dword [eax]
mov al, 1
push dword [esp + 0x20]
mov byte [esp + 0xd4], al
push 1
push dword [0x1011f2ec]
call esi
cmp byte [esp + 0xd0], 0
je 0x370b38e
mov esi, dword [esp + 0xcc]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370b388
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370b388
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [0x100f5100]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x370b4be
mov dword [esp + 0x44], 0
lea eax, [esp + 0xd4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0xffffffff
movdqu xmmword [esp + 0xdc], xmm0
mov dword [esp + 0xec], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x10], eax
cmp eax, dword [ecx]
je 0x370b454
mov ecx, dword [esp + 0xdc]
cmp dword [ecx], 0
jne 0x370bd88
push 0
push eax
push dword [esp + 0xe4]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370bd84
mov eax, dword [esp + 0xe4]
mov dword [eax], 0
mov eax, dword [esp + 0xe4]
inc dword [eax]
mov al, 1
push dword [esp + 0x20]
mov byte [esp + 0xf4], al
push 1
push dword [0x1011f2ec]
call esi
cmp byte [esp + 0xf0], 0
je 0x370b4be
mov esi, dword [esp + 0xec]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x370b4be
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x370b4be
push eax
call dword [0x100f5290]
mov ecx, dword [esi + 0x14]
push 0
push 1
push ecx
call dword [0x100f5288]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x14]
sub eax, esi
add eax, edi
je 0x370aea7
mov esi, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov edi, dword [esp + 0x68]
push dword [esi + 4]
push eax
push edi
call dword [0x1011f348]
lea eax, [edi + 4]
xor edx, edx
mov edi, 0xfffffffc
mov dword [esp + 0x18], eax
sub edi, dword [esp + 0x68]
mov ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], edi
cmp dword [ecx - 4], 0
mov dword [esp + 0x24], edx
jne 0x370b52b
cmp dword [ecx + 0xc], 0
jne 0x370b52b
cmp dword [ecx + 4], 0
jne 0x370b52b
cmp dword [ecx + 8], 0
jne 0x370b52b
cmp dword [ecx], 0
je 0x370b746
lea eax, [edi + ecx]
cmp eax, dword [esi + 4]
jae 0x370b746
mov edx, dword [esp + 0x1c]
xor esi, esi
mov edi, dword [ecx + 8]
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
add ecx, eax
movzx eax, word [edx + 6]
xor edx, edx
mov dword [esp + 0x20], eax
cmp dx, ax
jae 0x370b575
mov edx, dword [ecx + 0xc]
cmp edx, edi
ja 0x370b56c
mov eax, dword [ecx + 8]
add eax, edx
cmp eax, edi
ja 0x370b585
mov eax, dword [esp + 0x20]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x370b558
mov dword [esp + 0x90], 0
jmp 0x370aea7
mov eax, dword [ecx + 0x14]
sub eax, edx
add eax, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
je 0x370aea7
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x80]
lea ecx, [esp + 0x80]
call fcn.0370e2b0
mov eax, dword [esp + 0x30]
mov edi, dword [eax - 4]
test edi, edi
jne 0x370b5c9
mov edi, dword [eax + 0xc]
mov edx, dword [esp + 0x1c]
xor esi, esi
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
add ecx, eax
movzx eax, word [edx + 6]
xor edx, edx
mov dword [esp + 0x20], eax
cmp dx, ax
jae 0x370b604
mov edx, dword [ecx + 0xc]
cmp edx, edi
ja 0x370b5fb
mov eax, dword [ecx + 8]
add eax, edx
cmp eax, edi
ja 0x370b614
mov eax, dword [esp + 0x20]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x370b5e7
mov dword [esp + 0x8c], 0
jmp 0x370aea7
mov esi, dword [ecx + 0x14]
sub esi, edx
add esi, edi
mov dword [esp + 0x8c], esi
je 0x370aea7
add dword [esp + 0x3c], 8
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x8c]
lea ecx, [esp + 0x8c]
call fcn.0370e2b0
mov eax, dword [esp + 0x28]
mov edi, dword [esi + eax]
test edi, edi
js 0x370b6ea
mov edx, dword [esp + 0x1c]
xor esi, esi
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
add ecx, eax
movzx eax, word [edx + 6]
xor edx, edx
mov dword [esp + 0x20], eax
cmp dx, ax
jae 0x370b692
mov edx, dword [ecx + 0xc]
cmp edx, edi
ja 0x370b689
mov eax, dword [ecx + 8]
add eax, edx
cmp eax, edi
ja 0x370b6a2
mov eax, dword [esp + 0x20]
inc esi
add ecx, 0x28
cmp si, ax
jb 0x370b675
mov dword [esp + 0x9c], 0
jmp 0x370aea7
mov esi, dword [ecx + 0x14]
sub esi, edx
add esi, edi
mov dword [esp + 0x9c], esi
je 0x370aea7
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x68]
lea ecx, [esp + 0x68]
call fcn.0370e2b0
mov edi, dword [esp + 0x28]
lea eax, [edi + 2]
add eax, esi
push eax
call dword [0x100f5188]
mov ecx, dword [esp + 0x74]
add ecx, 3
add ecx, eax
mov dword [esp + 0x74], ecx
jmp 0x370b70e
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0
push eax
push dword [esp + 0x68]
lea ecx, [esp + 0x68]
call fcn.0370e2b0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
add eax, edi
push eax
call dword [0x100f5188]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
inc ecx
mov esi, dword [esp + 0x2c]
add ecx, eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x30]
add ecx, 0x14
inc edx
mov dword [esp + 0x30], ecx
jmp 0x370b506
lea eax, [edx + 1]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x24], eax
add eax, 0x2000
mov esi, eax
and esi, 0xfffff000
mov dword [esp + 0x30], esi
cmp esi, eax
jae 0x370b772
add esi, 0x1000
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x70]
and edi, 0xfffffffc
mov dword [esp + 0x38], edi
cmp edi, dword [esp + 0x70]
jae 0x370b78a
add edi, 4
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x74]
and eax, 0xfffffffc
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x74]
jae 0x370b7a2
add eax, 4
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x78]
xor ecx, ecx
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 0
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], ecx
jne 0x370b7d5
cmp dword [eax + 0xc], 0
jne 0x370b7d5
cmp dword [eax + 4], 0
jne 0x370b7d5
cmp dword [eax + 8], 0
jne 0x370b7d5
cmp dword [eax], 0
je 0x370b838
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
cmp eax, edi
jae 0x370b838
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov dword [eax - 4], esi
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
lea eax, [eax + edi*2]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov eax, dword [edx + 8]
add eax, dword [esp + 0x28]
push eax
call dword [0x100f5188]
mov ecx, dword [esp + 0x1c]
add esi, 8
mov edx, dword [esp + 0x34]
inc ecx
add ecx, eax
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x18], eax
mov edx, dword [edx + 4]
jmp 0x370b7ac
push 0x28
lea eax, [esp + 0x164]
push eax
call dword [0x1011f44c]
push 0x101153a4
lea eax, [esp + 0x164]
push eax
call dword [0x100f518c]
mov eax, dword [esp + 0x10]
mov esi, edi
and esi, 0xfffffe00
mov dword [esp + 0x16c], 0x1000
cmp esi, edi
mov dword [esp + 0x170], 0x200
mov edi, dword [esp + 0x38]
mov dword [esp + 0x174], 0x200
mov dword [esp + 0x168], eax
mov dword [esp + 0x184], 0xe0000060
mov dword [esp + 0x18], esi
jae 0x370b8b0
add esi, 0x200
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x3c]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x2c]
add eax, edi
add eax, ecx
mov edi, eax
mov dword [esp + 0x20], eax
and edi, 0xfffffe00
mov dword [esp + 0x1c], edi
cmp edi, eax
jae 0x370b8dd
add edi, 0x200
mov dword [esp + 0x1c], edi
push 0x28
lea eax, [esp + 0x18c]
push eax
call dword [0x1011f44c]
push 0x101153ac
lea eax, [esp + 0x18c]
push eax
call dword [0x100f518c]
mov eax, dword [esp + 0x174]
add eax, dword [esp + 0x170]
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x1b0]
push 0x28
mov dword [esp + 0x19c], esi
mov esi, dword [esp + 0x28]
push eax
mov dword [esp + 0x19c], 0x2000
mov dword [esp + 0x198], esi
mov dword [esp + 0x1b4], 0x40000040
call dword [0x1011f44c]
push 0x101153b4
lea eax, [esp + 0x1b4]
push eax
call dword [0x100f518c]
mov ecx, dword [esp + 0x198]
mov eax, dword [esp + 0x19c]
mov edx, dword [esp + 0x30]
add eax, ecx
push 0
push 0x80
push 2
push 0
push 1
mov dword [esp + 0x1d8], eax
mov eax, dword [esp + 0x34]
push 0x40000000
push dword [esp + 0xb8]
mov dword [esp + 0x1d4], eax
add eax, edx
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], edi
mov dword [esp + 0x1f0], 0xc0000040
mov dword [esp + 0x278], esi
mov dword [esp + 0x274], 0x2000
mov dword [esp + 0x244], eax
mov dword [esp + 0x214], ecx
call fcn.037015c0
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
je 0x370aea7
mov esi, dword [0x100f5240]
lea eax, [esp + 0x14]
push 0
push eax
push 0x40
lea eax, [esp + 0x2dc]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 0xf8
lea eax, [esp + 0x1e4]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 0x28
lea eax, [esp + 0x16c]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 0x28
lea eax, [esp + 0x194]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 0x28
lea eax, [esp + 0x1bc]
push eax
push edi
call esi
mov byte [esp + 0xf], 0
mov dword [esp + 0x34], 0x50
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push edi
call esi
dec dword [esp + 0x34]
jne 0x370ba68
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
push dword [esp + 0xa0]
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x74]
push edi
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jae 0x370bad7
sub eax, ecx
mov dword [esp + 0x18], eax
lea esp, [esp]
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push edi
call esi
dec dword [esp + 0x18]
jne 0x370bac0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 2
mov dword [esp + 0x80], eax
lea ebx, [ebx]
push 4
lea eax, [esp + 0xb4]
push eax
call dword [0x1011f44c]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
add eax, dword [esp + 0x28]
push 4
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x1011f348]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x370bb73
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
lea eax, [eax + edi*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
add eax, 2
add eax, ecx
push eax
call dword [0x100f5188]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
add ecx, 3
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push edi
call dword [0x100f5240]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0xbc]
push eax
push edi
call dword [0x100f5240]
cmp esi, dword [esp + 0x88]
je 0x370bbb8
mov esi, dword [esi + 4]
jmp 0x370bb17
dec dword [esp + 0x5c]
jne 0x370baf0
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 8]
add esi, dword [esp + 0x28]
push esi
call dword [0x100f5188]
push 0
lea ecx, [esp + 0x18]
inc eax
push ecx
push eax
push esi
mov esi, dword [0x100f5240]
push edi
call esi
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x7c]
je 0x370bc23
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov esi, dword [eax + 8]
add esi, dword [esp + 0x28]
push esi
call dword [0x100f5188]
push 0
lea ecx, [esp + 0x18]
inc eax
push ecx
push eax
push esi
mov esi, dword [0x100f5240]
push edi
call esi
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x7c]
jne 0x370bbf1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jae 0x370bc4c
sub eax, ecx
mov dword [esp + 0x38], eax
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push edi
call esi
dec dword [esp + 0x38]
jne 0x370bc35
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x370bc8a
mov ecx, dword [esp + 0x28]
add ecx, 2
add eax, ecx
push eax
call dword [0x100f5188]
push 0
add eax, 3
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x34]
push eax
push edi
call esi
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x80]
cmp eax, ecx
je 0x370bca1
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
jmp 0x370bc54
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jae 0x370bcca
sub eax, ecx
mov dword [esp + 0x2c], eax
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push edi
call esi
dec dword [esp + 0x2c]
jne 0x370bcb3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jae 0x370bcf7
sub eax, ecx
mov dword [esp + 0x1c], eax
lea esp, [esp]
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push edi
call esi
dec dword [esp + 0x1c]
jne 0x370bce0
push edi
call dword [0x100f5250]
mov edi, 1
jmp 0x370aea9
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x11c]
call fcn.03703a20
test al, al
jne 0x370af7c
jmp 0x370af87
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x13c]
call fcn.03703a20
test al, al
jne 0x370b0a0
jmp 0x370b0ab
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xfc]
call fcn.03703a20
test al, al
jne 0x370b1d9
jmp 0x370b1e4
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xbc]
call fcn.03703a20
test al, al
jne 0x370b31e
jmp 0x370b329
mov eax, dword [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0xdc]
call fcn.03703a20
test al, al
jne 0x370b454
jmp 0x370b45f