Function at 0x1003c980
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
mov eax, dword [0x10090aa8]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10090b38]
xor bl, bl
cmp eax, edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0
mov byte [esp + 0x14], bl
je 0x1003c9c2
lea ecx, [ecx]
inc bl
movzx eax, bl
cmp dword [eax*4 + 0x10090aa8], edi
jne 0x1003c9b0
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
push ecx
mov ebp, 0x14
mov ecx, esi
mov byte [esi + 5], 1
mov dword [esp + 0x20], ebp
call fcn.10031f50
cmp word [esp + 0x1c], bp
jne 0x1003cffe
mov ecx, esi
call fcn.10031ff0
lea edx, [edi + 0xf4]
push edx
mov ecx, esi
call fcn.10031fa0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
mov al, byte [esi + 4]
xor edx, edx
xor ebp, ebp
test al, al
mov dword [esp + 0x1c], edx
jne 0x1003ca35
mov eax, 0x10090628
mov ecx, 0x10
nop
cmp dword [eax], 0
je 0x1003ca2b
cmp byte [eax + 0x45], bl
jne 0x1003ca2b
inc edx
add eax, 0x48
dec ecx
jne 0x1003ca20
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10031f50
mov al, byte [esi + 4]
test al, al
je 0x1003ca74
mov ecx, 0x10090628
mov edx, 0x10
cmp dword [ecx], 0
jne 0x1003ca58
inc ebp
add ecx, 0x48
dec edx
jne 0x1003ca52
cmp bp, word [esp + 0x1c]
jae 0x1003ca74
push 0xffffffffffffff9a
call fcn.10029780
add esp, 4
jmp 0x1003cffe
xor ebx, ebx
test al, al
je 0x1003cab3
cmp word [esp + 0x1c], 0
je 0x1003cbcc
movzx ecx, bx
lea ecx, [ecx + ecx*8]
lea ebp, [ecx*8 + 0x10090628]
cmp dword [ebp], 0
jne 0x1003cbc1
mov edx, dword [0x10090b30]
mov al, byte [esp + 0x14]
mov dword [ebp], edx
mov byte [ebp + 0x44], 1
mov byte [ebp + 0x45], al
jmp 0x1003caf9
movzx ecx, bx
lea ecx, [ecx + ecx*8]
lea ebp, [ecx*8 + 0x10090628]
cmp dword [ebp], 0
je 0x1003cbc1
mov cl, byte [esp + 0x14]
cmp byte [ebp + 0x45], cl
jne 0x1003cbc1
mov eax, dword [0x10090b30]
movzx dx, byte [eax + 0x74]
cmp dx, bx
jne 0x1003caf4
mov byte [esp + 0x54], 1
mov dword [eax + 0x74], 0x10
jmp 0x1003caf9
mov byte [esp + 0x54], 0
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.10031f40
mov al, byte [esi + 4]
test al, al
je 0x1003cb1f
cmp byte [esp + 0x54], 1
jne 0x1003cb1f
mov edx, dword [0x10090b30]
movzx ecx, bl
mov dword [edx + 0x74], ecx
lea eax, [ebp + 4]
push eax
mov ecx, esi
call fcn.10032ad0
lea edi, [ebp + 0x46]
push edi
mov ecx, esi
call fcn.10031f40
movzx eax, byte [edi]
mov edx, dword [esp + 0x28]
lea ecx, [eax + eax*2]
mov eax, dword [0x10090b30]
lea edi, [edx + ecx*8]
lea ecx, [edi + 4]
push ecx
mov ecx, esi
mov dword [edi], eax
call fcn.10031fa0
lea edx, [edi + 8]
push edx
mov ecx, esi
call fcn.10031f40
lea eax, [edi + 0xc]
push eax
mov ecx, esi
call fcn.10031fa0
lea ecx, [edi + 0x10]
push ecx
mov ecx, esi
call fcn.10031f40
lea edx, [edi + 0x11]
push edx
mov ecx, esi
call fcn.10031f40
lea eax, [edi + 0x12]
push eax
mov ecx, esi
call fcn.10031f50
add edi, 0x14
push edi
mov ecx, esi
call fcn.10031f50
mov ecx, esi
call fcn.10031ff0
mov al, byte [esi + 4]
test al, al
jne 0x1003cbb2
mov dword [ebp], 0
mov al, byte [esi + 4]
test al, al
je 0x1003cbb9
mov cl, byte [esi + 6]
test cl, cl
je 0x1003cc20
add dword [esp + 0x1c], 0xffff
inc ebx
cmp bx, 0x10
jb 0x1003ca76
mov al, byte [esi + 4]
xor edi, edi
test al, al
jne 0x1003cc36
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
cmp word [eax + 2], di
jbe 0x1003cc86
mov ebx, edx
mov edx, dword [eax + 4]
movzx ecx, di
mov eax, dword [edx + ecx*4]
mov cl, byte [eax + 0x30]
push edi
mov byte [esp + 0x58], cl
call fcn.1002c6a0
add esp, 4
test al, al
jne 0x1003cc09
or byte [esp + 0x54], 4
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.10031f40
mov eax, dword [ebx]
inc edi
cmp di, word [eax + 2]
jb 0x1003cbe7
jmp 0x1003cc86
movzx eax, bx
lea ecx, [eax + eax*8]
mov dword [ecx*8 + 0x10090628], 0
jmp 0x1003cffe
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
cmp word [eax + 2], 0
jbe 0x1003cc86
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.10031f40
mov al, byte [esi + 4]
test al, al
je 0x1003cc65
mov al, byte [esi + 6]
test al, al
je 0x1003cffe
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x54]
and al, 0xfb
mov byte [esp + 0x54], al
mov ecx, dword [ebx]
mov ecx, dword [ecx + 4]
movzx edx, di
mov edx, dword [ecx + edx*4]
mov byte [edx + 0x30], al
mov eax, dword [ebx]
inc edi
cmp di, word [eax + 2]
jb 0x1003cc43
mov ecx, esi
call fcn.10031ff0
mov al, byte [esi + 4]
mov ebx, dword [esp + 0x18]
xor edi, edi
test al, al
mov dword [esp + 0x1c], edi
jne 0x1003ccea
mov eax, dword [ebx]
xor edx, edx
xor ecx, ecx
cmp word [eax], di
jbe 0x1003ccd3
lea esp, [esp]
mov eax, dword [eax + 4]
movzx ebp, cx
mov eax, dword [eax + ebp*4]
cmp eax, edi
je 0x1003cccb
mov eax, dword [eax + 0x1c]
cmp eax, edi
je 0x1003cccb
mov eax, dword [eax]
inc edx
cmp eax, edi
jne 0x1003ccc4
mov eax, dword [ebx]
inc ecx
cmp cx, word [eax]
jb 0x1003ccb0
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x1003ccea
mov edi, edi
inc dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edi
jne 0x1003cce0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10031f50
cmp word [esp + 0x1c], di
mov ebp, dword [ebx + 0x20]
lea eax, [ebx + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
jbe 0x1003ce50
mov al, byte [esi + 4]
test al, al
jne 0x1003cd24
xor edx, edx
mov dx, word [ebp + 4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10031f50
mov al, byte [esi + 4]
test al, al
je 0x1003cd75
mov al, byte [esi + 6]
test al, al
je 0x1003cffe
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1005df60
movzx ecx, word [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ax, word [esp + 0x14]
mov word [ebp + 4], ax
lea edi, [ebp + 6]
push edi
mov ecx, esi
call fcn.10031f50
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call fcn.10031f40
lea edx, [ebp + 9]
push edx
mov ecx, esi
call fcn.10031f40
lea eax, [ebp + 0xa]
push eax
mov ecx, esi
call fcn.10031f40
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.10031fa0
lea edx, [ebp + 0x10]
push edx
mov ecx, esi
call fcn.10032ad0
movzx eax, word [ebp + 4]
sub eax, 0x44
push eax
lea ecx, [ebp + 0x44]
push ecx
mov ecx, esi
call fcn.10031e40
mov ecx, esi
call fcn.10031ff0
mov al, byte [esi + 4]
test al, al
je 0x1003ce39
mov al, byte [esi + 6]
test al, al
je 0x1003cf37
mov edx, dword [esp + 0x24]
mov dword [edx], ebp
mov eax, dword [ebx + 8]
test eax, eax
mov di, word [edi]
mov dword [esp + 0x24], ebp
je 0x1003ce29
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
je 0x1003ce29
mov ecx, eax
cmp word [ecx], di
je 0x1003ce1a
inc edx
movzx ecx, dx
lea ecx, [ecx + ecx*2]
cmp dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
jne 0x1003ce02
jmp 0x1003ce29
movzx ecx, dx
lea edx, [ecx + ecx*2]
push 0
call dword [eax + edx*4 + 4]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x34]
test eax, eax
jne 0x1003ce3c
mov dword [ebp + 0x34], 1
jmp 0x1003ce3c
mov ebp, dword [ebp]
mov eax, dword [esp + 0x28]
inc eax
cmp ax, word [esp + 0x1c]
mov dword [esp + 0x28], eax
jb 0x1003cd13
mov ecx, esi
call fcn.10032620
mov eax, dword [0x10090aec]
test eax, eax
je 0x1003ce84
push 1
mov ecx, esi
call fcn.10032c90
test al, al
je 0x1003ce84
mov eax, dword [0x10090b30]
push eax
push esi
call dword [0x10090aec]
add esp, 8
mov ecx, esi
call fcn.10032650
mov ecx, esi
call fcn.10032d60
mov ecx, esi
call fcn.10031ff0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
xor ebp, ebp
call fcn.10031f50
mov al, byte [esi + 4]
test al, al
jne 0x1003cf45
mov eax, dword [ebx]
cmp word [eax], bp
jbe 0x1003cf03
mov eax, dword [eax + 4]
movzx edx, bp
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1003cefb
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1003cefb
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
call fcn.10026e90
mov edx, edi
sub edx, eax
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.10031f50
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10031f50
mov edi, dword [edi]
test edi, edi
jne 0x1003cec6
mov eax, dword [ebx]
inc ebp
cmp bp, word [eax]
jb 0x1003ceb2
mov eax, dword [ebx]
xor ecx, ecx
cmp word [eax], cx
jbe 0x1003cfc9
mov eax, dword [eax + 4]
movzx edx, cx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1003cf2a
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1003cf2a
mov eax, dword [eax]
test eax, eax
jne 0x1003cf24
mov eax, dword [ebx]
inc ecx
cmp cx, word [eax]
jb 0x1003cf10
jmp 0x1003cfc9
push ebp
call fcn.1005df70
add esp, 4
jmp 0x1003cffe
xor ebx, ebx
xor edi, edi
cmp word [esp + 0x20], bx
jbe 0x1003cfc9
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10031f50
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.10031f50
mov al, byte [esi + 4]
test al, al
je 0x1003cf7e
mov al, byte [esi + 6]
test al, al
je 0x1003cffe
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov ax, word [esp + 0x14]
test ax, ax
jbe 0x1003cf96
movzx eax, ax
dec eax
mov ecx, dword [ecx]
jne 0x1003cf91
movzx eax, word [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
mov edx, dword [edx + 4]
add eax, ecx
movzx ecx, word [eax + 4]
mov ecx, dword [edx + ecx*4]
cmp edi, ecx
je 0x1003cfb6
mov edi, ecx
lea ebp, [edi + 0x1c]
mov dword [ebp], eax
inc ebx
mov dword [eax], 0
cmp bx, word [esp + 0x20]
mov ebp, eax
jb 0x1003cf54
mov ecx, esi
call fcn.10031ff0
mov al, byte [esi + 4]
test al, al
mov ecx, esi
push 0x20
je 0x1003cfe2
lea eax, [esp + 0x34]
push eax
jmp 0x1003cfe7
push str.U_L_LiCeNsE__U_LYABABABABABABABAx
call fcn.10031e40
mov ecx, esi
call fcn.10031ff0
mov al, byte [esi + 6]
test al, al
mov byte [esp + 0x13], al
jne 0x1003d01e
mov al, byte [esi + 4]
test al, al
mov al, byte [esp + 0x13]
je 0x1003d022
mov ecx, dword [0x10090b30]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x74], 0x10
pop ebx
add esp, 0x40
ret
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret