joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a176
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
push 0x4712d8
call fcn.0045273c
xor edi, edi
mov ebx, edi
mov dword [ebp - 0x20], ebx
push dword [0x47206c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x44a2cc
push 0x474e64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
cmp dword [0x474eb0], esi
jne 0x44a1e9
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x474eb0], eax
test eax, eax
je 0x44a271
mov ecx, edi
mov dword [0x474eb4], ecx
mov dword [0x474ea4], 1
jmp 0x44a229
mov ecx, dword [0x474eb4]
mov eax, dword [0x474ea4]
cmp ecx, eax
jne 0x44a229
lea eax, [eax*4 + 4]
push eax
push dword [0x474eb0]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x44a271
mov dword [0x474eb0], eax
inc dword [0x474ea4]
mov ecx, dword [0x474eb4]
mov eax, dword [0x474eb0]
mov dword [eax + ecx*4], edi
push 0x8010
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x44a271
lea eax, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x8000
push esi
push dword [0x47206c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x44a271
xor ebx, ebx
inc ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0044a2a0
test ebx, ebx
je 0x44a2a1
mov ecx, dword [0x474eb4]
mov eax, dword [0x474eb0]
mov dword [eax + ecx*4], esi
inc ecx
mov dword [0x474eb4], ecx
jmp 0x44a2bf
push edi
push dword [0x47206c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edi
push 0x474e64
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
call fcn.00452781
ret

Function at 0x44a418
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x472070]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44a451
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44a451
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 - 4]
test eax, eax
je 0x44a451
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x44a451
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4 - 4]
test eax, eax
je 0x44a451
mov eax, dword [eax]
test eax, eax
jne 0x44a456
mov eax, 0x412bec
ret
Function at 0x44a50c
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x44a57e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x44a56b
mov ebx, dword [ebp - 0x14]
jmp 0x44a573
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x44a586
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00451d90
mov esp, ebp
pop ebp
ret
Function at 0x44b13e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x474f0c], 0
jne 0x44b33a
push ebx
xor ebx, ebx
mov dword [0x474f0c], 1
mov dword [0x474f08], ebx
cmp dword [0x474618], ebx
je 0x44b197
mov dword [0x474618], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
mov dword [0x474ef0], eax
jmp 0x44b19c
mov eax, dword [0x474ef0]
mov dword [0x474ee8], 0x44aa70
test eax, eax
je 0x44b220
push 0x413174
mov dword [0x474ee4], 0x44af30
mov dword [0x474f10], 0x44afb0
mov dword [0x474f04], 0x44b030
mov dword [0x474eec], 0x44acf0
mov dword [0x474ee0], 0x44b0a0
mov dword [0x474ed0], 0x44b0c0
mov dword [0x474ef4], 0x44b0e0
mov dword [0x474edc], 0x44b100
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44b270
push 0x413188
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b270
mov dword [0x474ee8], eax
jmp 0x44b270
mov dword [0x474ee4], 0x44aa80
mov dword [0x474f10], 0x44ab40
mov dword [0x474f04], 0x44ac20
mov dword [0x474eec], 0x44acf0
mov dword [0x474ee0], 0x44ad10
mov dword [0x474ed0], 0x44ad90
mov dword [0x474ef4], 0x44ae20
mov dword [0x474edc], 0x44aeb0
push 0x103
lea eax, [ebp - 0x107]
mov dword [0x474ecc], 0x44a910
push ebx
push eax
mov dword [0x474f00], 0x44a940
mov dword [0x474ed4], 0x44a960
mov dword [0x474f14], 0x44a990
mov dword [0x474f18], 0x44a9c0
mov dword [0x474f1c], 0x44a9e0
mov dword [0x474ef8], 0x44aa30
mov dword [0x474efc], 0x44b120
mov byte [ebp - 0x108], bl
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x4131a4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x44b32f
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
jne 0x44b31c
push ebx
mov dword [0x474ed8], 0x44aa60
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44b339
push 0x4131c4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x474ed8], eax
jmp 0x44b339
mov dword [0x474ed8], 0x44aa60
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.00451d90
mov esp, ebp
pop ebp
ret
Function at 0x451d80
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x471758
call fcn.004525c4
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x474f40
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x451b85
cmp eax, edi
jne 0x451b97
mov esi, ebx
cmp dword [0x474f44], ebx
jne 0x451ba4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x451bd3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x451b6e
cmp dword [0x474f44], 0
jne 0x451bcd
mov dword [0x474f44], ebx
push 0x40104c
push 0x401040
call fcn.00451d24
pop ecx
pop ecx
test eax, eax
je 0x451bd3
jmp 0x451d0d
mov dword [0x4749c4], ebx
cmp dword [0x474f44], ebx
jne 0x451bf6
push 0x40103c
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x474f44], 2
test esi, esi
jne 0x451c03
xor eax, eax
mov ecx, 0x474f40
xchg dword [ecx], eax
cmp dword [0x474f50], 0
je 0x451c31
push 0x474f50
call fcn.004523f0
pop ecx
test eax, eax
je 0x451c31
push 0
push 2
push 0
mov esi, dword [0x474f50]
mov ecx, esi
call dword [0x47547c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x451d0d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x24]
movzx eax, word [ecx]
cmp ax, si
ja 0x451ca1
test ax, ax
je 0x451c5a
test edx, edx
jne 0x451ca1
movzx eax, word [ecx]
test ax, ax
je 0x451c6f
cmp ax, si
ja 0x451c6f
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x451c5a
test byte [ebp - 0x40], 1
je 0x451c7b
movzx eax, word [ebp - 0x3c]
jmp 0x451c7e
push 0xa
pop eax
push eax
push ecx
push 0
push 0x400000
call main
mov dword [0x4749c0], eax
cmp dword [0x4749d8], 0
jne 0x451ce9
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x451cb2
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x24], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x451c49
cmp dword [0x4749c4], 0
jne 0x451cfd
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4749c0]
mov dword [ebp - 4], 0xfffffffe
jmp 0x451d19
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0045260c
ret
call fcn.004524f8
jmp 0x451b38

