joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bf70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x41bfeb
cmp dword [esi + 4], 0xffffffff
jne 0x41bfeb
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41bf95
mov eax, dword [0x4bba58]
push 0x1c
mov dword [edi], eax
mov dword [ebp - 4], 0
call fcn.0044a64f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
mov word [eax], pe_nt_image_headers32
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], 0
mov dword [eax + 0xc], 0
call fcn.0041b040
mov dword [esi], eax
mov eax, dword [0x4d0f40]
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x41c9e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4833f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4c2320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [edi + 0xc]
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4bbeec
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x24]
push 0x67
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41ca4b
mov ecx, dword [edi + 0x24]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
push esi
test eax, eax
jne 0x41ca65
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x41ca92
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00449581
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41caba
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp - 0x10]
push eax
push edx
call fcn.0044d7e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
push ebx
push eax
mov ebx, edi
call fcn.0041c850
mov ecx, dword [ebp - 0x14]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d230
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
lea esi, [ecx - 0x28]
lea ebx, [edi + 0x28]
or eax, 0xffffffff
mov dword [ebp - 4], ebx
mov ecx, esi
mov edx, ebx
test esi, esi
je 0x41d26c
lea ecx, [ecx]
movsx ebx, byte [edx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x4bbab8]
inc edx
dec ecx
jne 0x41d250
mov ebx, dword [ebp - 4]
not eax
cmp eax, dword [edi + 4]
jne 0x41d2c0
cmp esi, dword [edi]
jne 0x41d2c0
mov eax, 0x49d0dc
add edi, 8
mov ecx, 0x10
sub edi, eax
mov edx, dword [edi + eax]
cmp edx, dword [eax]
jne 0x41d2c0
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x41d286
lea eax, [esi + 1]
push eax
call fcn.00449581
push esi
mov edi, eax
push ebx
push edi
call fcn.0044d7e0
mov ecx, dword [ebp + 8]
add esp, 0x10
mov byte [edi + esi], 0
mov eax, edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d420
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edi, edi
je 0x41d444
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, ecx
sub edx, eax
mov al, byte [edx + 0x4cae50]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x41d426
ret

