Function at 0x10039c30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [esp + 0x34]
mov ecx, dword [ebp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x8e0]
movzx edx, word [ecx + eax*8]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 6]
lea edx, [ecx + edx*4]
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], ecx
mov dword [edi + 0xa0], ecx
mov dword [esp + 0xc], ecx
cmp eax, ecx
jbe 0x1003a471
push ebx
push esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
movzx edx, ax
mov esi, eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax + edx*8]
mov dword [esp + 0x28], ecx
mov ecx, edx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
shr esi, 0x18
test dword [esp + 0x3c], ebx
je 0x10039cec
xor eax, eax
cmp dword [esp + 0x14], eax
jbe 0x10039cec
lea esp, [esp]
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + eax*4]
cmp ecx, edx
je 0x10039cd5
inc eax
cmp eax, dword [esp + 0x14]
jb 0x10039cc0
jmp 0x10039cec
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + eax*4 + 3]
mov eax, dword [edi + eax*4 + 0x1c8]
and eax, 0xfffcffff
jne 0x10039d5c
or dword [esp + 0x3c], ebx
cmp edx, 0x8000
jae 0x10039d05
mov eax, dword [esp + 0x28]
mov ecx, edi
call fcn.10038fe0
jmp 0x10039d5c
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx + 6]
and edx, 0xffffff80
cmp edx, 0x80
jne 0x10039d24
mov dword [esp + 0x24], 1
mov eax, esi
jmp 0x10039d5c
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + 4]
and eax, 0x1f
cmp byte [edx + 5], 0x45
mov ecx, 0x21
jne 0x10039d44
movzx ecx, word [edx + 2]
and ecx, 0x10
or ecx, 0x21
or eax, 0x4500
mov word [edi + 0x72], cx
mov ecx, edi
mov word [edi + 0x74], ax
mov word [edi + 0x70], si
call fcn.10024170
mov edx, dword [esp + 0x30]
mov ecx, edx
and ecx, 0x30000
mov ebx, ecx
or ebx, eax
mov dword [edi + esi*4 + 0x1c8], ebx
test ecx, ecx
je 0x10039d82
test esi, esi
je 0x10039d82
mov eax, 1
jmp 0x10039d84
xor eax, eax
add dword [edi + 0xa0], eax
test edx, 0x10000
je 0x10039d96
inc esi
mov dword [edi + 0x68], esi
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jb 0x10039c81
xor eax, eax
cmp dword [esp + 0x24], eax
je 0x1003a46f
mov ecx, dword [esp + 0x34]
movzx edx, word [ecx + 2]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x18]
lea edx, [ecx + edx*8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov esi, dword [ebx + eax*4]
mov eax, dword [ebp + 0x10]
movzx edx, si
cmp byte [eax + edx*8 + 6], 0xfd
lea eax, [eax + edx*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
jne 0x10039f74
shr esi, 0x18
cmp dword [edi + esi*4 + 0x1c8], esi
jne 0x10039fb1
movzx ecx, word [eax]
mov dword [esp + 0x24], 1
cmp ecx, dword [ebp + 0x14]
jb 0x10039e2f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebx
mov eax, ebp
call fcn.100390b0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
add esp, 0xc
movzx ecx, word [eax + 2]
cmp ecx, dword [ebp + 0x14]
jb 0x10039e55
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebx
mov eax, ebp
call fcn.100390b0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
add esp, 0xc
cmp byte [eax + 5], 0x51
jne 0x10039e91
inc edx
cmp edx, dword [ebp + 8]
jae 0x10039fb1
cmp byte [eax + 0xd], 0x10
jne 0x10039fb1
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + 0xa]
push edx
push eax
push ebx
mov eax, ebp
call fcn.100390b0
add esp, 0xc
jmp 0x10039fb1
lea esi, [eax + 8]
cmp esi, dword [esp + 0x20]
jae 0x10039fb1
mov edi, edi
cmp byte [esi + 6], 0xfe
jne 0x10039f65
mov al, byte [esi + 7]
cmp al, 0xff
je 0x10039ec1
mov edx, dword [esp + 0x1c]
movzx ecx, al
lea eax, [edx + ecx*8]
xor ecx, ecx
cmp eax, esi
jmp 0x10039f00
mov al, byte [esi + 5]
cmp al, 0x47
je 0x10039ed8
cmp al, 0x48
je 0x10039ed8
cmp al, 0x4a
je 0x10039ed8
cmp al, 0x4b
je 0x10039ed8
xor eax, eax
jmp 0x10039f05
movzx edx, word [esi]
mov ecx, dword [edi + 0x10]
lea eax, [ecx + edx*8]
mov dl, byte [eax + 5]
cmp dl, 0x38
je 0x10039eee
cmp dl, 0x39
jne 0x10039ef4
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx edx, word [eax]
lea eax, [ecx + edx*8]
xor ecx, ecx
cmp eax, dword [esp + 0x1c]
sete cl
mov eax, ecx
test eax, eax
je 0x10039f65
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 2]
push edx
push eax
push ebx
mov eax, ebp
call fcn.100390b0
add esp, 0xc
test eax, eax
jne 0x10039f3d
movzx ecx, word [esi + 2]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x3c]
movzx ecx, word [edx + ecx*8]
mov edx, dword [esp + 0x10]
push eax
push edx
jmp 0x10039f5a
lea eax, [esi + 8]
cmp eax, dword [esp + 0x20]
jae 0x10039f65
cmp byte [esi + 0xd], 0x10
jne 0x10039f65
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 0xa]
push edx
push eax
push ebx
mov eax, ebp
call fcn.100390b0
add esp, 0xc
add esi, 8
cmp esi, dword [esp + 0x20]
jb 0x10039ea0
jmp 0x10039fb1
cmp edx, 0x8000
jb 0x10039fb1
movzx ecx, word [eax + 6]
and ecx, 0xffffff80
cmp ecx, 0x80
jne 0x10039fb1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
movzx ecx, word [edx]
mov edx, dword [esp + 0x10]
push eax
push edx
push ebx
mov eax, ebp
call fcn.100390b0
add esp, 0xc
shr esi, 0x18
mov dword [edi + esi*4 + 0x1c8], eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jb 0x10039dd3
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], eax
je 0x1003a46f
cmp eax, dword [esp + 0x10]
jae 0x1003a46f
mov ebx, dword [ebx + eax*4]
mov ecx, dword [ebp + 0x10]
movzx eax, bx
cmp byte [ecx + eax*8 + 6], 0xfd
mov dword [esp + 0x30], eax
lea eax, [ecx + eax*8]
mov dword [esp + 0x28], eax
jne 0x1003a45a
shr ebx, 0x18
mov dword [esp + 0x2c], ebx
cmp dword [edi + ebx*4 + 0x1c8], ebx
je 0x1003a034
mov edx, dword [edi + ebx*4 + 0x1c8]
mov eax, dword [edi + edx*4 + 0x1c8]
inc dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
mov dword [edi + ebx*4 + 0x1c8], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x10039fd4
mov ebp, dword [esp + 0x28]
movzx ecx, word [ebp]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esi + 0x14]
jb 0x1003a066
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push eax
push edx
mov eax, esi
call fcn.100390b0
add esp, 0xc
mov dword [esp + 0x1c], eax
movzx ebx, word [ebp + 2]
cmp ebx, dword [esi + 0x14]
jb 0x1003a08c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, ebx
mov eax, esi
call fcn.100390b0
add esp, 0xc
mov ebx, eax
cmp byte [ebp + 5], 0x51
jne 0x1003a126
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esi + 8]
jae 0x1003a0ea
cmp byte [ebp + 0xd], 0x10
jne 0x1003a0ea
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xfc], 1
movzx ecx, word [ebp + 0xa]
push eax
push edx
mov eax, esi
call fcn.100390b0
movzx eax, ax
mov ecx, 0x1015
mov word [edi + 0x74], cx
add esp, 0xc
mov ecx, edi
mov word [edi + 0x70], bx
mov word [edi + 0x72], ax
call fcn.10024170
mov ebx, eax
mov dx, word [ebp + 4]
mov ax, word [esp + 0x1c]
mov ecx, edi
mov word [edi + 0x74], dx
mov word [edi + 0x70], ax
mov word [edi + 0x72], bx
call fcn.1002a220
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x40]
mov dword [edi + ecx*4 + 0x1c8], eax
mov eax, dword [esp + 0x14]
jmp 0x10039fd4
mov dx, word [ebp + 4]
mov ax, word [esp + 0x1c]
mov ecx, edi
mov word [edi + 0x74], dx
mov word [edi + 0x70], ax
mov word [edi + 0x72], bx
call fcn.1002a220
mov ecx, dword [esp + 0x2c]
lea esi, [ebp + 8]
mov dword [esp + 0x30], eax
mov dword [edi + ecx*4 + 0x1c8], eax
cmp esi, dword [esp + 0x20]
jae 0x1003a45a
mov edi, edi
cmp byte [esi + 6], 0xfe
jne 0x1003a428
mov al, byte [esi + 7]
cmp al, 0xff
je 0x1003a184
movzx edx, al
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx*8]
xor eax, eax
cmp ecx, esi
sete al
jmp 0x1003a1c8
mov al, byte [esi + 5]
cmp al, 0x47
je 0x1003a19b
cmp al, 0x48
je 0x1003a19b
cmp al, 0x4a
je 0x1003a19b
cmp al, 0x4b
je 0x1003a19b
xor eax, eax
jmp 0x1003a1c8
movzx edx, word [esi]
mov ecx, dword [edi + 0x10]
lea eax, [ecx + edx*8]
mov dl, byte [eax + 5]
cmp dl, 0x38
je 0x1003a1b1
cmp dl, 0x39
jne 0x1003a1b7
movzx eax, word [eax]
lea eax, [ecx + eax*8]
movzx edx, word [eax]
lea eax, [ecx + edx*8]
xor ecx, ecx
cmp eax, dword [esp + 0x28]
sete cl
mov eax, ecx
test eax, eax
je 0x1003a428
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x10]
movzx eax, word [esi]
mov edx, dword [esp + 0x30]
movzx ebx, word [ecx + eax*8 + 2]
lea ebp, [ecx + eax*8]
mov dword [esp + 0x1c], edx
mov dl, byte [ebp + 5]
cmp dl, 0x3e
je 0x1003a25f
lea eax, [ecx + ebx*8]
cmp dl, 0x39
jne 0x1003a218
movzx edx, word [eax + 2]
movzx eax, word [eax]
lea eax, [ecx + eax*8]
push edx
mov ecx, edi
call fcn.10038fe0
push eax
push edi
call fcn.10023d70
add esp, 0xc
jmp 0x1003a21f
mov ecx, edi
call fcn.10038fe0
mov ebx, eax
mov al, byte [ebp + 5]
cmp al, 0x39
je 0x1003a22c
cmp al, 0x38
jne 0x1003a25f
movzx ecx, word [ebp]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x10]
mov dx, word [eax + ecx*8 + 4]
lea eax, [eax + ecx*8]
movzx ecx, word [eax + 2]
mov ax, word [esp + 0x30]
mov word [edi + 0x72], cx
mov ecx, edi
mov word [edi + 0x74], dx
mov word [edi + 0x70], ax
call fcn.1002a220
mov dword [esp + 0x1c], eax
mov cx, word [ebp + 4]
mov dx, word [esp + 0x1c]
mov word [edi + 0x74], cx
mov ecx, edi
mov word [edi + 0x70], dx
mov word [edi + 0x72], bx
call fcn.1002a220
movzx edx, word [esi + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
lea eax, [ecx + edx*8]
cmp edx, 0x8000
jae 0x1003a2a1
mov ecx, edi
call fcn.10038fe0
jmp 0x1003a324
movzx ecx, word [eax + 6]
and ecx, 0xffffff80
cmp ecx, 0x80
jne 0x1003a2b4
xor ebp, ebp
jmp 0x1003a326
mov ecx, edx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
test dword [esp + 0x3c], ebx
je 0x1003a2f9
xor ecx, ecx
jmp 0x1003a2d0
mov ebx, dword [esp + 0x18]
movzx ebp, word [ebx + ecx*4]
cmp ebp, edx
je 0x1003a2e5
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x1003a2d0
jmp 0x1003a2f9
movzx ecx, byte [ebx + ecx*4 + 3]
mov ebp, dword [edi + ecx*4 + 0x1c8]
and ebp, 0xfffcffff
jne 0x1003a326
mov al, byte [eax + 4]
and al, 0x1f
movzx ecx, al
mov eax, 0xe00
or cx, ax
mov word [edi + 0x74], cx
xor ecx, ecx
add edx, 0x8000
mov word [edi + 0x72], cx
mov ecx, edi
mov word [edi + 0x70], dx
call fcn.1002a220
mov ebp, eax
mov eax, ebp
test ebp, ebp
jne 0x1003a36f
movzx edx, word [esi + 2]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x3c]
movzx ecx, word [ecx]
push edx
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push edx
call fcn.100390b0
add esp, 0xc
mov ecx, edi
mov word [edi + 0x70], ax
mov dword [edi + 0x72], 0x550e01d3
call fcn.1002a220
mov dx, word [esi + 4]
jmp 0x1003a415
lea ecx, [esi + 8]
cmp ecx, dword [esp + 0x20]
jae 0x1003a366
cmp byte [esi + 0xd], 0x10
jne 0x1003a366
mov dword [edi + 0xfc], 1
movzx ebx, word [esi + 2]
mov edx, 0x8000
cmp bx, dx
jae 0x1003a3cf
movzx eax, word [esi + 0xa]
mov ecx, edx
cmp ax, cx
jae 0x1003a3cf
mov edx, dword [esp + 0x40]
mov ebp, dword [edx + 0x10]
mov eax, dword [ebp + eax*8]
cdq
mov edx, dword [ebp + ebx*8]
xor ecx, ecx
xor ebx, ebx
add ecx, edx
adc eax, ebx
push eax
push ecx
push edi
call fcn.100239a0
push eax
push 0x1c
push edi
call fcn.10023a40
add esp, 0x18
jmp 0x1003a409
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
movzx ecx, word [esi + 0xa]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x4c]
call fcn.100390b0
movzx eax, ax
mov ecx, 0x1015
mov word [edi + 0x74], cx
add esp, 0xc
mov ecx, edi
mov word [edi + 0x70], bp
mov word [edi + 0x72], ax
call fcn.10024170
movzx edx, byte [esi + 5]
shl dx, 8
or dx, 0x15
mov cx, word [esp + 0x1c]
mov word [edi + 0x74], dx
mov word [edi + 0x70], cx
mov word [edi + 0x72], ax
jmp 0x1003a446
cmp byte [esi + 5], 0x54
jne 0x1003a44d
mov edx, dword [esp + 0x28]
cmp byte [edx + 5], 0x50
jne 0x1003a44d
mov eax, 0x5400
xor ecx, ecx
mov word [edi + 0x74], ax
mov dword [edi + 0x70], ecx
mov ecx, edi
call fcn.1002a220
add esi, 8
cmp esi, dword [esp + 0x20]
jb 0x1003a160
inc dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
jmp 0x10039fd4
pop esi
pop ebx
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x2c]
lea ecx, [edi + eax*4 + 0x1c8]
mov dword [edi + 0x5c], ecx
movzx ecx, byte [edx + 4]
sub ecx, eax
push edi
mov dword [edi + 0x64], ecx
call fcn.10039b60
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x1003a4b5
mov edx, 0xf80
xor eax, eax
mov word [edi + 0x74], dx
mov dword [edi + 0x70], eax
mov ecx, edi
pop edi
pop ebp
add esp, 0x28
jmp fcn.10024170
pop edi
pop ebp
add esp, 0x28
ret