joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407360
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab83c]
jne 0x40736a
repz ret
jmp fcn.0040b76f

Function at 0x40b15d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405cf7
and dword [ebp - 4], 0
cmp dword [0x4b0904], 0
mov ebx, eax
jne 0x40b20e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2bf
push eax
call fcn.00405c85
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b0904], eax
call esi
push eax
call fcn.00405c85
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0908], eax
call esi
push eax
call fcn.00405c85
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b090c], eax
call esi
push eax
call fcn.00405c85
pop ecx
mov dword [0x4b0914], eax
test eax, eax
je 0x40b20e
push 0x4a7f18
push edi
call esi
push eax
call fcn.00405c85
pop ecx
mov dword [0x4b0910], eax
mov eax, dword [0x4b0910]
cmp eax, ebx
je 0x40b266
cmp dword [0x4b0914], ebx
je 0x40b266
push eax
call fcn.00405d00
push dword [0x4b0914]
mov esi, eax
call fcn.00405d00
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b266
test edi, edi
je 0x40b266
call esi
test eax, eax
je 0x40b25d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b25d
test byte [ebp - 0xc], 1
jne 0x40b266
or dword [ebp + 0x10], 0x200000
jmp 0x40b29f
mov eax, dword [0x4b0908]
cmp eax, ebx
je 0x40b29f
push eax
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b29f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b29f
mov eax, dword [0x4b090c]
cmp eax, ebx
je 0x40b29f
push eax
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b29f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b0904]
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b2bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4019a0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43401d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x446018]
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 edi, ecx
test edi, edi
je 0x401b12
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401b12
mov eax, 0xc
nop dword [eax]
cmp dword [eax + 0x447ee8], edi
jne 0x401a05
cmp dword [eax + 0x447ef0], 0
jne 0x401ab5
add eax, 0xc
cmp eax, 0x4b0
jb 0x4019f0
push 0x446a88
lea ecx, [ebp - 0x28]
call fcn.00402d70
push 0xd
push 0x440488
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00403050
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x401ad6
push str.GetMsgProc2
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push ebx
push esi
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x401ad6
push esi
push str.mydockfinderhook2
push edi
call dword [sym.imp.USER32.dll_SetPropA]
mov ecx, 1
mov eax, 0xc
cmp dword [eax + 0x447ee8], 0
je 0x401ab9
cmp byte [eax + 0x447eec], 0
je 0x401ab9
add eax, 0xc
inc ecx
cmp eax, 0x4b0
jb 0x401a94
mov bl, 1
jmp 0x401ad8
mov al, 1
jmp 0x401b14
lea eax, [ecx + ecx*2]
mov bl, 1
mov dword [eax*4 + 0x447ee8], edi
mov byte [eax*4 + 0x447eec], 1
mov dword [eax*4 + 0x447ef0], esi
jmp 0x401ad8
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x401b0e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401b04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b30
push ecx
push edx
call fcn.00416977
add esp, 8
mov al, bl
jmp 0x401b14
xor al, al
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.004166e8
mov esp, ebp
pop ebp
ret
call fcn.0041b8b8
int3
Function at 0x4022a0
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4340e0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x446018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00418440
add esp, 0xc
mov dword [ebp - 0x234], 0x104
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x230]
call fcn.004044d0
push 0xb
push str.MyDock.exe
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00403050
call fcn.00402410
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4023a8
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push 0
cmovae ecx, dword [ebp - 0x230]
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push pe_nt_image_headers32
push 8
push str.Mydock
push str.MyDock
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x4023a1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x4023e4
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4023da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push ecx
push edx
call fcn.00416977
add esp, 8
mov eax, 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.004166e8
mov esp, ebp
pop ebp
ret
call fcn.0041b8b8
int3