Function at 0x41d450
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4ba8ac
push eax
xor edi, edi
xor ebx, ebx
call fcn.0044ad72
mov esi, eax
add esp, 8
test esi, esi
je 0x41d4d3
push 2
push ebx
push esi
call fcn.0044c4ea
push esi
call fcn.0044c3fb
push edi
push edi
push esi
mov ebx, eax
call fcn.0044c4ea
add esp, 0x1c
test ebx, ebx
je 0x41d4be
cmp ebx, 0xa00000
ja 0x41d4be
lea ecx, [ebx + 1]
push 0x4cd360
push ecx
call fcn.0044f374
mov edi, eax
add esp, 8
test edi, edi
je 0x41d4be
push esi
push 1
push ebx
push edi
mov byte [ebx + edi], 0
call fcn.0044c24a
add esp, 0x10
push esi
call fcn.0044b86e
mov edx, dword [ebp + 8]
add esp, 4
mov dword [edx], edi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x41d770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
push 0x4ba7f4
push ebx
mov esi, eax
mov dword [ebp - 4], 0
call fcn.00449cb0
add esp, 8
test eax, eax
jne 0x41d7aa
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.0041d450
mov edi, eax
add esp, 4
test edi, edi
jne 0x41d824
lea ecx, [ebp - 4]
push ecx
call fcn.0041d4e0
add esp, 4
mov edi, eax
test esi, esi
je 0x41d85d
mov esi, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov ecx, edi
mov eax, esi
mov dword [ebp - 8], 0
call fcn.0041d230
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41d7ee
push esi
call fcn.0044a529
mov edi, dword [ebp - 8]
add esp, 4
mov esi, ebx
xor ecx, ecx
test edi, edi
je 0x41d812
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, ecx
sub edx, eax
mov al, byte [edx + 0x4cae50]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x41d7f4
mov eax, dword [ebp + 8]
mov byte [esi + edi], 0
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x41d85d
xor ecx, ecx
test edi, edi
je 0x41d85d
mov esi, dword [ebp - 4]
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea edx, [edx + edx*8]
mov eax, ecx
sub eax, edx
mov dl, byte [eax + 0x4cae50]
xor byte [ecx + esi], dl
inc ecx
cmp ecx, edi
jb 0x41d831
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4852d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x41e5b7
cmp byte [edi + 0x49], 0
je 0x41e5b7
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x41e5ab
lea esi, [ebp - 0x2c]
call fcn.0041e320
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x41e523
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x41e54c
dec eax
je 0x41e550
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x41e5a6
jmp 0x41e5b2
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x41e560
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x41e589
cmp ebx, 0x10
jae 0x41e56f
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0044ba39
add esp, 0x10
cmp esi, eax
jne 0x41e5a3
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x41e5af
test esi, esi
jne 0x41e517
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041d100
jmp 0x41e511
lea ecx, [ebp - 0x2c]
call fcn.00402550
xor al, al
jmp 0x41e5b9
lea ecx, [ebp - 0x2c]
call fcn.00402550
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret
Function at 0x41ec20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4847a9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x4c], esi
mov edi, ecx
mov byte [esi], bl
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x48], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jle 0x41ed49
push eax
call fcn.00449581
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
add esp, 4
mov ebx, eax
push ebx
push ecx
push edx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x41ed40
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 0x4baacc
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41ed49
mov eax, dword [ebp - 0x40]
movzx edx, word [eax + 0xa]
mov cx, word [eax + 8]
mov word [ebp - 0x18], dx
movzx edx, word [eax + 0xe]
mov ax, word [eax + 0xc]
push ebx
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], dx
mov word [ebp - 0x12], ax
call fcn.0044a529
add esp, 4
xor edi, edi
lea ecx, [ecx]
movzx edx, word [ebp + edi*2 - 0x18]
push 0xa
lea ecx, [ebp - 0x38]
push ecx
push edx
call fcn.00481228
lea eax, [ebp - 0x38]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ed10
sub eax, edx
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.00408c10
cmp edi, 3
je 0x41ed38
push 1
push 0x4bb4c0
mov ecx, esi
call fcn.00408c10
inc edi
cmp edi, 4
jb 0x41ecf0
jmp 0x41ed49
push ebx
call fcn.0044a529
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret

