Function at 0x437540
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cd36
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
xor edi, edi
push edi
lea eax, [esp + 0x1c]
push eax
push str.C:_boost_1_45_0_boost_property_tree_detail_ptree_implementation.hpp
push 0x495620
mov ebx, ecx
mov dword [esp + 0x28], 0xb
call fcn.00416150
add esp, 0x10
cmp eax, str.C:_boost_1_45_0_boost_property_tree_detail_ptree_implementation.hpp
jne 0x4375ae
sub eax, 4
mov eax, dword [eax]
fld1
fstp dword [esp + 0x40]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
push 0x228
lea ecx, [esp + 0x54]
push edi
mov dword [esp + 0x298], edi
push ecx
mov dword [esp + 0x58], edi
call fcn.0046a210
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x437642
mov dword [esp + 0x290], eax
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x43763b
mov edx, dword [esp + 0x30]
lea edi, [esi + edx*4]
cmp esi, edi
je 0x437632
lea ebx, [ebx]
mov eax, esi
call fcn.0043e760
add esi, 4
cmp esi, edi
jne 0x437620
mov esi, dword [esp + 0x2c]
push esi
call fcn.00469665
add esp, 4
xor eax, eax
jmp 0x4377de
lea eax, [esp + 0x4c]
push eax
push esi
mov dword [esp + 0x54], 0x22c
mov byte [esp + 0x1f], 0
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x437797
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043d050
add esp, 4
mov byte [esp + 0x290], 1
mov edi, dword [esp + 0x1c]
mov ecx, 0x8b
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
add edx, 8
push edx
lea ecx, [esp + 0x30]
call fcn.0043cc80
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add eax, 4
test ecx, ecx
je 0x4376b2
lea esi, [ecx + 4]
mov edi, 1
lock xadd dword [esi], edi
lea esi, [esp + 0x24]
cmp esi, eax
je 0x4376bc
mov dword [eax], edx
mov esi, dword [eax + 4]
mov dword [eax + 4], ecx
test esi, esi
je 0x4376f0
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4376f0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4376f0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
cmp dword [eax + 8], ecx
jne 0x43772e
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x24], edx
mov ecx, dword [eax + 8]
lea edx, [eax + 0x24]
mov eax, edx
mov dword [ebx + 0x20], ecx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437710
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebx + 0x28]
call fcn.0040d290
mov byte [esp + 0x17], 1
mov byte [esp + 0x290], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x437768
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x437768
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x437768
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x437662
cmp byte [esp + 0x17], al
je 0x437791
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00436480
mov esi, dword [esp + 0x18]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ebx, byte [esp + 0x17]
mov dword [esp + 0x290], 0xffffffff
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x4377dc
mov eax, dword [esp + 0x30]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x4377d3
mov eax, esi
call fcn.0043e760
add esi, 4
cmp esi, edi
jne 0x4377c1
mov esi, dword [esp + 0x2c]
push esi
call fcn.00469665
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00469e0a
mov esp, ebp
pop ebp
ret