Function at 0x402410
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x446018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x402483
push ebx
push 0x10020
push str.MyDock
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x40247b
lea eax, [ebp - 0x20]
mov dword [ebp - 8], edi
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004166e8
mov esp, ebp
pop ebp
ret
Function at 0x40b5a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
xor eax, eax
movzx ecx, word [edx]
test cx, cx
je 0x40b5d0
push esi
mov esi, ecx
nop
movzx ecx, si
lea edx, [edx + 2]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [edx]
mov esi, ecx
test cx, cx
jne 0x40b5b0
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x417287
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4172c6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4172c6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4172c6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4172c6
cmp dword [ecx + 0x74], 0xe
jbe 0x4172c6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4249f9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438abc
push 0x438ab4
push str.FlsAlloc
push 0x1e
call fcn.00424883
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424a2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x435228]
call esi
jmp 0x424a33
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x424a77
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438acc
push 0x438ac4
push str.FlsGetValue
push 0x20
call fcn.00424883
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424aae
push dword [ebp + 8]
mov ecx, esi
call dword [0x435228]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x429143
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x447ba8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x429183
cmp byte [ebx], 0xa
jne 0x429183
or byte [eax + edi + 0x28], 4
jmp 0x429188
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x429286
mov al, byte [edx]
cmp al, 0x1a
je 0x429268
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4291b7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4291dc
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4291e6
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x429199
jmp 0x429286
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429263
cmp dword [ebp - 0xc], 0
je 0x429263
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x447ba8]
test byte [eax + edi + 0x28], 0x48
je 0x42923d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x429228
mov byte [esi], dl
jmp 0x429239
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x447ba8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x429286
cmp byte [ebp - 1], 0xa
jne 0x42924c
cmp esi, ebx
jne 0x42924c
mov byte [esi], 0xa
jmp 0x429285
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004290e5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x429286
mov byte [esi], 0xd
jmp 0x429285
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x447ba8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x429282
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x429286
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42928f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x447ba8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4292d2
cmp word [esi], dx
jne 0x4292d2
or byte [edi + eax + 0x28], 4
jmp 0x4292d7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42942a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x42940a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x429319
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42934f
cmp eax, edx
jae 0x42935b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4292f1
jmp 0x42942a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429406
cmp dword [ebp - 0x14], 0
je 0x429406
mov eax, dword [ebx*4 + 0x447ba8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4293de
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4293a7
mov word [esi], cx
jmp 0x4293da
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x447ba8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x447ba8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x447ba8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42942a
pop ebx
cmp word [ebp - 4], bx
jne 0x4293ef
cmp esi, dword [ebp + 0xc]
jne 0x4293ef
mov word [esi], bx
jmp 0x429427
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004290e5
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42942a
push 0xd
jmp 0x429423
mov ecx, dword [ebx*4 + 0x447ba8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x429421
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42942a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42ce8a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42cf27
push ebx
push esi
call fcn.0042ce53
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042bc1b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42ced4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42cf26
push edi
push eax
call fcn.00425196
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42cef4
call fcn.00423f7f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42cf25
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042bc1b
add esp, 0x20
test eax, eax
jne 0x42cf13
push edi
call fcn.00423f7f
jmp 0x42cf1b
push ebx
call fcn.00423f7f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4325c5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00432541
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43273d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43273d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4326ec
jg 0x43261e
test eax, eax
je 0x4326e2
push 1
push 0x1000
call fcn.00423f22
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x432644
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4326d9
push 0x8000
push ebx
call fcn.0042253a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x432670
jg 0x43266b
cmp ecx, 0x1000
jb 0x432670
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00428aa4
add esp, 0x10
cmp eax, 0xffffffff
je 0x4326b5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43266b
jl 0x43269c
test ecx, ecx
jne 0x43265d
push dword [ebp - 0xc]
push ebx
call fcn.0042253a
push esi
call fcn.00423f7f
add esp, 0xc
xor edi, edi
jmp 0x43274e
cmp byte [edi + 0x24], 0
je 0x4326cc
cmp dword [edi + 0x20], 5
jne 0x4326cc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4326d7
mov edi, dword [edi + 0x18]
jmp 0x4326d9
xor edi, edi
push esi
call fcn.00423f7f
pop ecx
jmp 0x43274e
test ecx, ecx
jg 0x4326ae
jl 0x4326ec
test eax, eax
jae 0x4326ae
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004290e5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43270f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4326ae
jmp 0x432746
push ebx
call fcn.0042d4f0
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4326ae
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x43274e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43274b
mov edi, dword [edi + 0x18]
jmp 0x43274e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004290e5
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432d60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x432d8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x432d8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10034690
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10200c9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102044b0]
mov dword [ebp - 0x60], 0
test eax, eax
jne 0x1003477f
push 0x55
push 0x102044b8
push 0x5c
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10034768
push esi
push 0x55
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.1010ca00
add esp, 0xc
mov esi, 0x2d
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [edx*2 + 0x102044b8]
cmp eax, 0x5f
movzx ecx, al
cmove ecx, esi
mov byte [ebp + edx - 0x5c], cl
test cl, cl
je 0x10034713
inc edx
cmp edx, 0x55
jl 0x100346f0
mov byte [ebp - 8], 0
push 0x41
call fcn.1006daf0
mov esi, eax
add esp, 4
test esi, esi
je 0x10034767
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1006daf0
add esp, 0x10
cmp dword [ebp - 0x60], 0
jg 0x1003475e
push 0x10033e30
push 0x17
mov byte [eax + esi], 0
mov dword [0x102044b0], esi
mov byte [0x102044b4], 1
call fcn.1006daf0
add esp, 8
jmp 0x10034767
push esi
call fcn.1006daf0
add esp, 4
pop esi
mov eax, dword [0x102044b0]
mov ecx, 0x1016b5e8
test eax, eax
cmovne ecx, eax
mov dword [0x102044b0], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e9efb
mov esp, ebp
pop ebp
ret
Function at 0x1006daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1006daff
pop dword [ebp - 0x14]
mov eax, 0x9d5fabc9
sub eax, 0x8d58d0ca
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x88291
push 0
mov eax, 0x13c671b1
add eax, 0xfc4f5f93
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x3b73
xor ebx, ebx
add ebx, eax
mov esi, 0x5f27955b
sub esi, 0x4f06395b
add esi, dword [ebp - 0x14]
mov edi, 0x41ac17f4
sub edi, 0x1f668c94
add dword [ebp - 4], 0x29503d42
mov edx, dword [esi]
add edx, edi
xor dword [ebp - 8], esi
mov dword [ebx], edx
sub dword [ebp - 4], esi
add ebx, 4
add esi, 0x52071f
add esi, 0xffadf8e5
loop 0x1006db5a
add eax, 0x926b388f
sub eax, 0x926a57f0
xor ebx, ebx
add ebx, eax
add eax, 0x388eacf2
add eax, 0xc7715313
mov ecx, 0x9fd29f90
sub ecx, 0x8fd29f90
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x100a94f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158b43
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10200c9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], vtable.icu_69::UnicodeMatcher.0
mov esi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov dword [edi], vtable.icu_69::UnicodeSet.0
mov dword [edi + 4], vtable.icu_69::UnicodeSet.1.0
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x19
mov dword [edi + 0x10], 1
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push dword [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.1006daf0
test al, al
je 0x100a96f1
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
shl eax, 2
push eax
push dword [esi + 8]
push dword [edi + 8]
call fcn.1010cb60
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x100a9698
cmp dword [eax + 4], 0
je 0x100a9698
push 0x18
mov dword [ebp - 0x10], 0
call fcn.1006daf0
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100a95f8
lea ecx, [ebp - 0x10]
push ecx
push 1
push sym.icuuc69.dll_uhash_compareUnicodeString_69
push sym.icuuc69.dll_uprv_deleteUObject_69
mov ecx, eax
call fcn.1006daf0
mov ebx, eax
jmp 0x100a95fa
xor ebx, ebx
mov byte [ebp - 4], 0
mov dword [edi + 0x2c], ebx
test ebx, ebx
jne 0x100a960e
mov dword [ebp - 0x10], 7
jmp 0x100a9648
cmp dword [ebp - 0x10], 0
jle 0x100a962f
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1015d234]
mov ecx, ebx
call esi
mov dword [edi + 0x2c], 0
jmp 0x100a9648
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0x100aae10
push dword [esi + 0x2c]
call fcn.1006daf0
cmp dword [ebp - 0x10], 0
jle 0x100a9698
cmp dword [edi + 0x18], 0
jne 0x100a9692
cmp dword [edi + 0x30], 0
jne 0x100a9692
mov eax, dword [edi + 8]
mov dword [eax], 0x110000
mov eax, dword [edi + 0x24]
mov dword [edi + 0x10], 1
test eax, eax
je 0x100a9682
push eax
call fcn.1006daf0
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x100a968e
call sym.icuuc69.dll_public:_void___thiscall_icu_69::UVector::removeAllElements_void_
mov byte [edi + 0x14], 0
mov byte [edi + 0x14], 1
jmp 0x100a96f1
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100a96f1
mov eax, dword [edi + 0x24]
mov esi, dword [esi + 0x28]
test eax, eax
je 0x100a96c0
push eax
call fcn.1006daf0
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [esi*2 + 2]
push eax
call fcn.1006daf0
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x100a96f1
push esi
push ebx
push eax
mov dword [edi + 0x28], esi
call fcn.1006daf0
mov ecx, dword [edi + 0x28]
add esp, 0xc
mov eax, dword [edi + 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
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 8