Function at 0x4522df
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x471800
call fcn.0045273c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x45233f
cmp eax, 0xffffffff
je 0x45233f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x452338
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x452338
cmp edx, 0x10000000
jae 0x452338
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x452335
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00452781
ret 4
Function at 0x4523a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4523de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4523d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4523e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4523c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4524c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4524d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4524f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x467ba2
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x467bf5
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 3
jmp 0x467cc0
push esi
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x47547c]
mov ecx, dword [ebp - 0xc]
jmp 0x467caa
cmp ecx, 0x61
jb 0x467c13
cmp ecx, 0x7a
jbe 0x467c90
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x467c90
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x467c90
cmp ecx, 0x2f
ja 0x467c59
cmp ecx, 0x28
jae 0x467c96
cmp ecx, 0xa
je 0x467c96
cmp ecx, 0xd
je 0x467c96
cmp ecx, 0x1f
jbe 0x467c77
cmp ecx, 0x21
jbe 0x467c96
cmp ecx, 0x22
jbe 0x467c77
cmp ecx, 0x25
jbe 0x467c96
cmp ecx, 0x27
jne 0x467c77
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x467c92
cmp ecx, 0x3a
jb 0x467c77
cmp ecx, 0x3b
jbe 0x467c96
cmp ecx, 0x3d
je 0x467c96
cmp ecx, 0x3e
jbe 0x467c77
cmp ecx, 0x40
jbe 0x467c96
cmp ecx, 0x5f
je 0x467c96
mov eax, dword [ebp - 0xc]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
xor eax, eax
jmp 0x467cbf
mov al, 1
test al, al
je 0x467c77
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
call dword [0x47547c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call esi
mov ecx, eax
mov dword [ebp - 0x14], edx
cmp ecx, 0xffffffff
jne 0x467c09
mov eax, edx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00451d90
mov esp, ebp
pop ebp
ret
Function at 0x402250
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x429116
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x28]
push esi
push esi
rep stosd dword es:[edi], eax
push str.Testing
mov dword [esp + 0x28], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
cmp ebp, esi
je 0x402395
push esi
push SysReAllocStringLen
push esi
push esi
push str.http:__account.jx17173.com:8080_jxupdate.txt
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, esi
jne 0x4022c1
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x402395
mov eax, dword [0x436810]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x428], esi
push ecx
mov ecx, 0x43a510
call fcn.004012f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 1
call fcn.00420a9d
lea ecx, [esp + 0x18]
mov byte [esp + 0x428], 0
call fcn.0042075f
push str.jxupdate.txt
lea ecx, [esp + 0x14]
call fcn.00420a61
mov edx, dword [esp + 0x10]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402375
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push 0x400
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40236e
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x28]
push 0x400
push eax
push esi
call ebx
test eax, eax
jne 0x402338
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x428], 0xffffffff
call fcn.0042075f
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x41c
ret
Function at 0x402ba0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429208
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x6c], ebx
je 0x402bf5
push 0x436360
push 0x3f3
mov dword [esi + 0x68], 1
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, esi
call fcn.00402250
mov eax, dword [0x436810]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
push ecx
mov ecx, 0x43a510
call fcn.004012f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00420a9d
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.0042075f
push str.jxupdate.txt
lea ecx, [esp + 0x14]
call fcn.00420a61
mov edx, dword [esp + 0x10]
lea edi, [esi + 0x34c]
push edx
push 0x104
push 0x104
mov ecx, edi
call fcn.00420ab5
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x43a5d0
push 0x436128
push str.UPDATE
call ebp
mov eax, dword [edi]
push 0x43a5d0
push eax
call fcn.0040c16f
add esp, 8
test eax, eax
jne 0x402ca1
push ebx
push 0x436350
push 0x43632c
mov ecx, esi
call fcn.0041e0b7
jmp 0x402d87
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x60]
push eax
push 0x104
push 0x104
call fcn.00420ab5
push eax
push str.http:__account.jx17173.com:8080_path_path.zip
push str.ADDR
push str.UPDATE
call ebp
mov ecx, dword [0x436810]
mov dword [esp + 0x14], ecx
mov eax, dword [esi + 0x348]
mov ecx, dword [edi]
push eax
push ecx
mov byte [esp + 0x2c], 2
call fcn.0040c16f
add esp, 8
test eax, eax
jle 0x402d7a
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push 0x4362e4
push eax
call fcn.0041b30f
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x4362d4
call fcn.00420a61
mov ecx, dword [esp + 0x14]
push 0x31
push 0x4362c8
push ecx
mov ecx, esi
call fcn.0041e0b7
cmp eax, 2
je 0x402d7a
mov ecx, esi
call fcn.00403050
test eax, eax
je 0x402d4d
push ebx
push 0x436350
push 0x4362a8
mov ecx, esi
call fcn.0041e0b7
jmp 0x402d7a
push ebx
push ebx
push ebx
push ebx
push esi
push 0x4023b0
mov dword [esi + 0x68], ebx
call fcn.0041fcff
push 0x43629c
push 0x3f3
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.0042075f
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0042075f
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x402db0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429230
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x402dff
push 0x436360
push 0x3f3
mov dword [esi + 0x68], 1
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
mov ecx, esi
call fcn.00402250
mov eax, dword [0x436810]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
mov ecx, 0x43a510
call fcn.004012f0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00420a9d
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.0042075f
push str.jxupdate.txt
lea ecx, [esp + 0xc]
call fcn.00420a61
mov edx, dword [esp + 8]
lea edi, [esi + 0x34c]
push edx
push 0x104
push 0x104
mov ecx, edi
call fcn.00420ab5
push eax
push 0x43a5d0
push 0x436128
push str.UPDATE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [edi]
push 0x43a5d0
push edi
call fcn.0040c16f
add esp, 8
test eax, eax
pop edi
jne 0x402ead
push eax
push 0x436350
push 0x43632c
mov ecx, esi
call fcn.0041e0b7
jmp 0x402f02
mov ecx, esi
call fcn.00403050
test eax, eax
je 0x402ecd
push 0
push 0x436350
push 0x4362a8
mov ecx, esi
call fcn.0041e0b7
jmp 0x402f02
push 0
push 0
push 0
push 0
push esi
push 0x4023b0
mov dword [esi + 0x68], 0
call fcn.0041fcff
push 0x43629c
push 0x3f3
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042075f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x402dc8
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429230
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x402dff
push 0x436360
push 0x3f3
mov dword [esi + 0x68], 1
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
mov ecx, esi
call fcn.00402250
mov eax, dword [0x436810]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
mov ecx, 0x43a510
call fcn.004012f0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00420a9d
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.0042075f
push str.jxupdate.txt
lea ecx, [esp + 0xc]
call fcn.00420a61
mov edx, dword [esp + 8]
lea edi, [esi + 0x34c]
push edx
push 0x104
push 0x104
mov ecx, edi
call fcn.00420ab5
push eax
push 0x43a5d0
push 0x436128
push str.UPDATE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [edi]
push 0x43a5d0
push edi
call fcn.0040c16f
add esp, 8
test eax, eax
pop edi
jne 0x402ead
push eax
push 0x436350
push 0x43632c
mov ecx, esi
call fcn.0041e0b7
jmp 0x402f02
mov ecx, esi
call fcn.00403050
test eax, eax
je 0x402ecd
push 0
push 0x436350
push 0x4362a8
mov ecx, esi
call fcn.0041e0b7
jmp 0x402f02
push 0
push 0
push 0
push 0
push esi
push 0x4023b0
mov dword [esi + 0x68], 0
call fcn.0041fcff
push 0x43629c
push 0x3f3
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0041f635
mov ecx, eax
call fcn.0041f723
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042075f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x402f60
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x2110
call fcn.0040c2a0
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x124]
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x40301b
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0
shr edx, 2
test edx, edx
jle 0x40301b
mov ebx, dword [esp + 0x2124]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edi, [esp + 0x120]
mov eax, dword [edi]
push eax
push 0
push 0x410
call ebp
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1120]
push ecx
mov esi, eax
push 0x1000
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov ecx, dword [esp + 0x1120]
lea eax, [esp + 0x1c]
push 0x104
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.0040c220
add esp, 8
test eax, eax
jne 0x40302a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add edi, 4
shr ecx, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x402fb4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2110
ret 4
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, dword [esp + edx*4 + 0x114]
pop ebx
add esp, 0x2110
ret 4
Function at 0x4030e0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x429256
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push ebp
lea ecx, [esp + 0xc]
call fcn.00405a8f
mov ebp, dword [esp + 0x358]
lea eax, [esp + 0x1b8]
push ebp
push str._s.
push eax
mov dword [esp + 0x35c], 0
call fcn.0040c2cf
add esp, 0xc
lea ecx, [esp + 0x1b8]
push 0
push ecx
lea ecx, [esp + 0x14]
call fcn.00405b52
test eax, eax
je 0x403225
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00405d72
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.00405d39
test eax, eax
jne 0x403217
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00405f6a
push 0xc8
mov ecx, eax
mov byte [esp + 0x35c], 1
call fcn.00420ab5
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x358], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0042075f
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x38]
test eax, eax
lea eax, [esp + 0x30]
push eax
push ebp
push str._s_s
je 0x4031f9
lea ecx, [esp + 0x104]
push ecx
call fcn.0040c2cf
lea edx, [esp + 0x108]
push edx
call fcn.004030e0
add esp, 0x14
jmp 0x403217
lea ecx, [esp + 0x294]
push ecx
call fcn.0040c2cf
add esp, 0x10
lea edx, [esp + 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40314a
pop edi
pop esi
lea ecx, [esp + 0xc]
call fcn.00405b08
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
pop ebp
mov dword [esp + 0x34c], 0xffffffff
lea ecx, [esp + 8]
jne 0x403265
call fcn.00405acc
xor eax, eax
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
add esp, 0x350
ret
call fcn.00405acc
mov ecx, dword [esp + 0x344]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x350
ret

Function at 0x40c06d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c08d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040eb21
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40c0b0
test byte [esp + 8], 2
je 0x40c0b0
call fcn.0040eb94
mov dword [eax], 0xd
call fcn.0040eb9d
mov dword [eax], 5
jmp 0x40c089
xor eax, eax
ret