Function at 0x4955e3
Capabilities:
Enumerate pe sections

Disassembly:
push 0x484
mov eax, 0x50f6ed
call fcn.005060cc
mov ebx, ecx
mov dword [ebp - 0x474], ebx
xor ecx, ecx
push ecx
push ecx
push 0x1009
push dword [ebx + 0x41d4]
mov dword [ebp - 0x468], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebx + 0x41d8]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x495644
push 0x24
pop ebx
mov ecx, esi
call fcn.00495c32
add esi, ebx
cmp esi, edi
jne 0x495627
mov ebx, dword [ebp - 0x474]
lea edi, [ebx + 0x41d8]
mov esi, dword [edi]
jmp 0x49564a
lea edi, [ebx + 0x41d8]
push 0xffffffffffffffff
mov dword [edi + 4], esi
push dword [ebx + 0xc8]
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
lea ecx, [ebp - 0x455]
call fcn.004266ae
and dword [ebp - 4], 0
lea eax, [ebp - 0x430]
push 0x400
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x430]
push 0x104
push eax
push 0x4b9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x4c4
push dword [ebx + 4]
call esi
mov ecx, dword [0xd58f54]
mov dword [ebp - 0x46c], eax
test ecx, ecx
je 0x4956ca
add ecx, 0x5c
push 0x4c5
mov dword [ecx + 0x310], eax
push dword [ebx + 4]
call esi
mov ecx, dword [0xd58f54]
mov dword [ebp - 0x488], eax
test ecx, ecx
je 0x4956ed
add ecx, 0x5c
mov dword [ecx + 0x314], eax
mov eax, dword [ebx + 0x60]
cmp eax, dword [ebx + 0x64]
je 0x495c21
and dword [ebp - 0x484], 0
and dword [ebp - 0x480], 0
and dword [ebp - 0x47c], 0
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 1
push eax
call fcn.0048f608
mov eax, dword [ebx + 0x41e8]
sub eax, dword [ebx + 0x41e4]
cdq
push 0x18
pop ecx
idiv ecx
push 0x24
mov ecx, eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
cdq
pop esi
idiv esi
cmp ecx, eax
jbe 0x49575b
cmp ecx, 0x71c71c7
ja 0x495c2c
push ecx
mov ecx, edi
call fcn.004964a5
mov esi, dword [ebx + 0x41e4]
mov dword [ebp - 0x474], esi
cmp esi, dword [ebx + 0x41e8]
je 0x495bfa
mov eax, dword [ebp - 0x46c]
test eax, eax
jne 0x495791
cmp dword [esi + 0x14], 1
je 0x495be5
cmp dword [esi + 0x14], 0x20
je 0x495be5
cmp dword [ebp - 0x488], 0
jne 0x4957aa
cmp dword [esi + 0x14], 1
je 0x4957aa
cmp dword [esi + 0x14], 0x20
jne 0x495be5
cmp byte [ebp - 0x430], 0
je 0x495809
mov edi, dword [esi + 0x10]
lea eax, [ebp - 0x430]
push eax
test edi, edi
je 0x4957cf
push 0x5c
push edi
call fcn.004f2400
pop ecx
pop ecx
mov edx, eax
jmp 0x4957d1
xor edx, edx
test edx, edx
lea eax, [edx + 1]
push ecx
cmovne edi, eax
mov ecx, esp
push edi
call fcn.004094e6
lea ecx, [ebp - 0x48c]
call fcn.00422a77
or dword [ebp - 0x468], 1
pop ecx
push dword [eax]
call fcn.004f2170
mov byte [ebp - 0x455], 1
pop ecx
pop ecx
test eax, eax
je 0x495810
mov byte [ebp - 0x455], 0
mov eax, dword [ebp - 0x468]
test al, 1
je 0x495841
mov edx, dword [ebp - 0x48c]
and eax, 0xfffffffe
mov dword [ebp - 0x468], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x495841
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x455], 0
jne 0x495bdf
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x454]
rep stosd dword es:[edi], eax
call fcn.00409736
push eax
lea ecx, [ebp - 0x444]
call fcn.0040953f
call fcn.00409736
push eax
lea ecx, [ebp - 0x440]
call fcn.0040953f
call fcn.00409736
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040953f
call fcn.00409736
push eax
lea ecx, [ebp - 0x434]
call fcn.0040953f
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x41d8]
call fcn.004962fe
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 1
call fcn.00495c32
mov eax, dword [ebx + 0x41dc]
add eax, 0xffffffdc
cmp dword [esi + 0x14], 1
mov dword [ebp - 0x45c], eax
je 0x4958e8
cmp dword [esi + 0x14], 0x20
je 0x4958e8
or dword [ebp - 0x460], 0xffffffff
jmp 0x495907
mov ecx, dword [esi + 0x10]
lea edx, [ebx + 0xc8]
xor eax, eax
cmp dword [esi + 0x14], 1
sete al
push eax
call fcn.0046dfc0
pop ecx
mov dword [ebp - 0x460], eax
mov edi, dword [esi + 0x10]
test edi, edi
je 0x49591c
push 0x5c
push edi
call fcn.004f2400
pop ecx
pop ecx
mov ecx, eax
jmp 0x49591e
xor ecx, ecx
test ecx, ecx
lea eax, [ecx + 1]
cmovne edi, eax
test edi, edi
jne 0x49592e
xor eax, eax
jmp 0x495935
push edi
call fcn.004f5d90
pop ecx
push eax
push edi
mov edi, dword [ebp - 0x45c]
lea ecx, [edi + 0x10]
call fcn.0040942f
mov edi, dword [edi + 0x10]
push 0
push 0
push 0x1004
push dword [ebx + 0x41d4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [ebp - 0x460]
push ecx
push ecx
push edi
push eax
push 3
lea ecx, [ebx + 0x41d4]
call fcn.0040d936
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
je 0x495bdf
mov ecx, dword [ebp - 0x45c]
mov eax, dword [esi + 0x10]
mov ecx, dword [ecx + 0x14]
lea edx, [eax - 0x10]
lea edi, [ecx - 0x10]
cmp edx, edi
je 0x4959f7
cmp dword [edi + 0xc], 0
jl 0x4959e2
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4959df
mov ecx, edx
call fcn.004098e7
mov dword [ebp - 0x470], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4959d1
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x470]
mov edx, dword [ebp - 0x45c]
lea ecx, [eax + 0x10]
mov dword [edx + 0x14], ecx
jmp 0x4959f7
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x45c]
push dword [eax - 0xc]
push eax
lea ecx, [edi + 0x14]
call fcn.0040942f
mov ecx, dword [edi + 0x14]
push dword [ebp - 0x460]
push ecx
push 3
push dword [ebp - 0x464]
lea ecx, [ebx + 0x58]
call fcn.0048fcdd
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
movzx eax, word [esi + 6]
push eax
lea eax, [ebp - 0x30]
push 0x55bf7c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
push eax
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 4
push dword [ebp - 0x464]
lea ecx, [ebx + 0x41d4]
call fcn.0040dfc5
mov edi, dword [ebp - 0x45c]
mov ecx, edi
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1c], eax
call fcn.004954fc
xor eax, eax
push eax
push eax
push ecx
push eax
push dword [edi + 0x20]
lea ecx, [ebx + 0x41d4]
push 1
push 1
push dword [ebp - 0x464]
call fcn.0040dfc5
and dword [ebp - 0x470], 0
lea eax, [ebp - 0x470]
push eax
push 1
push dword [esi]
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x490]
call fcn.0048673f
add esp, 0xc
add edi, 0x18
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov dword [ebp - 0x460], edi
mov edi, dword [edi]
lea ecx, [edx - 0x10]
sub edi, 0x10
cmp ecx, edi
je 0x495b14
cmp dword [edi + 0xc], 0
jl 0x495b01
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x495b01
call fcn.004098e7
mov dword [ebp - 0x478], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x495af4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x478]
mov edi, dword [ebp - 0x460]
add eax, 0x10
mov dword [edi], eax
jmp 0x495b1a
push dword [edx - 0xc]
mov edi, dword [ebp - 0x460]
mov ecx, edi
push edx
call fcn.0040942f
jmp 0x495b1a
mov edi, dword [ebp - 0x460]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x490]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x495b3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x470]
test ecx, ecx
je 0x495b5c
mov eax, dword [ecx + 0x44]
cmp dword [eax - 0xc], 0
je 0x495b5c
push 0
push ecx
lea ecx, [ebx + 0x58]
call fcn.0048fca6
jmp 0x495b5f
or eax, 0xffffffff
push eax
push dword [edi]
mov edi, dword [ebp - 0x464]
lea ecx, [ebx + 0x58]
push 2
push edi
call fcn.0048fcdd
push dword [esi + 8]
lea eax, [ebp - 0x30]
push str._08X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
push eax
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push 5
push edi
lea ecx, [ebx + 0x41d4]
call fcn.0040dfc5
mov edi, dword [ebp - 0x45c]
lea ecx, [ebx + 0x41d8]
push 0x24
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 eax, dword [ecx + 4]
sub eax, dword [ecx]
pop ecx
cdq
idiv ecx
dec eax
push eax
xor eax, eax
push eax
push ecx
push eax
push eax
push 4
push eax
push dword [ebp - 0x464]
lea ecx, [ebx + 0x41d4]
call fcn.0040dfc5
mov esi, dword [ebp - 0x474]
mov eax, dword [ebp - 0x46c]
add esi, 0x18
mov dword [ebp - 0x474], esi
cmp esi, dword [ebx + 0x41e8]
jne 0x495779
lea ecx, [ebx + 0x58]
call fcn.00490bc2
mov ecx, dword [ebp - 0x484]
test ecx, ecx
je 0x495c21
mov edx, dword [ebp - 0x47c]
push ecx
sub edx, ecx
push 4
sar edx, 2
call fcn.0040b8be
pop ecx
pop ecx
call fcn.004267da
call fcn.00506076
ret
call fcn.0040ed23
int3