Function at 0x421d90
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edi, edi
je 0x421db4
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, ecx
sub edx, eax
mov al, byte [edx + 0x4cae44]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x421d96
ret
Function at 0x423060
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483f07
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c2320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebx], 0x4bbf80
mov dword [ebx + 0x68], 0x4bb708
mov dword [ebp - 4], eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [ebx + edx], 0x4bb748
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [ebp - 0x10], 1
call fcn.00416e80
lea esi, [ebx + 0x10]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00416880
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4230f9
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00417650
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [ebx + edx], 0x4bbf7c
call fcn.00416740
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x4bbef0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [0x4d1220]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42dee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], 0xffffffff
push 0x1b6
push 0x8000
push eax
mov dword [ebp - 4], 0
call fcn.0044fbbd
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x140], ebx
test ebx, ebx
js 0x42df64
mov eax, dword [esi]
push 0
push eax
push ebx
call fcn.0044fdbf
add esp, 0xc
test eax, eax
jne 0x42df6b
push ebx
call fcn.0044fc86
add esp, 4
xor eax, eax
jmp 0x42e0ba
lea edi, [ebp - 0x13c]
lea eax, [ebp - 0x140]
call fcn.0042e670
test eax, eax
je 0x42df5b
mov eax, 0xc
xor ecx, ecx
jmp 0x42df90
mov edx, dword [ebp + ecx - 0x13c]
cmp edx, dword [ecx + str.ADKILL]
jne 0x42df5b
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x42df90
mov eax, esi
call fcn.0042e210
mov edi, dword [ebp - 0x2c]
add edi, edi
add edi, edi
add edi, edi
push edi
call fcn.00449c1b
mov esi, eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax*8]
push ecx
mov dword [ebp - 0x28], esi
call fcn.00449c1b
mov edx, dword [ebp - 0x1c]
push edx
mov dword [ebp - 0x20], eax
call fcn.00449c1b
add esp, 0xc
mov dword [ebp - 0x14], eax
test esi, esi
je 0x42df5b
push edi
push esi
push ebx
call fcn.00450c1b
add esp, 0xc
mov dword [ebp - 0x140], eax
cmp eax, edi
jne 0x42df5b
call fcn.00421d90
cmp dword [ebp - 0x140], 0
je 0x42df5b
mov eax, dword [ebp - 0x20]
mov esi, eax
test eax, eax
je 0x42df5b
mov edi, dword [ebp - 0x24]
add edi, edi
add edi, edi
add edi, edi
push edi
push eax
push ebx
call fcn.00450c1b
add esp, 0xc
mov dword [ebp - 0x140], eax
cmp eax, edi
jne 0x42df5b
call fcn.00421d90
cmp dword [ebp - 0x140], 0
je 0x42df5b
mov eax, dword [ebp - 0x14]
mov esi, eax
test eax, eax
je 0x42df5b
mov edi, dword [ebp - 0x1c]
push edi
push eax
push ebx
call fcn.00450c1b
add esp, 0xc
mov dword [ebp - 0x140], eax
cmp eax, edi
jne 0x42df5b
call fcn.00421d90
cmp dword [ebp - 0x140], 0
je 0x42df5b
mov edi, dword [ebp - 0x144]
add edi, 0xc
mov ecx, 0x4b
lea esi, [ebp - 0x13c]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0044fc86
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449592
mov esp, ebp
pop ebp
ret 4
Function at 0x42e670
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x10
test eax, eax
js 0x42e7a5
test edi, edi
je 0x42e7a5
push 0x12c
push edi
push eax
call fcn.00450c1b
add esp, 0xc
cmp eax, 0x12c
jne 0x42e7a5
mov eax, 2
sub eax, edi
mov dword [ebp - 4], eax
mov eax, 3
sub eax, edi
mov dword [ebp - 8], eax
mov eax, 4
sub eax, edi
push ebx
mov dword [ebp - 0xc], eax
mov ebx, 1
push esi
mov eax, 5
xor esi, esi
sub ebx, edi
sub eax, edi
mov ecx, edi
mov dword [ebp - 0x10], eax
mov eax, 0x38e38e39
mul esi
shr edx, 1
lea edx, [edx + edx*8]
mov eax, esi
sub eax, edx
mov dl, byte [eax + 0x4cae44]
xor byte [ecx], dl
lea edx, [ebx + ecx]
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4cae45]
xor byte [ecx + 1], al
mov edx, dword [ebp - 4]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4cae46]
xor byte [ecx + 2], al
mov edx, dword [ebp - 8]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4cae47]
xor byte [ecx + 3], al
mov edx, dword [ebp - 0xc]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4cae48]
xor byte [ecx + 4], al
mov edx, dword [ebp - 0x10]
add edx, ecx
mov eax, 0x38e38e39
mul edx
shr edx, 1
lea eax, [edx + edx*8]
mov edx, esi
sub edx, eax
movzx eax, byte [edx + 0x4cae49]
xor byte [ecx + 5], al
add esi, 6
add ecx, 6
cmp esi, 0x12c
jb 0x42e6d7
pop esi
mov eax, 0x12c
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42fda0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483c45
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4c2320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
mov esi, 0x49cafb
call fcn.0040df80
lea eax, [edi + 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040df80
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
push ecx
mov esi, str.stnst2014
mov dword [edi + 8], ebx
call fcn.0040df80
lea edx, [edi + 0x10]
push edx
mov esi, str.news
mov byte [ebp - 4], 2
call fcn.0040df80
lea eax, [edi + 0x14]
push eax
mov esi, 0x49cafb
mov byte [ebp - 4], 3
call fcn.0040df80
lea ecx, [edi + 0x18]
push ecx
mov esi, str._B0_D9_B6_C8
mov byte [ebp - 4], 4
call fcn.0040df80
lea edx, [edi + 0x1c]
push edx
mov esi, str.stnts.com
mov byte [ebp - 4], 5
call fcn.0040df80
lea eax, [edi + 0x24]
mov byte [ebp - 4], 6
push eax
mov esi, str.baiduXMLBase
mov dword [edi + 0x20], ebx
call fcn.0040df80
lea ecx, [edi + 0x28]
push ecx
mov esi, 0x49cafb
mov byte [ebp - 4], 7
call fcn.0040df80
lea edx, [edi + 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.0040df80
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 9
call fcn.0040df80
mov byte [ebp - 4], 0xa
mov eax, 0xfa
lea ecx, [edi + 0x48]
push ecx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
call fcn.0040df80
lea edx, [edi + 0x4c]
push edx
mov byte [ebp - 4], 0xb
call fcn.0040df80
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
lea eax, [edi + 0x60]
push eax
mov byte [ebp - 4], 0xd
call fcn.0042fd00
mov byte [ebp - 4], 0xe
mov edx, dword [0x4c3468]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c3468
call eax
add eax, 0x10
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov byte [ebp - 4], 0x10
mov edx, dword [0x4c3468]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c3468
call eax
add eax, 0x10
mov dword [edi + 0x90], eax
lea ecx, [edi + 0x94]
push ecx
mov byte [ebp - 4], 0x11
call fcn.0040df80
lea edx, [edi + 0x98]
push edx
mov byte [ebp - 4], 0x12
call fcn.0040df80
mov byte [ebp - 4], 0x13
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
cmp ecx, eax
je 0x42ff72
mov edx, dword [ebp + 8]
push edx
push ecx
push eax
call fcn.00430c90
mov ebx, dword [edi + 0x54]
add esp, 0xc
mov dword [ebp + 8], eax
mov esi, eax
cmp eax, ebx
je 0x42ff6f
lea ecx, [ecx]
call fcn.0042ff90
add esi, 0x1c
cmp esi, ebx
jne 0x42ff60
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x430f00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484460
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4c2320]
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
xor edi, edi
mov ebx, edx
push edi
mov esi, ecx
push 0x49cafb
mov ecx, ebx
mov dword [ebp - 0x480], edi
call fcn.00402a90
push edi
push edi
push edi
push edi
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1_
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x47c], edi
test edi, edi
je 0x430f8e
push 0
push bind
push 0
push 0
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
mov dword [ebp - 0x484], esi
test esi, esi
jne 0x430f92
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x43100a
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x430fa0
push 0x464
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.0044f160
add esp, 0xc
lea ecx, [ebp - 0x480]
push ecx
push 0x400
lea edx, [ebp - 0x478]
push edx
push esi
call edi
lea eax, [ebp - 0x478]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430fd5
sub eax, edx
push eax
lea eax, [ebp - 0x478]
push eax
mov ecx, ebx
call fcn.00408c10
cmp dword [ebp - 0x480], 0
ja 0x430fa0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [ebp - 0x47c]
push ecx
call esi
mov al, 1
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.00449592
mov esp, ebp
pop ebp
ret
Function at 0x449592
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c2320]
jne 0x44959c
repz ret
jmp fcn.00450d11

