Function at 0x1025832
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x103b3bc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ax, word [esi + 6]
xor ebx, ebx
cmp ax, 2
push edi
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x330], ebx
je 0x1026512
cmp ax, 6
je 0x1026512
cmp dword [0x103b8c8], 3
jg 0x1025d73
call fcn.01023afd
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001c9c
lea eax, [ebp - 0x10]
push eax
call edi
movzx eax, word [esi + 6]
mov dword [0x103d330], eax
mov ax, word [esi + 6]
cmp ax, 0x102
jne 0x10258b5
movzx ecx, word [esi + 0x10]
cmp byte [ecx + esi + 4], bl
je 0x10259f4
cmp ax, 0x203
je 0x10259f4
cmp ax, 0x204
je 0x10259f4
cmp ax, 0x106
je 0x10259f4
cmp ax, 0x107
je 0x10259f4
mov ax, word [esi + 0x10]
cmp ax, bx
jbe 0x10259f4
movzx eax, ax
lea eax, [eax + esi + 4]
mov ebx, 0x1001d98
push ebx
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push dword [ebp - 0x324]
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x114]
jne 0x102593b
push 0x1001dac
push eax
call edi
and dword [ebp - 0x334], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x324], eax
jmp 0x102597a
push dword [ebp - 0x324]
push eax
call edi
lea eax, [ebp - 0x114]
push 0x3e
push eax
mov dword [ebp - 0x324], eax
call dword [sym.imp.msvcrt.dll_strchr]
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x334], ebx
je 0x102597a
push 9
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [ebx], 0
push 3
lea eax, [ebp - 0x113]
push 0x10022fc
push eax
call dword [sym.imp.msvcrt.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x10259a5
lea eax, [ebp - 0x112]
push eax
lea eax, [ebp - 0x114]
push eax
call edi
cmp byte [ebp - 0x114], 0
je 0x1025a8c
push 0x2e
lea eax, [ebp - 0x114]
push eax
call fcn.010079f0
test eax, eax
jne 0x1025a8c
lea eax, [ebp - 0x114]
push eax
push eax
call edi
push 0x1001d88
lea eax, [ebp - 0x114]
push eax
call fcn.0102c23a
lea eax, [ebp - 0x114]
mov dword [ebp - 0x324], eax
jmp 0x1025a8c
movzx eax, word [esi + 6]
inc dword [0x103b8c8]
cmp eax, 0x96
mov ebx, 0x108
jg 0x1025f49
cmp eax, 0x95
jge 0x10263f5
cmp eax, 8
jg 0x1025d85
jne 0x1025c11
xor ebx, ebx
push ebx
push dword [ebp - 0x320]
push dword [esi + 8]
push 0x10022e8
call fcn.0102432b
xor edi, edi
inc edi
cmp dword [0x103d580], ebx
mov dword [0x103d568], edi
jne 0x1025d7a
push edi
push dword [esi + 8]
push ebx
push dword [ebp - 0x320]
call fcn.0101e63f
test eax, eax
jne 0x1025d7a
push ebx
call fcn.0102c41b
mov eax, 0x6f19
cmp dword [esi + 8], eax
je 0x1025d57
mov dword [ebp - 0x324], 0x1002094
mov dword [esi + 8], eax
xor ebx, ebx
mov dword [ebp - 0x320], ebx
call fcn.0100d6d7
cmp eax, ebx
mov dword [ebp - 0x32c], eax
je 0x1025ac9
mov ecx, dword [ebp - 0x324]
cmp byte [ecx], bl
mov eax, dword [eax + 0xc]
jne 0x1025aba
push dword [eax + 8]
call fcn.0100e745
jmp 0x1025ac3
push ecx
push dword [eax + 8]
call fcn.0100ec56
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], ebx
je 0x1025ae0
push dword [ebp - 0x320]
call fcn.0100e852
test eax, eax
jne 0x1025b01
push dword [ebp - 0x320]
call fcn.0100325b
push 0xb1
push dword [ebp - 0x324]
call fcn.0100f57a
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], ebx
je 0x1025b18
push dword [ebp - 0x320]
call fcn.0100e852
test eax, eax
jne 0x1025b93
cmp dword [esi], ebx
je 0x1025b93
push dword [ebp - 0x320]
call fcn.0100325b
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1025b53
push edi
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call fcn.0100d189
test eax, eax
je 0x1025b93
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0100f082
push 0xc
mov ebx, eax
push edi
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x324]
call fcn.0100ed4a
lea eax, [ebp - 0x31c]
push eax
push ebx
call fcn.0100ec56
push ebx
mov dword [ebp - 0x320], eax
call fcn.0100325b
xor ebx, ebx
cmp dword [ebp - 0x320], ebx
je 0x1025bae
push dword [ebp - 0x320]
call fcn.0100e852
test eax, eax
jne 0x10259f4
mov eax, dword [ebp - 0x324]
cmp byte [eax], 0
je 0x10259f4
push dword [ebp - 0x320]
call fcn.0100325b
push 1
push dword [ebp - 0x324]
call fcn.0100f299
test eax, eax
mov dword [ebp - 0x320], eax
je 0x1025bed
push eax
call fcn.0100e852
test eax, eax
jne 0x10259f4
push dword [ebp - 0x324]
push 1
push 0x80
call fcn.010268cc
cmp dword [ebp - 0x32c], 0
jne 0x1025d73
jmp 0x1025d6e
dec eax
je 0x1025cfb
dec eax
dec eax
je 0x1025ce2
dec eax
je 0x1025cb7
dec eax
je 0x1025c50
dec eax
dec eax
jne 0x10264ff
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
push 1
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10264ff
push 0
push dword [ebp - 0x320]
push dword [esi + 8]
push 0x10022d4
call fcn.0102432b
call fcn.0100d6d7
mov edi, eax
test edi, edi
je 0x1025c8e
push dword [ebp - 0x320]
push edi
call fcn.010278df
test eax, eax
je 0x1025c8e
push dword [esi + 8]
push edi
call fcn.0101990d
jmp 0x10264ff
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10264ff
call fcn.01026663
jmp 0x10264ff
push 0x10022c0
call fcn.010242ce
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a4]
call fcn.0100d6f1
push eax
call fcn.01023488
jmp 0x10264ff
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x10022b0
call fcn.010243cf
jmp 0x1025f09
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
add esi, 8
push dword [esi]
push 0x10022a0
call fcn.0102432b
push 1
push 0
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01024750
test eax, eax
je 0x10264ff
xor eax, eax
inc eax
push esi
push eax
mov dword [0x103d54c], eax
call fcn.010253a8
test eax, eax
jne 0x1025d4b
push eax
call fcn.0102c41b
jmp 0x1025d6e
and dword [0x103d54c], 0
jmp 0x10264ff
push edi
push 0x81
mov dword [0x103d568], ebx
call fcn.01026a0b
mov dword [0x103d568], edi
call fcn.0101bc10
xor eax, eax
jmp 0x102653e
mov dword [0x103d568], ebx
jmp 0x10264ff
sub eax, 9
je 0x1025ece
dec eax
dec eax
je 0x1025eb6
dec eax
dec eax
je 0x1025e7b
dec eax
je 0x1025e4a
dec eax
jne 0x10264ff
xor edi, edi
mov dword [0x103d498], edi
call fcn.010293fc
mov eax, dword [0x103d5a0]
cmp eax, edi
je 0x1025dca
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
inc ebx
push 0x103d35c
mov dword [0x103d448], ebx
call fcn.0100e7d3
push dword [ebp - 0x320]
call fcn.0100e7f6
push ebx
mov dword [0x103d35c], eax
push edi
lea eax, [ebp - 0x320]
push eax
push 0x1001c98
call fcn.01024750
test eax, eax
je 0x1026036
cmp dword [0x103d304], edi
jne 0x1025e28
push edi
push edi
push dword [0x103d35c]
call fcn.0102ea05
push dword [0x103d5a4]
call fcn.0100d6a0
mov dword [0x103d448], edi
cmp word [esi + 6], 0xf
jne 0x1025e40
mov eax, dword [esi + 8]
add eax, 3
mov dword [0x103d470], eax
call fcn.01009823
jmp 0x10264ff
call fcn.0102da6c
xor esi, esi
push esi
push esi
push dword [ebp - 0x320]
call fcn.0102ea05
cmp dword [0x103d304], esi
jne 0x1025e6b
call fcn.0101bc10
push dword [ebp - 0x320]
call fcn.0100325b
jmp 0x10264ff
movsx eax, word [esi + 8]
mov dword [0x103d378], eax
movsx ecx, word [esi + 0xa]
push ecx
push eax
lea eax, [ebp - 0x1dc]
push 0x1002284
push eax
mov dword [0x103d37c], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x1dc]
push eax
call fcn.010242ce
jmp 0x10264ff
xor edi, edi
push edi
push dword [ebp - 0x320]
push 0x1002278
call fcn.010243cf
jmp 0x1025dae
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x1002268
call fcn.010243cf
lea eax, [ebp - 0x10]
push eax
call fcn.01029d3a
push eax
call fcn.0100d6f1
test eax, eax
je 0x1025f09
push dword [ebp - 0x320]
push eax
call fcn.010278df
test eax, eax
jne 0x1025e6b
push 1
push 0
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01024750
test eax, eax
je 0x10264ff
and dword [ebp - 0x32c], 0
lea eax, [ebp - 0x32c]
push eax
push 2
call fcn.010253a8
push 0x400
call fcn.0102c41b
jmp 0x10264ff
cmp eax, 0x107
mov edi, 0x201
jg 0x10260be
cmp eax, 0x106
jge 0x102607c
cmp eax, 0x101
je 0x1026068
mov ecx, 0x102
cmp eax, ecx
je 0x1025fa8
jle 0x10264ff
cmp eax, 0x104
jle 0x10263f5
cmp eax, 0x105
jne 0x10264ff
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x1002258
jmp 0x10261ed
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x1002248
call fcn.010243cf
push 0x1002244
call fcn.010242ce
movzx eax, word [esi + 0x12]
lea eax, [eax + esi + 4]
push eax
call fcn.010242ce
push 0x1001dc8
call fcn.010242ce
xor edi, edi
cmp dword [0x103d304], edi
mov dword [0x103d538], 1
jne 0x1025fff
push edi
push edi
push dword [ebp - 0x320]
call fcn.0102ea05
movzx eax, word [esi + 0x12]
push 4
lea eax, [eax + esi + 4]
push eax
push 0x100223c
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x1026040
movzx eax, word [esi + 0x12]
movzx eax, byte [eax + esi + 8]
sub eax, 0x31
mov dword [esi + 8], eax
mov word [esi + 6], 0xf
jmp 0x1025dae
call fcn.0101bc10
jmp 0x10264ff
push 0x103d35c
call fcn.0100e7d3
mov eax, dword [ebp - 0x320]
mov dword [0x103d35c], eax
movzx eax, word [esi + 0x12]
lea eax, [eax + esi + 4]
push eax
call fcn.01004fe0
jmp 0x10264ff
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x1002230
jmp 0x10261ed
movzx eax, word [esi + 0x12]
lea ebx, [eax + esi + 4]
movsx eax, word [ebx]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x10264ff
push ebx
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp word [esi + 6], 0x107
push edi
jne 0x10260ba
push 1
call fcn.01029dda
jmp 0x10264ff
push 2
jmp 0x10260b0
cmp eax, ebx
je 0x10263f5
cmp eax, edi
je 0x10261de
mov ecx, 0x202
cmp eax, ecx
je 0x10261b2
jle 0x10264ff
cmp eax, 0x204
jg 0x10264ff
push 0x100221c
call fcn.010242ce
movzx eax, word [esi + 0x12]
lea esi, [eax + esi + 4]
xor edi, edi
cmp word [esi + 2], di
lea eax, [esi + 0x18]
je 0x102610c
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp word [esi + 2], di
mov ebx, eax
je 0x102613b
movsx ecx, word [esi]
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1026171
mov ax, word [esi + 4]
mov word [ebx + 2], ax
mov ax, word [esi + 8]
mov word [ebx + 4], ax
mov ax, word [esi + 0xc]
mov word [ebx + 6], ax
mov ax, word [esi + 0x10]
mov word [ebx + 8], ax
mov ax, word [esi + 0x14]
add esi, 0x18
mov word [ebx + 0xa], ax
push esi
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
movsx eax, word [ebx + 8]
push eax
movsx eax, word [ebx + 6]
push eax
movsx eax, word [ebx + 4]
push eax
movsx eax, word [ebx + 2]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x1dc]
push 0x1002208
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x1dc]
push eax
call fcn.010242ce
push ebx
push 3
jmp 0x10260b0
push 1
push 0
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01024750
test eax, eax
je 0x10264f8
movzx eax, word [esi + 0x12]
lea eax, [eax + esi + 6]
push eax
push 3
jmp 0x10264f3
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x320]
push 0x10021f8
call fcn.010243cf
xor ebx, ebx
cmp dword [ebp - 0x320], ebx
jne 0x1026225
cmp dword [ebp - 0x324], ebx
je 0x102621b
push dword [ebp - 0x324]
push 1
push 0x80
call fcn.010268cc
jmp 0x10264ff
push 0x8a
jmp 0x10263bd
push dword [ebp - 0x320]
call fcn.0100e7f6
push 0x103d35c
mov dword [ebp - 0x330], eax
call fcn.0100e7d3
push dword [ebp - 0x330]
call fcn.0100e7f6
push dword [0x103d5a0]
mov dword [0x103d35c], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1026291
push 0x1001c9c
call fcn.01029d3a
push eax
call fcn.0100d6f1
cmp eax, ebx
je 0x1026291
push dword [ebp - 0x320]
push eax
call fcn.010278df
test eax, eax
jne 0x1026291
push ebx
push dword [0x103d5a0]
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
inc ebx
mov dword [0x103d448], ebx
call fcn.0100d6d7
cmp dword [0x103d304], 0
je 0x10262c6
test eax, eax
je 0x10262bc
push dword [ebp - 0x320]
push eax
call fcn.010278df
test eax, eax
jne 0x10262c6
call fcn.0101be54
call fcn.0102da6c
push ebx
push 0
lea eax, [ebp - 0x320]
push eax
push 0x1001c9c
call fcn.01024750
xor eax, eax
cmp dword [0x103d304], eax
mov dword [0x103d448], eax
jne 0x10262f6
push eax
push ebx
push dword [ebp - 0x320]
call fcn.0102ea05
lea eax, [ebp - 0x320]
push eax
call fcn.0100e7d3
cmp word [esi + 6], di
movzx eax, word [esi + 0x12]
lea ebx, [eax + esi + 4]
jne 0x1026337
cmp word [ebx + 2], 0
je 0x102631f
mov al, byte [ebx + 2]
add ebx, 3
jmp 0x1026325
mov al, byte [ebx + 4]
add ebx, 5
movsx eax, al
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov byte [ebp - 0x324], al
jmp 0x102635a
push ebx
mov edi, 0x103bb98
push edi
mov byte [ebp - 0x324], 0x4b
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x3b
push edi
call fcn.010079f0
test eax, eax
je 0x102635a
mov byte [eax], 0
push 0x10021f4
call fcn.010242ce
push ebx
call fcn.010242ce
push 0x10021f0
call fcn.010242ce
cmp byte [ebx], 0
je 0x10263b0
mov ax, word [esi + 6]
cmp ax, 0x105
je 0x102638d
cmp ax, 0x201
je 0x102638d
xor eax, eax
jmp 0x1026390
push 0x10
pop eax
push dword [ebp - 0x334]
or eax, 9
push dword [ebp - 0x324]
push 0
push eax
push ebx
call fcn.01034752
test eax, eax
jne 0x10264ff
cmp word [esi + 6], 0x201
jne 0x10263c7
push 0x41d
call fcn.0101e025
jmp 0x10264ff
xor esi, esi
inc esi
mov dword [0x103d470], esi
call fcn.0103169a
xor ecx, ecx
cmp dword [0x103d304], ecx
je 0x10263e7
cmp dword [0x103d47c], ecx
jne 0x10263e9
mov ecx, esi
push ecx
push eax
call fcn.010203a1
jmp 0x10264ff
mov ax, word [esi + 6]
cmp ax, 0x103
je 0x102641b
cmp ax, 0x104
je 0x102641b
cmp ax, bx
je 0x102641b
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x32c]
mov dword [ebp - 0x328], eax
jmp 0x1026442
movzx eax, word [esi + 0x12]
lea edi, [eax + esi + 4]
push edi
call fcn.010091b2
test eax, eax
je 0x102643b
push edi
call fcn.010091d4
mov dword [ebp - 0x328], eax
jmp 0x1026442
and dword [ebp - 0x328], 0
mov ax, word [esi + 6]
cmp ax, 0x103
je 0x1026471
cmp ax, 0x95
je 0x1026471
cmp ax, bx
je 0x1026471
push 5
push dword [ebp - 0x328]
push 0
push dword [ebp - 0x320]
call fcn.0101e63f
jmp 0x10264f8
cmp dword [0x103b768], 2
jne 0x10264d2
cmp ax, 0x95
jne 0x1026486
mov edi, dword [ebp - 0x328]
cmp dword [0x103d388], 1
je 0x10264aa
mov eax, dword [0x103d3a0]
test eax, eax
je 0x10264aa
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10264aa
mov eax, dword [0x103d3a0]
jmp 0x10264ac
xor eax, eax
movzx ecx, word [esi + 6]
push edi
push ecx
push dword [ebp - 0x320]
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
lea eax, [ebp - 0x320]
push eax
call fcn.0100e7d3
call fcn.0101bc10
jmp 0x10264f8
push 1
push 0
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01024750
test eax, eax
je 0x10264f8
lea eax, [ebp - 0x328]
push eax
push 5
call fcn.010253a8
and dword [0x103bca8], 0
push dword [ebp - 0x330]
dec dword [0x103b8c8]
call fcn.0100325b
jmp 0x102653b
push 0x10021e4
call fcn.010242ce
cmp dword [0x103d574], ebx
jne 0x102653b
push ebx
call fcn.0101f9e3
test eax, eax
jge 0x1026536
cmp dword [0x103d5a0], ebx
je 0x102653b
call fcn.0101bc10
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01037c5a
leave
ret 4