joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10069bc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10069bd1
pop dword [ebp - 0x44]
mov eax, 0x10069bd1
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x35770
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x5d3a0d45
sub ecx, 0x5d39cc41
mov ebx, eax
mov edx, 0x10082e00
add edx, dword [ebp - 0x44]
mov edi, 0xf89ce8ee
add edi, 0xbdffe9c
mov dword [ebp - 0x18], 0x5f01fa83
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
mov dword [ebp - 0x20], 0x92549212
add ebx, 4
add edx, 4
loop 0x10069c20
add eax, 0xf6e3
mov ebx, eax
add eax, 0xe42502a5
add eax, 0x1bdafd60
mov ecx, sym.mozglue.dll_Ordinal_0
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x415f63
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b84
push 0x433b7c
push str.FlsGetValue
push 2
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x415f94
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415f9a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x415f9d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x433b8c
push 0x433b84
push str.FlsSetValue
push 3
call fcn.00415e68
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x415fd1
mov ecx, esi
call fcn.00411065
call esi
jmp 0x415fd7
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x40127b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x40131c
mov edx, edi
call fcn.004011e2
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040267d
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
jmp 0x40135a
or bl, 1
idiv ebx
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.004011e2
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40338d
push eax
sub edi, fcn.00402b27
push edi
push fcn.00402b27
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x4012be
mov eax, fcn.00402b27
mov ebx, esi
jmp 0x4012a6
sub ebp, 0x82
mov esi, eax
mov ebx, dword [0x404050]
cdq
jmp 0x4012cf
call fcn.00401fff
lea eax, [esi + 0x1c000]
lea ebx, [ebp - 2]
test esi, esi
je 0x40136e
add eax, eax
dec esi
and esi, 0x404054
mov edx, eax
mov eax, esi
call fcn.00402b27
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x10002b2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x20
pop ebp
jmp fcn.100016da

Function at 0x10006590
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [section..data]
cmp esi, 0xffffffff
jne 0x100065b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov esi, eax
mov dword [section..data], eax
cmp eax, 0xffffffff
je 0x100065f6
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push eax
call fcn.1002edbf
add esp, 4
mov ebx, dword [sym.imp.kernel32.dll_TlsSetValue]
push 0
push esi
call ebx
push 0x14
call fcn.1002edbf
add esp, 4
mov edi, eax
push eax
push esi
call ebx
movaps xmm0, xmmword [0x10040c10]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x100065de

Function at 0x100065fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call fcn.10005b20
sub esp, 0x10
mov esi, dword [section..data]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call fcn.1002edbf
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_TlsSetValue]
add esp, 8
pop esi
pop ebp
ret

Function at 0x100066a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [section..data]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100066b7
pop ebp
ret
pop ebp
jmp fcn.10006590

Function at 0x10008df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008e1f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x10008e01
pop esi
pop edi
pop ebp
ret 8

Function at 0x10008f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008f61
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x10008f41
pop esi
pop edi
pop ebp
ret 8
Function at 0x1002edbf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1002edce
pop dword [ebp - 0x50]
mov eax, 0x870c266e
add eax, 0x88f6c760
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2e8d5c11
add dword [ebp - 0x60], 0x1fc4e93a
mov dword [ebp - 0x5c], 0x15b95b97
sub dword [ebp - 0x5c], 0xe3860f52
mov dword [ebp - 0x58], 0x794d9c59
sub dword [ebp - 0x58], 0x2d01582b
mov dword [ebp - 0x54], 0x96a30cad
add dword [ebp - 0x54], 0x695cf353
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x118af5ca
add dword [ebp - 0x60], 0x62e7738c
mov dword [ebp - 0x5c], 0x3814aef9
add dword [ebp - 0x5c], 0x957b27c
mov dword [ebp - 0x58], 0x50d1c4e1
add dword [ebp - 0x58], 0x129da78b
mov dword [ebp - 0x54], 0x7a77b80f
add dword [ebp - 0x54], 0x858847f1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x44aeb
push 0
call eax
mov ecx, 0x3833aaf0
add ecx, 0xc7ccb0c6
xor edi, edi
add edi, eax
mov ebx, 0x1005b400
add ebx, dword [ebp - 0x50]
mov esi, 0x5960cec3
add esi, 0x7740bf58
sub dword [ebp - 0x44], 0xe8747307
mov edx, dword [ebx]
sub dword [ebp - 0x3c], 0xb7d66020
add edx, esi
sub dword [ebp - 0x4c], edi
mov dword [edi], edx
xor dword [ebp - 0x10], 0x928ef29e
add edi, 0x56f0122d
sub edi, 0x56f01229
add ebx, 0x6b61f945
add ebx, 0x949e06bf
loop 0x1002eee2
add eax, 0x161ab
xor ebx, ebx
add ebx, eax
add eax, 0x666afbd5
sub eax, 0x666afbd0
mov ecx, 0x438a1660
add ecx, 0xcc75e9a0
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x408ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x408ecf
pop dword [ebp - 0x3c]
mov eax, 0x408ecf
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xc8a91fd5
sub dword [ebp - 0x4c], 0x7a56da8a
mov dword [ebp - 0x48], 0x67efddc2
add dword [ebp - 0x48], 0xca436e83
mov dword [ebp - 0x44], 0x57fb08de
sub dword [ebp - 0x44], 0xbaec4b0
mov dword [ebp - 0x40], 0x10491ffd
add dword [ebp - 0x40], 0xefb6e003
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x51243dd1
add eax, 0xaf1cf2cf
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xfbe054b4
add dword [ebp - 0x4c], 0x789214a2
mov dword [ebp - 0x48], 0x3219de04
sub dword [ebp - 0x48], 0xf0ad7c8f
mov dword [ebp - 0x44], 0x5222e4b6
sub dword [ebp - 0x44], 0xeeb3784a
mov dword [ebp - 0x40], 0xf90b4c7c
sub dword [ebp - 0x40], 0xf90b4c7c
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x766541ae
add eax, 0x89dbee8e
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38d83
push 0
call eax
mov ecx, 0x6667050c
sub ecx, 0x6666c698
mov edi, eax
mov ebx, 0x6e3a01de
sub ebx, 0x6df851de
add ebx, dword [ebp - 0x3c]
mov esi, 0xdbf7608f
add esi, 0x77707338
sub dword [ebp - 0x14], 0x75c7d078
mov edx, dword [ebx]
xor dword [ebp - 0x20], edi
xor edx, esi
add dword [ebp - 0x20], ebx
mov dword [edi], edx
sub dword [ebp - 0x34], edx
add edi, 0x52c10720
sub edi, 0x52c1071c
add ebx, 0xd52a6874
add ebx, 0x2ad59790
loop 0x408fec
add eax, 0x83d160df
sub eax, 0x83d0743c
mov ebx, eax
add eax, 5
mov ecx, 0xcc8e386a
add ecx, 0x33b1c796
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x4014e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401537
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401537
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401526
cmp esi, edx
jae 0x401537
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401514
cmp esi, edx
jae 0x401537
movzx eax, word [esi]
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x401970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4488cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0040c261
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x4019fb
push eax
push esi
call fcn.0040fcf9
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0040c409
int3
Function at 0x402da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448a55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebx], vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov dword [ebp - 4], 0
call fcn.0040fbfc
add esp, 4
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0xf
mov byte [ebx + 0x10], al
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 7
mov word [ebx + 0x28], ax
mov byte [ebp - 4], 3
push 0x34
mov word [ebx + 0x48], ax
mov byte [ebx + 0x4a], al
call fcn.00423c76
mov esi, eax
mov dword [ebp - 0x10], esi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00401b90
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov byte [ebp - 4], 3
push dword [ebx + 0xc]
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 4], esi
call fcn.0040fd5e
mov edi, eax
add esp, 4
mov eax, dword [0x45db4c]
test eax, eax
jne 0x402e9b
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c261
cmp dword [0x45db4c], 0
jne 0x402e8e
mov eax, dword [0x45db40]
inc eax
mov dword [0x45db40], eax
mov dword [0x45db4c], eax
lea ecx, [ebp - 0x10]
call fcn.0040c2b9
mov eax, dword [0x45db4c]
push eax
push esi
push edi
call fcn.0040e289
add esp, 0xc
mov dword [edi + 0x10], 0
cmp dword [edi + 0x18], 0x455594
je 0x402eff
cmp dword [edi + 0x18], 0
je 0x402ec7
push dword [edi + 0x18]
call fcn.00428e14
add esp, 4
mov dword [edi + 0x18], 0
mov esi, 0x455594
inc esi
cmp byte [esi], 0
jne 0x402ed3
sub esi, 0x455594
inc esi
push esi
call fcn.00428e2f
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x402eff
push esi
push 0x455594
push eax
call fcn.00425370
add esp, 0xc
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
je 0x402f21
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x402f17
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebx + 0xc], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x402f34
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword [ebx + 0x4c], 0
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4063b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov edi, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4064e5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0x1000
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edx, dword [ebp - 0x10]
test edx, edx
js 0x4064db
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x40643d
push edx
mov ecx, esi
call fcn.00403d80
lea eax, [ebp - 0x10]
push eax
push dword [esi]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esi]
test eax, eax
jne 0x40645f
xor ecx, ecx
jmp 0x406471
push dword [eax - 8]
push eax
call fcn.00428f5c
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4064db
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4064db
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4064ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4064c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004013f0
push 0x80004005
call fcn.004013f0
int3
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44911d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.RXdrJOWAADGGVvSWUE
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.RXdrJOWAADGGVvSWUE
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.TGdZISWkQ0KhVp7ECo
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.TGdZISWkQ0KhVp7ECo
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x423424
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004328c5
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x423463
sub eax, 1
je 0x42345e
sub eax, 1
je 0x42345a
xor eax, eax
leave
ret
push 3
jmp 0x423465
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4246fa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x424739
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424739
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424739
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x424739
cmp dword [ecx + 0x74], 0xe
jbe 0x424739
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x43b5bb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ff10
push 0x44ff08
push str.FlsAlloc
push 0x1f
call fcn.0043b426
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43b5ef
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b21c]
call esi
jmp 0x43b5f5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43b639
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ff20
push 0x44ff18
push str.FlsGetValue
push 0x21
call fcn.0043b426
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43b670
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b21c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43b678
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ff28
push 0x44ff20
push str.FlsSetValue
push 0x22
call fcn.0043b426
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43b6b2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44b21c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x43c38d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00424b50
mov eax, dword [0x45c068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00438ada
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x43c3cf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43c52b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00448410
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x45e528]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0043d18e
mov ecx, dword [esi*4 + 0x45e528]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x43c524
cmp eax, dword [ecx + edi + 0x24]
jne 0x43c524
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43c524
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043d18e
add esp, 0x14
test edx, edx
jl 0x43c524
jg 0x43c49a
test eax, eax
jb 0x43c524
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43c524
jl 0x43c4b4
cmp dword [ebp - 0x1008], eax
ja 0x43c524
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x43c4d2
test ebx, ebx
je 0x43c50b
cmp ecx, edi
jae 0x43c50b
mov al, byte [ecx]
cmp al, 0xd
jne 0x43c4ec
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43c4f8
cmp byte [ecx + 1], 0xa
jne 0x43c4f8
inc ecx
jmp 0x43c4f8
movzx eax, al
movsx eax, byte [eax + 0x45c2e8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x43c4d2
cmp edx, ebx
jne 0x43c4d2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43c529
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00424178
leave
ret