Function at 0x45a6b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c2320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004521f8
and dword [ebp - 0x14], 0
cmp dword [0x4ce040], 0
mov dword [ebp - 0x18], eax
jne 0x45a766
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45a80e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45a80e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ce040], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ce044], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ce048], eax
call edi
push eax
call esi
mov dword [0x4ce050], eax
test eax, eax
je 0x45a766
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ce04c], eax
mov eax, dword [0x4ce04c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45a7bf
cmp dword [0x4ce050], ecx
je 0x45a7bf
push eax
call esi
push dword [0x4ce050]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45a7bf
test ebx, ebx
je 0x45a7bf
call edi
test eax, eax
je 0x45a7b6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45a7b6
test byte [ebp - 8], 1
jne 0x45a7bf
or dword [ebp + 0x10], 0x200000
jmp 0x45a7f2
mov eax, dword [0x4ce044]
cmp eax, dword [ebp - 0x18]
je 0x45a7f2
push eax
call esi
test eax, eax
je 0x45a7f2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45a7f2
mov eax, dword [0x4ce048]
cmp eax, dword [ebp - 0x18]
je 0x45a7f2
push eax
call esi
test eax, eax
je 0x45a7f2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ce040]
call esi
test eax, eax
je 0x45a80e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45a810
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449592
leave
ret