Function at 0x837291fc
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x87100004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x40]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x44]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x180], eax
xor eax, eax
lea edi, [ebp - 0x18c]
stosd dword es:[edi], eax
push 0x58
stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.837853bf
mov ax, word [ebp + 0xc]
mov word [ebp - 0x190], ax
movzx eax, word [esi]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x194], ecx
movzx eax, word [eax + 6]
mov dword [ebp - 0x198], eax
movzx eax, word [esi + 2]
shl eax, 3
mov dword [ebp + eax - 0x20c], 0xc
lea ecx, [ebp - 0x198]
mov dword [ebp + eax - 0x208], ecx
mov eax, dword [ebx + 0xe8]
lea ecx, [eax + 0x34]
mov dword [ebp - 0x1a4], ecx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1a8], eax
movzx eax, word [esi + 4]
shl eax, 3
mov dword [ebp + eax - 0x20c], 0x10
movzx edi, word [esi + 0xa]
lea ecx, [ebp - 0x1a8]
mov dword [ebp + eax - 0x208], ecx
movzx eax, word [esi + 6]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + eax*8 - 0x20c], edx
mov dword [ebp + eax*8 - 0x208], ecx
mov ax, word [ebp + 0x1c]
mov ch, al
shl edi, 3
mov dword [ebp + edi - 0x20c], 2
add esp, 0xc
push 3
mov cl, ah
movzx eax, word [esi + 8]
shl eax, 3
mov word [ebp + edi - 0x208], cx
mov cl, byte [ebp + 0x20]
mov dword [ebp + eax - 0x20c], 1
mov byte [ebp + eax - 0x208], cl
movzx eax, word [esi + 0xc]
shl eax, 3
mov dword [ebp + eax - 0x20c], 4
lea ecx, [ebp + 0x24]
mov dword [ebp + eax - 0x208], ecx
movzx eax, word [esi + 0xe]
mov ecx, dword [ebp + 0x2c]
shl eax, 3
pop edi
mov dword [ebp + eax - 0x20c], edi
mov dword [ebp + eax - 0x208], ecx
movzx eax, word [esi + 0x10]
shl eax, 3
mov edx, dword [ebp + 0x30]
mov dword [ebp + eax - 0x20c], edi
mov dword [ebp + eax - 0x208], edx
movzx eax, word [esi + 0x12]
shl eax, 3
xor edx, edx
mov dword [ebp + eax - 0x20c], edi
cmp ecx, 0x18
jne 0x837293a7
inc edx
cmp byte [ebp + 0x38], 0
je 0x837293b0
or edx, 4
cmp byte [ebp + 0x3c], 0
je 0x837293bc
or edx, 0x20000
mov dword [ebp + eax - 0x208], edx
mov eax, dword [ebp - 0x170]
xor ecx, ecx
cmp eax, ecx
je 0x837293f7
movzx edx, word [esi + 0x14]
push ecx
push ecx
push ecx
movzx ecx, word [ebx + 0x18]
push ecx
push dword [eax + 8]
mov dword [ebp + edx*8 - 0x20c], edi
call fcn.8377a586
movzx ecx, word [esi + 0x14]
mov dword [ebp + ecx*8 - 0x208], eax
jmp 0x83729402
movzx eax, word [esi + 0x14]
mov dword [ebp + eax*8 - 0x20c], ecx
test dword [ebx + 0x10], 0x2000
je 0x83729426
movzx eax, word [esi + 0x16]
mov ecx, dword [ebx + 0xf4]
shl eax, 3
mov dword [ebp + eax - 0x20c], edi
mov dword [ebp + eax - 0x208], ecx
xor eax, eax
lea edi, [ebp - 0x1b4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x158
lea eax, [ebp - 0x16c]
push 0
push eax
mov dword [ebp - 0x1b4], ebx
mov byte [ebp - 0x1b0], 1
call fcn.837853bf
add esp, 0xc
cmp dword [ebx + 0x1b4], 1
jne 0x83729467
or dword [ebp - 0x168], 0x80000
cmp byte [ebp + 0x3c], 0
je 0x83729474
or dword [ebp - 0x168], 0x20
or dword [ebp - 0x16c], 0x80
and dword [ebp - 0x160], 0
or dword [ebp - 0x16c], 0x20
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x164], eax
mov eax, dword [ebx + 0xe4]
mov eax, dword [eax + 0x10]
cdq
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x128], edx
test eax, eax
je 0x837294c8
or dword [ebp - 0x16c], 0x4000
mov dword [ebp - 0x108], eax
mov esi, 0x8000
or dword [ebp - 0x16c], esi
push ebx
call fcn.8377a5fb
mov dword [ebp - 0x104], eax
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0x100], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x19c], ecx
movzx eax, word [eax + 6]
or dword [ebp - 0x16c], 8
or dword [ebp - 0x16c], 0x10
cmp word [ebx + 0x18], 0x17
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax + 0x1c]
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
jne 0x83729549
mov eax, dword [ebx + 0x108]
or eax, dword [ebx + 0x10c]
jne 0x83729549
push ebx
call fcn.8377a4fb
mov eax, dword [ebx + 0x108]
mov ecx, dword [ebx + 0x10c]
mov edx, eax
or edx, ecx
je 0x8372956d
or dword [ebp - 0x16c], esi
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ecx
mov eax, dword [ebx + 0x12c]
mov esi, dword [ebp - 0x180]
push 0xa
pop ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
push esi
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x178]
push edi
push eax
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x190]
push eax
mov dword [esi], 0x1001
call fcn.8377a798
cmp byte [edi], 0
mov dword [ebp - 0x174], eax
je 0x837295be
mov ecx, 0x8000
lea eax, [ebx + 0x10]
lock or dword [eax], ecx
cmp dword [ebp - 0x174], 0
jne 0x837297ab
lea eax, [ebp - 0x16c]
push eax
push ebx
call fcn.8376207d
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x837297ab
test dword [ebx + 0x10], 0x4000
je 0x837296ae
cmp dword [ebp - 0x17c], eax
je 0x837296ae
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x83729615
test byte [ebx + 0x14], 0x10
jne 0x83729615
mov dword [ebx + 0xe0], eax
mov ax, word [ebp + 0x1c]
mov word [ebx + 0x1a], ax
lea eax, [ebp - 0x184]
push eax
push dword [0x8710b128]
call fcn.8377f957
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x837297ab
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x17c]
push 0x38
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebx + 0x18]
cmp cx, 2
je 0x8372966c
test byte [ebx + 0x10], 8
jne 0x8372966c
push 2
mov word [eax + 0x9e], cx
pop ecx
jmp 0x83729677
mov word [eax + 0x9e], cx
mov cx, word [ebx + 0x18]
push 0
push eax
mov word [eax + 0xa0], cx
movzx eax, word [ebx + 0x18]
push 0x870cd931
push eax
push ebx
call fcn.837b715c
mov esi, dword [ebp - 0x180]
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x837297ab
mov eax, dword [ebp - 0x178]
mov byte [eax], 1
cmp word [ebx + 0x18], 2
jne 0x83729723
mov eax, dword [ebp - 0x170]
and dword [ebp - 0x17c], 0
test eax, eax
je 0x837296d3
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8372978d
cmp byte [eax + 0x1d], 4
jb 0x8372978d
test dword [eax + 0x20], 0x10000
je 0x8372978d
movzx ecx, word [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, dword [ebx + 0xe4]
push dword [ecx + 8]
push 0x870f6be8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8a1d
jmp 0x8372978d
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x8372974e
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x180]
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8372978d
cmp byte [eax + 0x1d], 4
jb 0x8372978d
test dword [eax + 0x20], 0x10000
je 0x8372978d
movzx ecx, word [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0xe4]
push dword [ecx + 8]
push 0x870f6be8
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8a96
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x837297a3
test byte [ebx + 0x14], 0x10
jne 0x837297a3
mov dword [ebx + 0xe0], eax
mov ax, word [ebp + 0x1c]
mov word [ebx + 0x1a], ax
mov eax, dword [ebp - 0x178]
cmp byte [eax], 0
jne 0x8372993c
cmp dword [esi], 0x1001
jne 0x837298f5
cmp word [ebx + 0x18], 2
jne 0x8372983b
mov eax, dword [ebp - 0x170]
and dword [ebp - 0x178], 0
test eax, eax
je 0x837297eb
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x178], eax
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x837298a5
cmp byte [eax + 0x1d], 4
jb 0x837298a5
test dword [eax + 0x20], 0x10000
je 0x837298a5
movzx ecx, word [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x178]
push ecx
mov ecx, dword [ebx + 0xe4]
push dword [ecx + 8]
push 0x870f6be8
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8a1d
jmp 0x837298a5
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x83729866
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x180]
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x837298a5
cmp byte [eax + 0x1d], 4
jb 0x837298a5
test dword [eax + 0x20], 0x10000
je 0x837298a5
movzx ecx, word [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0xe4]
push dword [ecx + 8]
push 0x870f6be8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8a96
call fcn.8377d591
test al, al
je 0x8372993c
push dword [esi]
mov eax, dword [ebx + 0xe4]
push dword [esi + 0x14]
movzx ecx, word [ebx + 8]
push dword [esi + 0x10]
xor esi, esi
push esi
push esi
push dword [eax + 0x10]
push ecx
movzx ecx, word [ebx + 0x18]
push esi
push esi
push dword [ebp + 0x1c]
push dword [ebp - 0x170]
push ecx
movzx ecx, word [eax + 6]
push ecx
push dword [eax + 8]
push dword [ebp + 0xc]
push 0x10
push 0x1423
call fcn.837bb67f
jmp 0x8372993e
call fcn.8377d8b8
test al, al
je 0x8372993c
push dword [esi]
mov eax, dword [ebx + 0xe4]
push dword [esi + 0x14]
movzx ecx, word [ebx + 8]
push dword [esi + 0x10]
xor esi, esi
push esi
push esi
push dword [eax + 0x10]
push ecx
movzx ecx, word [ebx + 0x18]
push esi
push esi
push dword [ebp + 0x1c]
push dword [ebp - 0x170]
push ecx
movzx ecx, word [eax + 6]
push ecx
push dword [eax + 8]
push dword [ebp + 0xc]
push 8
push 0x1422
jmp 0x837298ee
xor esi, esi
cmp dword [ebp - 0x174], esi
pop edi
pop esi
pop ebx
je 0x83729959
push 0x870f6d88
push dword [ebp - 0x174]
call fcn.8377aa64
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x174]
xor ecx, ebp
call fcn.83781dcc
leave
ret 0x40