Function at 0x41c170
Capabilities:
Enumerate process modules
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3d1d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1784
call fcn.004b8440
mov eax, dword [0x52ad60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x1734], eax
mov ebx, ecx
mov dword [ebp - 0x16c4], ebx
and dword [ebp - 0x1030], 0xfffffe00
mov dword [ebp - 0x1714], eax
mov dword [ebp - 0x102c], 0
mov dword [ebp - 4], 1
xor eax, eax
xor edi, edi
mov dword [ebp - 0x16f8], eax
mov dword [ebp - 0x16d8], eax
mov dword [ebp - 0x16f4], eax
mov dword [ebp - 0x16f0], edi
mov byte [ebp - 4], 3
mov al, byte [ebx + 8]
mov dword [ebp - 0x1018], edi
test al, al
je 0x41c21f
cmp al, 7
je 0x41c21f
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x41c22f
mov ecx, 0x52fad0
jmp 0x41c2c5
mov dword [ebp - 0x16e0], 0x513b40
mov dword [ebp - 0x16dc], 0
mov ebx, dword [ebx]
lea eax, [ebp - 0x16e0]
push eax
mov ecx, ebx
mov dword [ebp - 0x16d4], ebx
call fcn.0044ab30
mov ecx, dword [ebx]
cmp eax, ecx
je 0x41c29b
mov esi, dword [eax + 0x10]
mov edx, 0x513b40
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x41c287
test bl, bl
je 0x41c283
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x41c287
add edx, 2
add esi, 2
test bl, bl
jne 0x41c267
xor edx, edx
jmp 0x41c28c
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x16c0], eax
test dl, dl
je 0x41c2a1
mov dword [ebp - 0x16c0], ecx
mov ecx, dword [ebp - 0x16d4]
lea eax, [ebp - 0x16c0]
mov eax, dword [eax]
mov byte [ebp - 4], 3
cmp eax, dword [ecx]
mov ebx, dword [ebp - 0x16c4]
mov ecx, 0x52fad0
je 0x41c2c5
lea ecx, [eax + 0x18]
sub esp, 0x18
push esp
call fcn.00449570
lea ecx, [ebp - 0x1018]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 5
mov al, byte [ebx + 8]
test al, al
je 0x41c302
cmp al, 7
je 0x41c302
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov al, byte [ebx + 8]
mov byte [ebp - 0x16c5], al
test al, al
je 0x41c593
mov dword [ebp - 0x16e0], 0x513c98
mov dword [ebp - 0x16dc], 0
mov ebx, dword [ebx]
lea eax, [ebp - 0x16e0]
push eax
mov ecx, ebx
mov dword [ebp - 0x16d4], ebx
call fcn.0044ab30
mov ecx, dword [ebx]
cmp eax, ecx
je 0x41c384
mov esi, dword [eax + 0x10]
mov edx, 0x513c98
jmp 0x41c350
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x41c370
test bl, bl
je 0x41c36c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x41c370
add edx, 2
add esi, 2
test bl, bl
jne 0x41c350
xor edx, edx
jmp 0x41c375
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x16c0], eax
test dl, dl
je 0x41c38a
mov dword [ebp - 0x16c0], ecx
mov ecx, dword [ebp - 0x16d4]
lea eax, [ebp - 0x16c0]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
je 0x41c593
add eax, 0x18
cmp eax, 0x52fad0
je 0x41c593
cmp byte [ebp - 0x16c5], 7
je 0x41c3d2
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
mov ebx, dword [ebp - 0x16c4]
mov cl, byte [ebx + 8]
mov byte [ebp - 0x16c5], cl
test cl, cl
jne 0x41c3ef
mov eax, 0x52fad0
jmp 0x41c48d
mov dword [ebp - 0x16e0], 0x513c98
mov dword [ebp - 0x16dc], 0
mov ebx, dword [ebx]
lea eax, [ebp - 0x16e0]
push eax
mov ecx, ebx
mov dword [ebp - 0x16d4], ebx
call fcn.0044ab30
mov ecx, dword [ebx]
cmp eax, ecx
je 0x41c45b
mov esi, dword [eax + 0x10]
mov edx, 0x513c98
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x41c447
test bl, bl
je 0x41c443
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x41c447
add edx, 2
add esi, 2
test bl, bl
jne 0x41c427
xor edx, edx
jmp 0x41c44c
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x16c0], eax
test dl, dl
je 0x41c461
mov dword [ebp - 0x16c0], ecx
mov ecx, dword [ebp - 0x16d4]
lea eax, [ebp - 0x16c0]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ebx, dword [ebp - 0x16c4]
mov cl, byte [ebp - 0x16c5]
jne 0x41c48a
mov eax, 0x52fad0
jmp 0x41c48d
add eax, 0x18
cmp byte [eax + 8], 1
jne 0x41c593
test cl, cl
je 0x41c4b7
cmp cl, 7
je 0x41c4b7
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x41c4c7
mov ecx, 0x52fad0
jmp 0x41c558
mov dword [ebp - 0x16e0], 0x513c98
mov dword [ebp - 0x16dc], 0
mov ebx, dword [ebx]
lea eax, [ebp - 0x16e0]
push eax
mov ecx, ebx
mov dword [ebp - 0x16d4], ebx
call fcn.0044ab30
mov ecx, dword [ebx]
cmp eax, ecx
je 0x41c534
mov esi, dword [eax + 0x10]
mov edx, 0x513c98
nop
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x41c520
test bl, bl
je 0x41c51c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x41c520
add edx, 2
add esi, 2
test bl, bl
jne 0x41c500
xor edx, edx
jmp 0x41c525
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x16c0], eax
test dl, dl
je 0x41c53a
mov dword [ebp - 0x16c0], ecx
mov ecx, dword [ebp - 0x16d4]
lea eax, [ebp - 0x16c0]
mov eax, dword [eax]
mov byte [ebp - 4], 5
cmp eax, dword [ecx]
mov ecx, 0x52fad0
je 0x41c558
lea ecx, [eax + 0x18]
call fcn.004496a0
mov esi, eax
test esi, esi
je 0x41c593
push 1
lea ecx, [ebp - 0x16f8]
call fcn.00426ed0
mov eax, dword [ebp - 0x16f4]
test eax, eax
je 0x41c57c
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x16d8], eax
mov dword [ebp - 0x16f4], eax
or ebx, 0xffffffff
jmp 0x41cb25
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x16c0], esi
cmp esi, 0xffffffff
jne 0x41c88c
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16cc], eax
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16cc]
push str.enumModules_CreateToolhelp32Snapshot_process__d
push eax
call fcn.00404c40
mov eax, dword [0x52a6d0]
add esp, 0xc
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16c4], eax
mov eax, str.enumModules
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x41c626
movzx esi, ax
mov ecx, esi
call fcn.00405570
test eax, eax
je 0x41c638
push esi
push eax
lea ecx, [ebp - 0x16c4]
call fcn.00404ab0
jmp 0x41c638
push 0xb
push str.enumModules
lea ecx, [ebp - 0x16c4]
call fcn.004046f0
mov byte [ebp - 4], 0xb
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16c0], esi
lea eax, [ebp - 0x16cc]
push eax
lea edx, [ebp - 0x16c0]
lea ecx, [ebp - 0x16d4]
mov byte [ebp - 4], 0xc
call fcn.00431540
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0xd
mov edx, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x16d8], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], 0xe
test eax, 0xffff0000
jne 0x41c6bb
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x41c6cd
push edi
push eax
lea ecx, [ebp - 0x16d8]
call fcn.00404ab0
jmp 0x41c6cd
push 9
push str.GlobalLog
lea ecx, [ebp - 0x16d8]
call fcn.004046f0
push 2
push ebx
lea eax, [ebp - 0x16c4]
push eax
lea eax, [ebp - 0x16d8]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0xf
call fcn.004018e0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x16d8]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41c712
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x16d4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c752
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x16c4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c775
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x16cc]
lea ecx, [ebp - 0x1774]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1020]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x101c], 0
test al, 1
jne 0x41c7d6
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41c7e1
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x1028], eax
push ecx
push str.error
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0x11
call fcn.00449e90
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0x10
call fcn.004493f0
cmp dword [ebp - 0x1760], 0x10
jb 0x41c83d
push dword [ebp - 0x1774]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x16cc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c860
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1018]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41da2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41da2d
push 0x22c
lea eax, [ebp - 0x1294]
push 0
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [ebp - 0x1294]
push eax
push esi
mov dword [ebp - 0x1294], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41d663
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16c4], esi
lea eax, [ebp - 0x1270]
mov byte [ebp - 4], 0x12
test eax, 0xffff0000
jne 0x41c906
movzx ebx, ax
mov ecx, ebx
call fcn.00405570
test eax, eax
je 0x41c938
push ebx
push eax
lea ecx, [ebp - 0x16c4]
call fcn.00404ab0
jmp 0x41c932
lea ecx, [ebp - 0x1270]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c910
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1270]
push eax
lea ecx, [ebp - 0x16c4]
call fcn.004046f0
mov esi, dword [ebp - 0x16c4]
mov byte [ebp - 4], 0x13
mov ebx, dword [esi - 0xc]
test ebx, ebx
jns 0x41c94d
push 0x80070057
call fcn.0040c740
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41c970
push ebx
lea ecx, [ebp - 0x16c4]
call fcn.0040c7b0
mov esi, dword [ebp - 0x16c4]
lea eax, [ebx + 1]
push eax
push esi
call fcn.004b55a0
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x41c943
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov eax, dword [ebp - 0x1018]
cmp dword [eax - 0xc], 0
jl 0x41cadc
push esi
push eax
call fcn.004b44da
add esp, 8
test eax, eax
je 0x41cadc
sub eax, dword [ebp - 0x1018]
sar eax, 1
js 0x41cadc
mov ecx, dword [ebp - 0x16d8]
mov edx, dword [ebp - 0x16f8]
lea eax, [ebp - 0x128c]
cmp eax, ecx
jae 0x41ca58
cmp edx, eax
ja 0x41ca58
mov ebx, eax
sub ebx, edx
sar ebx, 2
cmp ecx, edi
jne 0x41ca4f
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x41ca4f
sub ecx, edx
sar ecx, 2
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, 1
jae 0x41ca0b
push str.vector_T__too_long
call fcn.004b3184
sub edi, dword [ebp - 0x16f8]
lea edx, [ecx + 1]
sar edi, 2
mov ecx, edi
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edi
jae 0x41ca2a
xor edi, edi
jmp 0x41ca2c
add edi, ecx
cmp edi, edx
cmovb edi, edx
push edi
lea ecx, [ebp - 0x16f8]
call fcn.00426ed0
mov edi, dword [ebp - 0x16f0]
mov ecx, dword [ebp - 0x16f4]
mov edx, dword [ebp - 0x16f8]
test ecx, ecx
je 0x41cacd
mov eax, dword [edx + ebx*4]
jmp 0x41cacb
cmp ecx, edi
jne 0x41cac1
mov eax, edi
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x41cac1
sub ecx, edx
sar ecx, 2
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, 1
jae 0x41ca83
push str.vector_T__too_long
call fcn.004b3184
sub edi, dword [ebp - 0x16f8]
lea edx, [ecx + 1]
sar edi, 2
mov ecx, edi
shr ecx, 1
mov eax, 0x3fffffff
sub eax, ecx
cmp eax, edi
jae 0x41caa2
xor edi, edi
jmp 0x41caa4
add edi, ecx
cmp edi, edx
cmovb edi, edx
push edi
lea ecx, [ebp - 0x16f8]
call fcn.00426ed0
mov edi, dword [ebp - 0x16f0]
mov ecx, dword [ebp - 0x16f4]
test ecx, ecx
je 0x41cacd
mov eax, dword [ebp - 0x128c]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x16f4], ecx
mov dword [ebp - 0x16d8], ecx
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cafc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x16c0]
lea eax, [ebp - 0x1294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41c8c2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x16d8]
mov ecx, dword [ebp - 0x1704]
mov esi, dword [ebp - 0x16f8]
xor edi, edi
mov dword [ebp - 0x173c], ecx
sub eax, esi
sar eax, 2
mov dword [ebp - 0x16e4], edi
cmp edi, eax
jae 0x41d567
mov esi, dword [0x52f408]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 0xb
jne 0x41cb84
lea ecx, [edx - 0xa]
cmp esi, ecx
jle 0x41cb7e
mov eax, esi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, esi
jl 0x41cb72
mov dword [0x52f408], ecx
mov esi, dword [ebp - 0x16f8]
push dword [esi + edi*4]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x16d0], edi
test edi, edi
je 0x41d555
and dword [ebp - 0x1040], 0xfffffe00
mov dword [ebp - 0x103c], 0
xor eax, eax
push 0x7fe
mov byte [ebp - 4], 0x1e
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [ebp - 0x814]
push 0x800
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x41cd94
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16c4], eax
mov byte [ebp - 4], 0x1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16c4]
push str.enumModules_GetProcessImageFileName__d
push eax
call fcn.00404c40
mov eax, dword [0x52a6d0]
add esp, 0xc
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16cc], eax
mov eax, str.enumModu1e_
mov byte [ebp - 4], 0x20
test eax, 0xffff0000
jne 0x41cc73
movzx esi, ax
mov ecx, esi
call fcn.00405570
test eax, eax
je 0x41cc85
push esi
push eax
lea ecx, [ebp - 0x16cc]
call fcn.00404ab0
jmp 0x41cc85
push 0xb
push str.enumModu1e_
lea ecx, [ebp - 0x16cc]
call fcn.004046f0
mov byte [ebp - 4], 0x21
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16ec], esi
lea eax, [ebp - 0x16c4]
push eax
lea edx, [ebp - 0x16ec]
lea ecx, [ebp - 0x1748]
mov byte [ebp - 4], 0x22
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x1744]
mov byte [ebp - 4], 0x23
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x16cc]
push eax
lea eax, [ebp - 0x1744]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x24
call fcn.004018e0
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x1744]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cd16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x1748]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cd39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x21
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cd56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x16cc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cd79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x16d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x16c4]
jmp 0x41d527
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x16e8]
mov dword [ebp - 0x16e8], 0
call fcn.00403720
lea edx, [ebp - 0x16e8]
lea ecx, [ebp - 0x172c]
mov byte [ebp - 4], 0x25
call fcn.00431370
push eax
lea ecx, [ebp - 0x1784]
mov byte [ebp - 4], 0x26
call fcn.00449200
push ecx
push str.process
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0x27
call fcn.00449e90
lea ecx, [ebp - 0x1784]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x1784]
mov byte [ebp - 4], 0x26
call fcn.004493f0
cmp dword [ebp - 0x1718], 0x10
jb 0x41ce1e
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
mov ecx, dword [ebp - 0x173c]
mov eax, dword [ebp - 0x16e4]
and ecx, 0xffffff01
mov eax, dword [esi + eax*4]
or ecx, 1
mov dword [ebp - 0x173c], ecx
mov dword [ebp - 0x1704], ecx
mov dword [ebp - 0x1700], 0
mov dword [ebp - 0x170c], eax
push ecx
push 0x513c98
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0x28
call fcn.00449e90
lea ecx, [ebp - 0x170c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x170c]
mov byte [ebp - 4], 0x25
call fcn.004493f0
and dword [ebp - 0x1020], 0xfffffe00
mov dword [ebp - 0x101c], 0
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x16e4]
push dword [esi + eax*4]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x16c4], eax
cmp eax, 0xffffffff
jne 0x41d0ad
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16cc], eax
mov byte [ebp - 4], 0x2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16cc]
push str.enumModules_CreateToolhelp32Snapshot_moudules__d
push eax
call fcn.00404c40
add esp, 0xc
lea ecx, [ebp - 0x1730]
push str.enumModu1e_
call fcn.00403720
mov byte [ebp - 4], 0x2c
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16ec], esi
lea eax, [ebp - 0x16cc]
push eax
lea edx, [ebp - 0x16ec]
lea ecx, [ebp - 0x174c]
mov byte [ebp - 4], 0x2d
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x1738]
mov byte [ebp - 4], 0x2e
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x1730]
push eax
lea eax, [ebp - 0x1738]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x2f
call fcn.004018e0
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x1738]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cf92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x174c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cfb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x2c
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cfd2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x1730]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41cff5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x16cc]
lea ecx, [ebp - 0x172c]
call fcn.00431370
push eax
lea ecx, [ebp - 0x1794]
mov byte [ebp - 4], 0x30
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0x31
call fcn.00449e90
lea ecx, [ebp - 0x1794]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x1794]
mov byte [ebp - 4], 0x30
call fcn.004493f0
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x1718], 0x10
jb 0x41d063
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1038]
call fcn.0044a170
push dword [ebp - 0x16d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x16cc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d50e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d50e
lea ecx, [ebp - 0x16bc]
push ecx
push eax
mov dword [ebp - 0x16bc], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x41d338
mov esi, dword [ebp - 0x16c4]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push eax
call fcn.004b84f0
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0x800
push eax
push dword [ebp - 0x16a0]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
jne 0x41d295
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16cc], eax
mov byte [ebp - 4], 0x32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16cc]
push str.enumModules_GetModuleFileNameEx__d
push eax
call fcn.00404c40
add esp, 0xc
lea ecx, [ebp - 0x16d4]
push str.enumModu1e_
call fcn.00403720
mov byte [ebp - 4], 0x33
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16ec], esi
lea eax, [ebp - 0x16cc]
push eax
lea edx, [ebp - 0x16ec]
lea ecx, [ebp - 0x16fc]
mov byte [ebp - 4], 0x34
call fcn.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x1740]
mov byte [ebp - 4], 0x35
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x16d4]
push eax
lea eax, [ebp - 0x1740]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x36
call fcn.004018e0
mov byte [ebp - 4], 0x35
mov edx, dword [ebp - 0x1740]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d1e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x16fc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d20b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x33
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d228
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x16d4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d24b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x16cc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d26e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x16d0]
mov esi, dword [ebp - 0x16c4]
lea eax, [ebp - 0x16bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x41d0d3
jmp 0x41d4c2
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1710]
mov dword [ebp - 0x1710], 0
call fcn.00403720
lea edx, [ebp - 0x1710]
lea ecx, [ebp - 0x172c]
mov byte [ebp - 4], 0x37
call fcn.00431370
push eax
lea ecx, [ebp - 0x176c]
mov byte [ebp - 4], 0x38
call fcn.00449200
push eax
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0x39
call fcn.0044a170
lea ecx, [ebp - 0x176c]
mov byte [ebp - 4], 0x38
call fcn.004493f0
cmp dword [ebp - 0x1718], 0x10
jb 0x41d30c
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x1710]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d27a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d27a
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16d0], eax
mov byte [ebp - 4], 0x3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16d0]
push str.enumModules_CreateToolhelp32Snapshot_moudules__d
push eax
call fcn.00404c40
add esp, 0xc
lea ecx, [ebp - 0x16c0]
push str.enumModule_
call fcn.00403720
mov byte [ebp - 4], 0x3b
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16ec], esi
lea eax, [ebp - 0x16d0]
push eax
lea edx, [ebp - 0x16ec]
lea ecx, [ebp - 0x16dc]
mov byte [ebp - 4], 0x3c
call fcn.00431540
add esp, 4
push 2
mov edx, eax
lea ecx, [ebp - 0x16c0]
mov byte [ebp - 4], 0x3d
call fcn.0040c8d0
mov byte [ebp - 4], 0x3c
mov edx, dword [ebp - 0x16dc]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d3ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x3b
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d40c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
mov edx, dword [ebp - 0x16c0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d42f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x16d0]
lea ecx, [ebp - 0x172c]
call fcn.00431370
push eax
lea ecx, [ebp - 0x175c]
mov byte [ebp - 4], 0x3e
call fcn.00449200
push ecx
push str.error
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0x3f
call fcn.00449e90
lea ecx, [ebp - 0x175c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x175c]
mov byte [ebp - 4], 0x3e
call fcn.004493f0
cmp dword [ebp - 0x1718], 0x10
jb 0x41d499
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x16d0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d4bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x16c4]
lea ecx, [ebp - 0x1028]
call fcn.00449af0
test eax, eax
je 0x41d4f0
push ecx
push str.modules
lea ecx, [ebp - 0x1048]
call fcn.00449e90
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, eax
call fcn.004494b0
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x1038]
call fcn.0044a170
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 0x25
call fcn.004493f0
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x16e8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d540
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 5
call fcn.004493f0
mov esi, dword [ebp - 0x16f8]
mov edi, dword [ebp - 0x16e4]
mov eax, dword [ebp - 0x16d8]
inc edi
jmp 0x41cb39
mov eax, dword [ebp - 0x1030]
test al, al
je 0x41d57d
cmp al, 6
je 0x41d57d
cmp al, 7
jne 0x41d627
lea ecx, [ebp - 0x1038]
call fcn.00449af0
test eax, eax
sete al
test al, al
je 0x41d627
mov eax, dword [ebp - 0x1704]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x1704], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x1700], 0
test al, 1
jne 0x41d5dd
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.empty
call dword [eax + 0xc]
mov dword [ebp - 0x170c], eax
push ecx
push str.error
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0x40
call fcn.00449e90
lea ecx, [ebp - 0x170c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x170c]
mov byte [ebp - 4], 5
call fcn.004493f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1018]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d64a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41d657
push esi
call fcn.004b3a0c
add esp, 4
mov dword [ebp - 4], 1
jmp 0x41da2d
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16d0], eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x16d0]
push str.enumModules_Process32First__d
push eax
call fcn.00404c40
mov eax, dword [0x52a6d0]
add esp, 0xc
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16e8], eax
mov eax, str.enumModu1es
mov byte [ebp - 4], 0x15
test eax, 0xffff0000
jne 0x41d6db
movzx esi, ax
mov ecx, esi
call fcn.00405570
test eax, eax
je 0x41d6ed
push esi
push eax
lea ecx, [ebp - 0x16e8]
call fcn.00404ab0
jmp 0x41d6ed
push 0xb
push str.enumModu1es
lea ecx, [ebp - 0x16e8]
call fcn.004046f0
mov byte [ebp - 4], 0x16
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x16dc], esi
lea eax, [ebp - 0x16d0]
push eax
lea edx, [ebp - 0x16dc]
lea ecx, [ebp - 0x16fc]
mov byte [ebp - 4], 0x17
call fcn.00431540
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 0x18
mov edx, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x16e4], eax
mov eax, str.GlobalLog
mov byte [ebp - 4], 0x19
test eax, 0xffff0000
jne 0x41d770
movzx edi, ax
mov ecx, edi
call fcn.00405570
test eax, eax
je 0x41d782
push edi
push eax
lea ecx, [ebp - 0x16e4]
call fcn.00404ab0
jmp 0x41d782
push 9
push str.GlobalLog
lea ecx, [ebp - 0x16e4]
call fcn.004046f0
push 2
push ebx
lea eax, [ebp - 0x16e8]
push eax
lea eax, [ebp - 0x16e4]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x1a
call fcn.004018e0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x16e4]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41d7c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x16fc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d7ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x16
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d807
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x16e8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d82a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x16d0]
lea ecx, [ebp - 0x172c]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1704]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x1704], ecx
mov dword [ebp - 0x1700], 0
test al, 1
jne 0x41d88b
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41d896
mov esi, dword [esi]
mov ecx, dword [0x52c374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x170c], eax
push ecx
push str.error
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 0x1c
call fcn.00449e90
lea ecx, [ebp - 0x170c]
push ecx
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x170c]
mov byte [ebp - 4], 0x1b
call fcn.004493f0
cmp dword [ebp - 0x1718], 0x10
jb 0x41d8f2
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
push dword [ebp - 0x16c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x16d0]
jmp 0x41c847
mov dword [ebp - 0x1068], 0x514aec
mov dword [ebp - 0x1050], 0xf
mov dword [ebp - 0x1054], 0
mov byte [ebp - 0x1064], 0
mov byte [ebp - 0x104c], 0
mov byte [ebp - 4], 0x48
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x16c0], eax
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x172c]
push eax
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 0x49
call fcn.0044c090
mov edx, eax
mov byte [ebp - 4], 0x4a
cmp dword [edx + 0x14], 0x10
jb 0x41da9e
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x41dabd
xor ecx, ecx
jmp 0x41dacb
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dac2
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004012f0
lea ecx, [ebp - 0x1714]
call fcn.004312a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x16c0]
mov byte [ebp - 4], 0x4b
call fcn.00403880
mov byte [ebp - 4], 0x4a
mov edx, dword [ebp - 0x1714]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41db15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x49
cmp dword [ebp - 0x1718], 0x10
jb 0x41db30
push dword [ebp - 0x172c]
call fcn.004b3a0c
add esp, 4
mov edi, dword [ebp - 0x1734]
mov esi, dword [ebp - 0x16c0]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41db57
call fcn.0040c760
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 0x48
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41db75
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1050], 0x10
mov dword [ebp - 0x1068], 0x514aec
jb 0x41db96
push dword [ebp - 0x1064]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x1038]
mov dword [ebp - 0x1050], 0xf
mov dword [ebp - 0x1054], 0
mov byte [ebp - 0x1064], 0
mov dword [ebp - 0x1068], 0x5186b0
mov dword [ebp - 4], 0xffffffff
call fcn.004493f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret