Function at 0x370bdb0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x308
push esi
mov esi, dword [ecx + 0x3c]
lea eax, [ebp + 0x14]
push edi
push eax
add esi, ecx
mov dword [esp + 0x20], edx
sub esp, 8
mov dword [esp + 0x30], esi
lea edx, [ebp + 8]
lea ecx, [esp + 0x118]
call fcn.0370e1b0
add esp, 8
lea ecx, [esp + 0x68]
mov edx, eax
call fcn.0370e0e0
mov ecx, dword [esp + 0x110]
add esp, 4
test ecx, ecx
je 0x370be23
call fcn.03707920
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 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 esi, eax
mov dword [esp + 0x38], 0x200
push 0x200
push esi
mov dword [esp + 0x3c], esi
call dword [0x1011f44c]
lea edi, [esi + 1]
mov byte [esi], pe_nt_image_headers32
mov dword [edi], 1
lea edx, [edi + 0xc]
mov byte [edi + 4], 0xc2
mov eax, 0xc
mov word [edi + 5], ax
sub edx, esi
mov byte [edi + 7], 0xe8
lea eax, [edi + 7]
sub eax, esi
mov dword [edi + 8], 0
mov dword [esp + 0x28], eax
lea esi, [edi + 0x20]
sub esi, dword [esp + 0x34]
mov eax, 0xc7
mov word [edi + 0xc], 0x558
mov word [edi + 0x12], ax
mov eax, 0xc
mov dword [edi + 0x14], 1
mov byte [edi + 0x18], pe_nt_image_headers32
mov dword [edi + 0x19], 1
mov byte [edi + 0x1d], 0xc2
mov word [edi + 0x1e], ax
mov eax, esi
sub eax, edx
mov dword [edi + 0xe], eax
mov dword [edi + 0x20], 0
add edi, 0x24
mov eax, edi
sub eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x188]
push 0x28
push eax
call dword [0x1011f44c]
mov eax, dword [esp + 0x5c]
add eax, 0x1028
mov dword [esp + 0x19c], 1
mov dword [esp + 0x1a4], eax
add eax, 4
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a8], eax
add eax, 4
mov dword [esp + 0x1ac], eax
add eax, 2
mov dword [esp + 0x194], eax
lea eax, [esp + 0x188]
push 0x28
push eax
push edi
mov dword [esp + 0x1a4], 1
call dword [0x1011f348]
lea eax, [esi + 0x1000]
mov dword [edi + 0x28], eax
add edi, 0x2c
mov esi, dword [ebp + 0x18]
inc esi
mov eax, esi
sub eax, dword [esp + 0x34]
add eax, 0x1006
add eax, edi
mov dword [edi], eax
xor eax, eax
push esi
mov word [edi + 4], ax
add edi, 6
push dword [ebp + 0x14]
push edi
call dword [0x1011f348]
add edi, esi
push 0x1010ef14
push edi
mov dword [esp + 0x28], edi
call dword [0x100f518c]
mov edi, dword [0x100f5188]
push 0x1010ef14
call edi
mov esi, dword [esp + 0x20]
inc esi
add esi, eax
mov eax, esi
mov dword [esp + 0x2c], esi
sub eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x5c]
push 0x14
push esi
mov dword [esp + 0x38], eax
call dword [0x1011f44c]
push 0x14
add esi, 0x14
push esi
call dword [0x1011f44c]
mov ecx, dword [esp + 0x2c]
add esi, 0x14
mov eax, esi
sub eax, dword [esp + 0x34]
push 0x1010df9c
add eax, 0x1000
push esi
mov dword [ecx + 0xc], eax
call dword [0x100f518c]
push 0x1010df9c
call edi
inc esi
add esi, eax
xor eax, eax
mov edi, esi
sub edi, dword [esp + 0x34]
push 0x101128c8
mov word [esi], ax
add edi, 0x1000
lea eax, [esi + 2]
push eax
call dword [0x100f518c]
push 0x101128c8
call dword [0x100f5188]
mov dword [esi + eax + 3], edi
lea edx, [esi + eax]
mov esi, dword [esp + 0x34]
lea eax, [edx + 3]
sub eax, esi
mov ecx, dword [esp + 0x2c]
add eax, 0x1000
mov byte [esp + 0x1b], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x2c], 0
mov dword [ecx], eax
lea eax, [edx + 7]
mov dword [edx + 7], 0
sub eax, esi
add eax, 0x1000
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 0xb], 0
add edx, 0xf
mov dword [edx], 0
sub edx, esi
mov ecx, dword [eax + 0xc0]
add edx, 4
mov dword [esp + 0x58], edx
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x78], edx
mov edx, 0x24
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x370c1b4
mov eax, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [esp + 0x60], ecx
je 0x370c1b4
lea edx, [ecx + 0x24]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x20], edx
mov esi, edx
and esi, 0xfffffffc
mov dword [esp + 0x1c], esi
cmp esi, edx
jae 0x370c1c8
add esi, 4
mov dword [esp + 0x1c], esi
lea eax, [esi + 0x3000]
mov dword [esp + 0x298], 0x3000
mov dword [esp + 0x278], eax
lea eax, [esp + 0x120]
push 0x28
push eax
mov dword [esp + 0x2a4], 0x18
mov dword [esp + 0x284], 0x12
call dword [0x1011f44c]
push 0x101153a4
lea eax, [esp + 0x124]
push eax
call dword [0x100f518c]
mov eax, dword [esp + 0x58]
lea edi, [esi + 0x12]
mov esi, edi
mov dword [esp + 0x12c], 0x1000
and esi, 0xfffffe00
mov dword [esp + 0x130], 0x200
mov dword [esp + 0x134], 0x200
mov dword [esp + 0x128], eax
mov dword [esp + 0x144], 0xe0000060
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], esi
cmp esi, edi
jae 0x370c271
add esi, 0x200
mov dword [esp + 0x24], esi
push 0x28
lea eax, [esp + 0x164]
push eax
call dword [0x1011f44c]
push 0x101153ac
lea eax, [esp + 0x164]
push eax
call dword [0x100f518c]
mov eax, dword [esp + 0x130]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x12c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x258], eax
lea eax, [esp + 0x1b0]
push 0x28
push eax
mov dword [esp + 0x174], 0x2000
mov dword [esp + 0x170], 0x1000
mov dword [esp + 0x18c], 0x40000040
call dword [0x1011f44c]
push 0x101153b4
lea eax, [esp + 0x1b4]
push eax
call dword [0x100f518c]
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x64]
add eax, ecx
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x12c]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x250], eax
lea eax, [edi + 0x3000]
mov dword [esp + 0x1f8], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x1bc], 0x3000
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1b8], edi
mov dword [esp + 0x1d4], 0xc0000040
mov dword [esp + 0x228], eax
call fcn.0366ec30
mov esi, dword [0x1011f340]
mov edi, dword [eax]
call dword [0x100f526c]
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0x80
push 2
push 0
mov eax, dword [eax + 0x18]
push 1
push 0x40000000
push edi
call eax
mov edi, eax
call dword [0x100f526c]
mov esi, eax
cmp edi, 0xffffffff
je 0x370c3e7
cmp edi, 0xfffffff5
jae 0x370c3dd
mov eax, 0x6000000
cmp eax, edi
sbb eax, eax
neg eax
jne 0x370c3e7
push edi
call dword [0x100f5250]
or edi, 0xffffffff
call dword [0x100f526c]
cmp esi, eax
je 0x370c3f8
push esi
call dword [0x100f5148]
mov ecx, dword [esp + 0x100]
test ecx, ecx
je 0x370c429
call fcn.03707920
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
cmp edi, 0xffffffff
jne 0x370c435
xor esi, esi
jmp 0x370c6ab
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 + 0x12c]
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 + 0x1bc]
push eax
push edi
call esi
mov byte [esp + 0x1a], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], 0x50
nop
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x26]
push eax
push edi
call esi
dec dword [esp + 0x3c]
jne 0x370c4c0
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
push dword [esp + 0x40]
push edi
call esi
push 0x18
lea eax, [esp + 0x14c]
push eax
call dword [0x1011f44c]
cmp byte [esp + 0x1b], 0
mov edx, dword [esp + 0x20c]
je 0x370c52e
lea eax, [edx + 0x3024]
mov dword [esp + 0x148], eax
add eax, dword [esp + 0x60]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x158], eax
lea eax, [edx + 0x3018]
mov dword [esp + 0x150], eax
lea eax, [edx + 0x301c]
push 0
mov dword [esp + 0x158], eax
lea eax, [esp + 0x18]
push eax
push 0x18
lea eax, [esp + 0x154]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x88]
push eax
push edi
call esi
mov eax, dword [esp + 0x12c]
add eax, 0x10000000
add eax, dword [esp + 0x28]
push 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x80]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x7c]
push eax
push edi
call esi
cmp byte [esp + 0x1b], 0
je 0x370c5c8
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push 0
push eax
push dword [esp + 0x68]
mov eax, dword [ecx + 0x10]
add eax, dword [ecx]
push eax
push edi
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jae 0x370c5f7
sub eax, ecx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x26]
push eax
push edi
call esi
dec dword [esp + 0x1c]
jne 0x370c5e0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x120], 0x12
push eax
push 8
lea eax, [esp + 0x124]
mov dword [esp + 0x124], 0x3000
push eax
push edi
call esi
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x370c630
lea eax, [eax*4 + 0x3000]
movzx eax, ax
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
push eax
push 2
lea eax, [esp + 0x60]
push eax
push edi
call esi
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, 4
jb 0x370c630
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x58], 0x301c
push eax
push 2
lea eax, [esp + 0x60]
push eax
push edi
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jae 0x370c69f
sub eax, ecx
mov dword [esp + 0x24], eax
push 0
lea eax, [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x26]
push eax
push edi
call esi
dec dword [esp + 0x24]
jne 0x370c688
push edi
call dword [0x100f5250]
mov esi, 1
mov dword [esp + 0x44], 0
lea eax, [esp + 0xe0]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xffffffff
movdqu xmmword [esp + 0xe8], xmm0
mov dword [esp + 0xf8], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xe8]
mov edi, eax
cmp edi, dword [ecx]
je 0x370c74b
mov ecx, dword [esp + 0xe8]
cmp dword [ecx], 0
jne 0x370cb5f
push 0
push edi
push dword [esp + 0xf0]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370cb5f
mov eax, dword [esp + 0xf0]
mov dword [eax], 0
mov eax, dword [esp + 0xf0]
inc dword [eax]
mov al, 1
push dword [esp + 0x34]
mov edi, dword [0x100f5100]
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x108], al
call edi
cmp byte [esp + 0xfc], 0
je 0x370c7c1
mov edi, dword [esp + 0xf8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x370c7bb
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x370c7bb
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov edi, dword [0x100f5100]
cmp dword [esp + 0x64], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
je 0x370c906
mov dword [esp + 0x44], 0
lea eax, [esp + 0x80]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xffffffff
movdqu xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx]
je 0x370c87e
mov ecx, dword [esp + 0x88]
cmp dword [ecx], 0
jne 0x370cb7e
push 0
push eax
push dword [esp + 0x90]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370cb7a
mov eax, dword [esp + 0x90]
mov dword [eax], 0
mov eax, dword [esp + 0x90]
inc dword [eax]
mov al, 1
push dword [esp + 0x64]
mov byte [esp + 0xa0], al
push 1
push dword [0x1011f2ec]
call edi
cmp byte [esp + 0x9c], 0
je 0x370c8ee
mov edi, dword [esp + 0x98]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x370c8e8
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x370c8e8
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov edi, dword [0x100f5100]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
test eax, eax
je 0x370ca3c
mov dword [esp + 0x44], 0
lea eax, [esp + 0xc0]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xffffffff
movdqu xmmword [esp + 0xc8], xmm0
mov dword [esp + 0xd8], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx]
je 0x370c9b7
mov ecx, dword [esp + 0xc8]
cmp dword [ecx], 0
jne 0x370cb9d
push 0
push eax
push dword [esp + 0xd0]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370cb99
mov eax, dword [esp + 0xd0]
mov dword [eax], 0
mov eax, dword [esp + 0xd0]
inc dword [eax]
mov al, 1
push dword [esp + 0x30]
mov byte [esp + 0xe0], al
push 1
push dword [0x1011f2ec]
call edi
cmp byte [esp + 0xdc], 0
je 0x370ca27
mov edi, dword [esp + 0xd8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x370ca21
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x370ca21
push eax
call dword [0x100f5290]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov edi, 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 + 0x30], eax
test eax, eax
je 0x370cb57
mov dword [esp + 0x44], 0
lea eax, [esp + 0xa0]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0x1011f690
mov dword [esp + 0x48], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x40]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xffffffff
movdqu xmmword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], eax
call dword [0x100f5284]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx]
je 0x370caed
mov ecx, dword [esp + 0xa8]
cmp dword [ecx], 0
jne 0x370cbbc
push 0
push eax
push dword [esp + 0xb0]
call dword [0x100f5280]
test eax, eax
sete al
test al, al
je 0x370cbb8
mov eax, dword [esp + 0xb0]
mov dword [eax], 0
mov eax, dword [esp + 0xb0]
inc dword [eax]
mov al, 1
push dword [esp + 0x30]
mov byte [esp + 0xc0], al
push 1
push dword [0x1011f2ec]
call edi
cmp byte [esp + 0xbc], 0
je 0x370cb57
mov edi, dword [esp + 0xb8]
mov eax, dword [edi + 0x10]
dec dword [eax]
jne 0x370cb57
mov eax, dword [edi + 0x10]
push 0
mov dword [eax], 0
push dword [edi + 8]
call dword [0x100f528c]
cmp dword [edi + 0xc], 0
lea eax, [edi + 0xc]
jle 0x370cb57
push eax
call dword [0x100f5290]
mov ecx, dword [edi + 0x14]
push 0
push 1
push ecx
call dword [0x100f5288]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push edi
lea ecx, [esp + 0xe8]
call fcn.03703a20
test al, al
jne 0x370c74b
jmp 0x370c756
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.03703a20
test al, al
jne 0x370c87e
jmp 0x370c889
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0xc8]
call fcn.03703a20
test al, al
jne 0x370c9b7
jmp 0x370c9c2
mov eax, dword [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.03703a20
test al, al
jne 0x370caed
jmp 0x370caf8