Function at 0x1003cb00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x3c
mov eax, dword [0x1009cb68]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x1009cbf8]
xor bl, bl
cmp eax, edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], bl
je 0x1003cb42
lea ecx, [ecx]
inc bl
movzx eax, bl
cmp dword [eax*4 + 0x1009cb68], edi
jne 0x1003cb30
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x20]
push ecx
mov ebp, 0x14
mov ecx, esi
mov byte [esi + 5], 1
mov dword [esp + 0x24], ebp
call fcn.10031e30
cmp word [esp + 0x20], bp
jne 0x1003d18b
mov ecx, esi
call fcn.10031ed0
lea edx, [edi + 0xe4]
push edx
mov ecx, esi
call fcn.10031e80
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
mov al, byte [esi + 4]
xor edx, edx
xor ebp, ebp
test al, al
mov dword [esp + 0x1c], edx
jne 0x1003cbb5
mov eax, 0x1009c8e8
mov ecx, 0x10
nop
cmp dword [eax], 0
je 0x1003cbab
cmp byte [eax + 0x25], bl
jne 0x1003cbab
inc edx
add eax, 0x28
dec ecx
jne 0x1003cba0
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10031e30
mov al, byte [esi + 4]
test al, al
je 0x1003cbf4
mov ecx, 0x1009c8e8
mov edx, 0x10
cmp dword [ecx], 0
jne 0x1003cbd8
inc ebp
add ecx, 0x28
dec edx
jne 0x1003cbd2
cmp bp, word [esp + 0x1c]
jae 0x1003cbf4
push 0xffffffffffffff9a
call fcn.10029390
add esp, 4
jmp 0x1003d18b
xor ebx, ebx
test al, al
je 0x1003cc33
cmp word [esp + 0x1c], 0
je 0x1003cd4c
movzx ecx, bx
lea ecx, [ecx + ecx*4]
lea ebp, [ecx*8 + 0x1009c8e8]
cmp dword [ebp], 0
jne 0x1003cd41
mov edx, dword [0x1009cbf0]
mov al, byte [esp + 0x14]
mov dword [ebp], edx
mov byte [ebp + 0x24], 1
mov byte [ebp + 0x25], al
jmp 0x1003cc79
movzx ecx, bx
lea ecx, [ecx + ecx*4]
lea ebp, [ecx*8 + 0x1009c8e8]
cmp dword [ebp], 0
je 0x1003cd41
mov cl, byte [esp + 0x14]
cmp byte [ebp + 0x25], cl
jne 0x1003cd41
mov eax, dword [0x1009cbf0]
movzx dx, byte [eax + 0x74]
cmp dx, bx
jne 0x1003cc74
mov byte [esp + 0x50], 1
mov dword [eax + 0x74], 0x10
jmp 0x1003cc79
mov byte [esp + 0x50], 0
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.10031e20
mov al, byte [esi + 4]
test al, al
je 0x1003cc9f
cmp byte [esp + 0x50], 1
jne 0x1003cc9f
mov edx, dword [0x1009cbf0]
movzx ecx, bl
mov dword [edx + 0x74], ecx
lea eax, [ebp + 4]
push eax
mov ecx, esi
call fcn.10032950
lea edi, [ebp + 0x26]
push edi
mov ecx, esi
call fcn.10031e20
movzx eax, byte [edi]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [0x1009cbf0]
lea edi, [edx + ecx*8]
lea ecx, [edi + 4]
push ecx
mov ecx, esi
mov dword [edi], eax
call fcn.10031e80
lea edx, [edi + 8]
push edx
mov ecx, esi
call fcn.10031e20
lea eax, [edi + 0xc]
push eax
mov ecx, esi
call fcn.10031e80
lea ecx, [edi + 0x10]
push ecx
mov ecx, esi
call fcn.10031e20
lea edx, [edi + 0x11]
push edx
mov ecx, esi
call fcn.10031e20
lea eax, [edi + 0x12]
push eax
mov ecx, esi
call fcn.10031e30
add edi, 0x14
push edi
mov ecx, esi
call fcn.10031e30
mov ecx, esi
call fcn.10031ed0
mov al, byte [esi + 4]
test al, al
jne 0x1003cd32
mov dword [ebp], 0
mov al, byte [esi + 4]
test al, al
je 0x1003cd39
mov cl, byte [esi + 6]
test cl, cl
je 0x1003cda0
add dword [esp + 0x1c], 0xffff
inc ebx
cmp bx, 0x10
jb 0x1003cbf6
mov al, byte [esi + 4]
xor edi, edi
test al, al
jne 0x1003cdb6
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
cmp word [eax + 2], di
jbe 0x1003ce06
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 + 0x54], cl
call fcn.1002c340
add esp, 4
test al, al
jne 0x1003cd89
or byte [esp + 0x50], 4
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.10031e20
mov eax, dword [ebx]
inc edi
cmp di, word [eax + 2]
jb 0x1003cd67
jmp 0x1003ce06
movzx eax, bx
lea ecx, [eax + eax*4]
mov dword [ecx*8 + 0x1009c8e8], 0
jmp 0x1003d18b
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
cmp word [eax + 2], 0
jbe 0x1003ce06
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.10031e20
mov al, byte [esi + 4]
test al, al
je 0x1003cde5
mov al, byte [esi + 6]
test al, al
je 0x1003d18b
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x50]
and al, 0xfb
mov byte [esp + 0x50], 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 0x1003cdc3
mov ecx, esi
call fcn.10031ed0
mov al, byte [esi + 4]
mov ebx, dword [esp + 0x18]
xor edi, edi
test al, al
mov dword [esp + 0x1c], edi
jne 0x1003ce3c
push ebx
call fcn.1003c890
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x1003ce3c
inc dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edi
jne 0x1003ce32
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10031e30
cmp word [esp + 0x1c], di
mov ebp, dword [ebx + 0x20]
lea eax, [ebx + 0x20]
mov dword [esp + 0x28], eax
mov ebx, eax
mov dword [esp + 0x20], edi
jbe 0x1003cf9e
mov al, byte [esi + 4]
test al, al
jne 0x1003ce74
xor edx, edx
mov dx, word [ebp + 4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10031e30
mov al, byte [esi + 4]
test al, al
je 0x1003cec1
mov al, byte [esi + 6]
test al, al
je 0x1003d18b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1005e3a0
movzx ecx, word [esp + 0x18]
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.10031e30
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call fcn.10031e20
lea edx, [ebp + 9]
push edx
mov ecx, esi
call fcn.10031e20
lea eax, [ebp + 0xa]
push eax
mov ecx, esi
call fcn.10031e20
lea ecx, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.10031e80
lea edx, [ebp + 0x10]
push edx
mov ecx, esi
call fcn.10032950
movzx eax, word [ebp + 4]
sub eax, 0x34
push eax
lea ecx, [ebp + 0x34]
push ecx
mov ecx, esi
call fcn.10031d20
mov ecx, esi
call fcn.10031ed0
mov al, byte [esi + 4]
test al, al
je 0x1003cf87
mov al, byte [esi + 6]
test al, al
je 0x1003d057
mov edx, dword [esp + 0x18]
mov dword [ebx], ebp
mov eax, dword [edx + 8]
test eax, eax
mov di, word [edi]
mov ebx, ebp
je 0x1003cf77
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
je 0x1003cf77
mov ecx, eax
lea esp, [esp]
cmp word [ecx], di
je 0x1003cf68
inc edx
movzx ecx, dx
lea ecx, [ecx + ecx*2]
cmp dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
jne 0x1003cf50
jmp 0x1003cf77
movzx ecx, dx
lea edx, [ecx + ecx*2]
push 0
call dword [eax + edx*4 + 4]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x1003cf8a
mov dword [ebp + 0x24], 1
jmp 0x1003cf8a
mov ebp, dword [ebp]
mov eax, dword [esp + 0x20]
inc eax
cmp ax, word [esp + 0x1c]
mov dword [esp + 0x20], eax
jb 0x1003ce63
mov ecx, esi
call fcn.10032520
mov eax, dword [0x1009cbac]
test eax, eax
je 0x1003cfd2
push 1
mov ecx, esi
call fcn.10032b30
test al, al
je 0x1003cfd2
mov eax, dword [0x1009cbf0]
push eax
push esi
call dword [0x1009cbac]
add esp, 8
mov ecx, esi
call fcn.10032550
mov ecx, esi
call fcn.10032c00
mov ecx, esi
call fcn.10031ed0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
xor ebp, ebp
xor ebx, ebx
call fcn.10031e30
mov al, byte [esi + 4]
test al, al
jne 0x1003d083
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
cmp word [eax], bp
jbe 0x1003d071
mov edx, dword [eax + 4]
movzx ecx, bp
mov eax, dword [edx + ecx*4]
test eax, eax
je 0x1003d065
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x1003d065
mov ebx, dword [esp + 0x18]
mov edi, edi
lea eax, [esp + 0x14]
push eax
push edi
push ebx
call fcn.10026a80
mov ecx, edi
sub ecx, eax
add esp, 0xc
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.10031e30
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10031e30
mov edi, dword [edi]
test edi, edi
jne 0x1003d020
jmp 0x1003d069
push ebp
call fcn.1005e3b0
add esp, 4
jmp 0x1003d18b
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
inc ebp
cmp bp, word [eax]
jb 0x1003d006
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1003c890
add esp, 4
jmp 0x1003d156
cmp word [esp + 0x24], bp
mov dword [esp + 0x20], ebp
jbe 0x1003d156
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.10031e30
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10031e30
mov al, byte [esi + 4]
test al, al
je 0x1003d0bc
mov al, byte [esi + 6]
test al, al
je 0x1003d18b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov cx, word [esp + 0x14]
test cx, cx
jbe 0x1003d0d5
movzx ecx, cx
nop
dec ecx
mov eax, dword [eax]
jne 0x1003d0d0
movzx edi, word [esp + 0x1c]
add edi, eax
xor edx, edx
mov dx, word [edi + 4]
push edx
call fcn.1003c750
mov word [edi + 4], ax
xor eax, eax
mov ax, word [edi + 6]
push eax
call fcn.1003c750
xor ecx, ecx
mov cx, word [edi + 0xa]
mov word [edi + 6], ax
push ecx
call fcn.1003c750
xor edx, edx
mov dx, word [edi + 0xc]
mov word [edi + 0xa], ax
push edx
call fcn.1003c750
mov ecx, dword [esp + 0x28]
mov word [edi + 0xc], ax
movzx eax, word [edi + 4]
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + eax*4]
add esp, 0x10
cmp ebp, eax
je 0x1003d138
mov ebp, eax
lea ebx, [ebp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [ebx], edi
inc eax
mov dword [edi], 0
cmp ax, word [esp + 0x24]
mov ebx, edi
mov dword [esp + 0x20], eax
jb 0x1003d092
mov ecx, esi
call fcn.10031ed0
mov al, byte [esi + 4]
test al, al
mov ecx, esi
push 0x20
je 0x1003d16f
lea edx, [esp + 0x30]
push edx
jmp 0x1003d174
push str.U_L_LiCeNsE__U_LYABABABABABABABA_T_b
call fcn.10031d20
mov ecx, esi
call fcn.10031ed0
mov al, byte [esi + 6]
test al, al
mov byte [esp + 0x13], al
jne 0x1003d19e
mov al, byte [esi + 4]
test al, al
je 0x1003d19e
mov eax, dword [0x1009cbf0]
mov dword [eax + 0x74], 0x10
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret