joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x488185
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x10], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x10], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x10], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x10], 3
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x10], 4
mov eax, dword [edi + 0x20]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x10], 5
mov eax, dword [edi + 0x24]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 6
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x30]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x10], 7
mov eax, dword [edi + 0x34]
sub eax, 0x10
call fcn.00415d10
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x423aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, eax
xor ecx, ecx
push ecx
mov eax, 0x4241a0
push ecx
mov dword [esi + 0x190], eax
mov eax, dword [esi + 0x124]
push 0x402
push eax
mov dword [esi + 0x18c], 0
mov byte [esi + 0x198], 0
mov dword [esi + 0x194], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x128]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00423c60
test eax, eax
jl 0x423b23
mov edx, dword [esi + 0x130]
push 0x49a298
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 4]
push 0
push 0x6b
push 0x6b
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
mov esp, ebp
pop ebp
ret
push eax
push 0x49a2b0
call fcn.00423b40
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423b40
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x48d928
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x20]
push eax
lea edi, [esp + 0x10]
call fcn.00422280
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x6b
push ecx
call edi
mov edx, dword [esi + 4]
push 0x6c
push edx
call edi
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x130]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push eax
call edi
mov ecx, dword [esi + 0x124]
push 0
push 0
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x128]
push 0x49a2d4
push edx
call edi
mov eax, dword [esi + 0x128]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x423c1b
lea ecx, [esi + 0x10]
call fcn.0042e2b0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x423c1b
mov dword [esi + 4], 0
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4255d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48d660
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0x58]
sub eax, 0x10
call fcn.00415d10
lea ecx, [eax + 0x10]
mov dword [esp + 0x18], ecx
mov byte [esp + 0x24], 1
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x42565d
lea edx, [eax - 1]
cmp edx, ebx
jl 0x4256d5
cmp edx, eax
jg 0x4256d5
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x42565d
push 0x5c
lea edi, [esp + 0x1c]
call fcn.00416550
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004164c0
push str.SetupVersion
lea esi, [esp + 0x30]
mov eax, 0x4bd868
call fcn.00408ea0
mov ecx, esi
lea eax, [ebp + 0x48]
push ecx
call fcn.00426aa0
add esp, 4
test al, al
je 0x4256df
push str.SetupFileName
mov eax, 0x4bd868
call fcn.00408ea0
mov edi, dword [esp + 0x2c]
cmp dword [edi - 0xc], ebx
jle 0x4256e3
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4256e3
mov edx, dword [0x4bd8d8]
push edx
push 0x4992cc
push str.SetupFileName
push str.Update
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4256e3
push 0x80070057
call fcn.00416be0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42571d
mov ecx, dword [ebp + 0x50]
push esi
call fcn.00407450
add esp, 4
test eax, eax
je 0x42571d
mov eax, dword [ebp + 4]
push ebx
push 0x53
push 0x803a
push eax
mov dword [ebp + 0x70], 0x3e8
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x425773
mov ecx, dword [ebp + 0x30]
push ebx
push ebx
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [ebp + 0x60]
mov ecx, dword [ebp + 0x4c]
push edx
lea eax, [ebp + 0xc]
push eax
mov edx, esi
mov byte [ebp + 0x61], bl
mov byte [ebp + 0x62], bl
call fcn.00444790
cmp eax, ebx
jne 0x425773
push 0x49a680
push 0x49a690
push 1
push 0x10
push ebp
call fcn.00423650
mov ecx, dword [ebp + 4]
add esp, 0x14
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x425773
mov dword [ebp + 4], ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4257b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4278f0
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x427912
call fcn.004164a0
ret 4
xor eax, eax
ret 4

Function at 0x428240
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x489838
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42831d
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00416880
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str..del
mov dword [esp + 0x24], 0
call fcn.00409750
mov eax, dword [eax]
add esp, 8
push eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4282e6
push 4
push str..del
lea ecx, [esp + 0x14]
push ecx
call fcn.004164c0
mov edx, dword [esp + 0xc]
push 4
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42831d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x429810
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x488a10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x42990a
cmp dword [esp + 0x20], 0
jg 0x42990a
cmp dword [esp + 0x18], 0
jg 0x42990a
cmp dword [esp + 0x24], 0
jg 0x42990a
cmp dword [esp + 0x1c], 0
jg 0x42990a
lea ecx, [esp + 0x10]
call fcn.00416bc0
push 0x104
mov ecx, 0x104
lea esi, [esp + 0x14]
mov dword [esp + 0x34], 0
call fcn.00416600
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
or eax, 0xffffffff
call fcn.004165b0
mov ecx, esi
push ecx
mov eax, 7
lea ecx, [esp + 0x18]
call fcn.0042b3f0
mov edi, esi
mov byte [esp + 0x30], 1
call fcn.0040b8a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00416ba0
mov edx, esi
push edx
mov ecx, str.cmd.exe
call fcn.0040f5b0
test eax, eax
mov ecx, esi
jne 0x429905
call fcn.00416ba0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
call fcn.00416ba0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4299c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489feb
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.00429920
mov esi, eax
test esi, esi
je 0x429b5c
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
push 0
mov edi, eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429b5c
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x429b5c
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, esi
call fcn.00429810
test eax, eax
jne 0x429b4c
lea edx, [esp + 0x1c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x429b5c
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp eax, ebx
jl 0x429b5c
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
cmp ecx, edi
jl 0x429b5c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x18], eax
je 0x429b4c
push 0x208
lea edx, [esp + 0x42]
push 0
push edx
mov word [esp + 0x48], 0
call fcn.0046ea20
add esp, 0xc
push 0x104
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.00416880
lea edx, [esp + 0x14]
push edx
mov ecx, str.Program_Manager
call fcn.00421940
add esp, 4
test al, al
jne 0x429b53
lea eax, [esp + 0x14]
push eax
mov ecx, str.SHELLDLL_DefView
call fcn.00421940
add esp, 4
test al, al
jne 0x429b53
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.FolderView
call fcn.00421940
add esp, 4
test al, al
jne 0x429b53
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0xc00000
lea ecx, [esp + 0x14]
jne 0x429b57
call fcn.00416ba0
mov eax, 1
jmp 0x429b5e
lea ecx, [esp + 0x14]
call fcn.00416ba0
xor eax, eax
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret
Function at 0x429ea0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x48c3b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 8
call fcn.0046aefd
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x429edf
mov dword [eax], vtable.CExternal.0
mov dword [eax + 4], ebp
jmp 0x429ee1
xor eax, eax
cmp dword [edi + 0x20], ebp
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [edi + 0xc0], eax
mov dword [0x4bcac0], edi
jne 0x429f8e
lea eax, [esp + 0x10]
push eax
mov ecx, str.user32.dll
call fcn.00416880
lea ecx, [esp + 0x10]
push 1
push ecx
mov dword [esp + 0x24], ebp
call fcn.00434d20
mov dword [edi + 0x24], eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429f49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x24]
cmp eax, ebp
je 0x429f8e
push str.SetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [edi + 0x20], eax
je 0x429f8e
mov ecx, dword [edi + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [edi + 4]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call ebx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x20]
push 2
push 0xff
push ebp
push eax
call ecx
mov edx, dword [edi + 4]
push 0x3e8
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebp
lea esi, [edi + 0x40]
je 0x429fe1
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push edx
call ebx
mov eax, dword [esi + 4]
push esi
push 0xffffffffffffffeb
push eax
call ebx
mov eax, dword [esi + 4]
push 0x43eb50
push 0xfffffffffffffffc
push eax
call ebx
mov dword [esi + 0x3c], eax
call fcn.0043ea20
push edi
call fcn.0042a4a0
mov esi, edi
call fcn.0042a920
mov ecx, dword [edi + 4]
push 0x3ef
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea edx, [edi + 0xa8]
push edx
call fcn.00417000
push ebp
call fcn.0042a9f0
mov eax, dword [edi + 4]
push ebp
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
mov dword [ecx], 1
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x42b130
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b516
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
mov edi, dword [0x4bcac0]
jne 0x42b1da
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.http:__pyhelp.qq.com_cgi_bin_pyidjump.so_id2
call fcn.00416880
push 0x38
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.0046ea20
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x24], 0x49a284
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0x440
mov dword [esp + 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42b1ce
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x42b2c6
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x94], 0
mov ecx, dword [esi]
push edx
call fcn.0042af60
test eax, eax
mov esi, dword [esp + 0x10]
je 0x42b2b8
lea eax, [esp + 0xc]
push eax
mov ecx, str.http:__pyhelp.qq.com_cgi_bin_pyidjump.so_id4af
call fcn.00416880
mov byte [esp + 0x94], 1
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x14]
push ecx
call fcn.004164c0
push 0x38
lea edx, [esp + 0x58]
push 0
push edx
call fcn.0046ea20
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 0x3c
mov dword [esp + 0x60], 0x49a284
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], 0x440
mov dword [esp + 0x70], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42b290
mov edx, dword [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x94], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x94], 0xffffffff
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x66
push ecx
mov dword [edi + 0x2c], 0
call esi
mov edx, dword [edi + 4]
push 0x64
push edx
call esi
mov eax, dword [edi + 4]
push 0x65
push eax
call esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x8c
ret
Function at 0x42bf80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42bf91
xor eax, eax
pop esi
ret
call fcn.0042e240
test eax, eax
jne 0x42bf8f
push ebx
push edi
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x4c]
push ecx
lea edi, [esi + 0x58]
lea ebx, [esi + 0x54]
push edi
mov ecx, ebx
call fcn.00439bb0
add esp, 0xc
test eax, eax
mov dword [esi + 0x5c], eax
jne 0x42bfc6
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x42e380
cmp eax, 2
jne 0x42bfe1
mov edx, dword [edi]
mov eax, dword [ebx]
push edx
mov edi, esi
call fcn.0042e340
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x42e380
pop edi
pop ebx
mov ecx, esi
pop esi
jmp method.CAsyncTcpClient.virtual_36
push ecx
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp], eax
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42e3a7
xor eax, eax
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
call fcn.0042e240
test eax, eax
jne 0x42e422
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
jne 0x42e3de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x42e422
or eax, 0xffffffff
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
mov ecx, dword [esi + 0x34]
push 0
push 0x81da
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x42e3c4
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x42e401
test eax, eax
jne 0x42e419
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.0042e4b0
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
lea edx, [esi + 0x20]
push edx
call fcn.0042e430
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.00469efd
pop ecx
ret
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42eae7
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.0042e240
cmp eax, edi
jne 0x42eb6b
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x4c]
push ecx
lea edx, [esi + 0x58]
push edx
lea ecx, [esi + 0x54]
call fcn.00439bb0
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x42eb1a
pop edi
mov ecx, esi
pop esi
add esp, 4
jmp 0x42e380
call fcn.0042e870
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x42eb70
push edi
push edi
mov dword [esi + 0x64], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x42eb63
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x40]
cmp eax, 0xbb8
ja 0x42eb4c
mov eax, 0xbb8
mov ecx, dword [esi + 0x34]
push edi
push eax
push 0x1399
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
pop edi
pop esi
pop ecx
ret
Function at 0x42e240
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x194], eax
cmp byte [esi + 0x44], 0
jne 0x42e296
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x42e292
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x42e298
or eax, 0xffffffff
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x44], 1
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret
Function at 0x42e380
Capabilities:
Create tcp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42bf91
xor eax, eax
pop esi
ret
call fcn.0042e240
test eax, eax
jne 0x42bf8f
push ebx
push edi
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x4c]
push ecx
lea edi, [esi + 0x58]
lea ebx, [esi + 0x54]
push edi
mov ecx, ebx
call fcn.00439bb0
add esp, 0xc
test eax, eax
mov dword [esi + 0x5c], eax
jne 0x42bfc6
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x42e380
cmp eax, 2
jne 0x42bfe1
mov edx, dword [edi]
mov eax, dword [ebx]
push edx
mov edi, esi
call fcn.0042e340
pop edi
pop ebx
mov ecx, esi
pop esi
jmp 0x42e380
pop edi
pop ebx
mov ecx, esi
pop esi
jmp method.CAsyncTcpClient.virtual_36
push ecx
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp], eax
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42e3a7
xor eax, eax
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
call fcn.0042e240
test eax, eax
jne 0x42e422
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x3c], eax
jne 0x42e3de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jne 0x42e422
or eax, 0xffffffff
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
mov ecx, dword [esi + 0x34]
push 0
push 0x81da
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x42e3c4
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x42e401
test eax, eax
jne 0x42e419
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.0042e4b0
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.00469efd
pop ecx
ret
lea edx, [esi + 0x20]
push edx
call fcn.0042e430
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.00469efd
pop ecx
ret
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x3c], 0xffffffff
mov byte [esi + 0x46], 1
je 0x42eae7
pop edi
xor eax, eax
pop esi
pop ecx
ret
call fcn.0042e240
cmp eax, edi
jne 0x42eb6b
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x4c]
push ecx
lea edx, [esi + 0x58]
push edx
lea ecx, [esi + 0x54]
call fcn.00439bb0
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x42eb1a
pop edi
mov ecx, esi
pop esi
add esp, 4
jmp 0x42e380
call fcn.0042e870
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x42eb70
push edi
push edi
mov dword [esi + 0x64], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x42eb63
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x40]
cmp eax, 0xbb8
ja 0x42eb4c
mov eax, 0xbb8
mov ecx, dword [esi + 0x34]
push edi
push eax
push 0x1399
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
pop edi
pop esi
pop ecx
ret