joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f8d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x24], 0xc5
mov dword [ebp - 0x28], 0x298
mov dword [ebp - 0x1c], 0x7c
mov dword [ebp - 0x2c], 0x351
mov dword [ebp - 0x30], 0x1e0
mov dword [ebp - 0x34], 0x3ac
mov dword [ebp - 0x10], 0x7b
mov dword [ebp - 0x38], 0x2fd
mov dword [ebp - 4], 0x298
mov dword [ebp - 0x3c], 0x63
mov dword [ebp - 0x40], 0xa9
mov dword [ebp - 0x14], 0x18b
mov dword [ebp - 0x44], 0x2de
mov dword [ebp - 0x48], 0x1b6
mov dword [ebp - 0x4c], 0x1a7
mov dword [ebp - 8], 0x397
mov dword [ebp - 0x50], 0x52
mov dword [ebp - 0x54], 0x58
mov dword [ebp - 0x18], 0x21
mov dword [ebp - 0x20], 0x27d
mov dword [ebp - 0x58], 0x2df
mov dword [ebp - 0x5c], 0x1ad
mov dword [ebp - 0xc], 0
jmp 0x40f982
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x1882b
cmp dword [ebp - 0xc], ecx
jge 0x40f9b2
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x40f9aa
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x40f979
mov edx, dword [ebp - 4]
sub edx, 0x9c
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x294
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x6d
push ecx
mov edx, dword [ebp - 4]
sub edx, 0x20e
push edx
mov eax, dword [ebp - 8]
sub eax, 0x94
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1b9
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x242
push edx
mov eax, dword [ebp - 0x14]
sub eax, 0x67
push eax
call fcn.0041c9b0
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x410a50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 0x44], 0x335
mov dword [ebp - 0x14], 0x1ba
mov dword [ebp - 0x48], 0xef
mov dword [ebp - 0x4c], 0x280
mov dword [ebp - 0x10], 0xd2
mov dword [ebp - 0x30], 0x262
mov dword [ebp - 0x3c], 0x328
mov dword [ebp - 0x50], 0x277
mov dword [ebp - 0x54], 0x158
mov dword [ebp - 8], 0x2f
mov dword [ebp - 0x38], 0x3c8
mov dword [ebp - 0x58], 0x2ac
mov dword [ebp - 0x5c], 0x6f
mov dword [ebp - 0x60], 0x3a
mov dword [ebp - 0x64], 0xaf
mov dword [ebp - 0x40], 0x397
mov dword [ebp - 0x68], 0x165
mov dword [ebp - 0xc], 0x1e0
mov dword [ebp - 0x6c], 0x227
mov dword [ebp - 0x70], 0x22f
mov dword [ebp - 0x2c], 0x42
mov dword [ebp - 0x34], 0x291
mov dword [ebp - 4], 0
jmp 0x410b02
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x1892f
cmp dword [ebp - 4], ecx
jge 0x410b7e
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x10]
jge 0x410b21
mov dword [ebp - 0x18], 1
jmp 0x410b28
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jge 0x410b3d
mov dword [ebp - 0x1c], 1
jmp 0x410b44
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x14]
jge 0x410b58
mov dword [ebp - 0x20], 1
jmp 0x410b5f
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x20]
je 0x410b73
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x410af9
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x40]
jge 0x410b92
mov dword [ebp - 0x24], 1
jmp 0x410b99
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x44]
jge 0x410bb3
mov dword [ebp - 0x28], 1
jmp 0x410bba
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
and ecx, dword [ebp - 0x28]
je 0x410bcb
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov esp, ebp
pop ebp
ret
Function at 0x413b70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x40], 0x1dd
mov dword [ebp - 0x1c], 0x3bd
mov dword [ebp - 0x24], 0x3c1
mov dword [ebp - 0x54], 0x1fb
mov dword [ebp - 0x58], 0x147
mov dword [ebp - 0x50], 0x63
mov dword [ebp - 0x28], 0x2de
mov dword [ebp - 0x34], 0xd0
mov dword [ebp - 0x5c], 0x34c
mov dword [ebp - 0x60], 0x206
mov dword [ebp - 0x44], 0x27b
mov dword [ebp - 0x20], 0x245
mov dword [ebp - 0xc], 0x30c
mov dword [ebp - 0x64], 0x255
mov dword [ebp - 0x3c], 0x197
mov dword [ebp - 0x30], 0x376
mov dword [ebp - 0x38], 0x27f
mov dword [ebp - 0x68], 0x13e
mov dword [ebp - 0x6c], 0x241
mov dword [ebp - 0x4c], 0xfa
mov dword [ebp - 0x70], 0x170
mov dword [ebp - 0x2c], 0x235
mov dword [ebp - 0x48], 0x72
mov dword [ebp - 0x74], 0x149
mov eax, dword [ebp + 0x18]
add eax, 0x1fe
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x1bd
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x272
push edx
mov eax, dword [ebp - 0x2c]
sub eax, 0x8b
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x28a
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x11c
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x14d
push eax
call fcn.00420c30
add esp, 0x1c
mov dword [ebp - 4], 0
jmp 0x413c7b
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 0x196
cmp dword [ebp - 4], edx
jge 0x413c94
mov eax, dword [ebp + 0x14]
add eax, 1
mov dword [ebp + 0x14], eax
jmp 0x413c72
mov dword [ebp - 8], 0
jmp 0x413ca6
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x40]
sub edx, 0x1887d
cmp dword [ebp - 8], edx
jge 0x413d08
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x413cce
mov dword [ebp - 0x14], 1
jmp 0x413cd5
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0xc]
jge 0x413ce6
mov dword [ebp - 0x18], 1
jmp 0x413ced
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x18]
je 0x413d06
mov eax, dword [ebp - 0x4c]
and eax, dword [ebp - 0x50]
je 0x413d06
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x413c9d
mov dword [ebp - 0x10], 0
jmp 0x413d1a
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
sub eax, 0x188e5
cmp dword [ebp - 0x10], eax
jge 0x413d38
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x413d11
mov esp, ebp
pop ebp
ret
Function at 0x415fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x34], 0x30c
mov dword [ebp - 0x38], 0x34a
mov dword [ebp - 0x3c], 0x1c9
mov dword [ebp - 0x40], 0x364
mov dword [ebp - 0x28], 0x375
mov dword [ebp - 8], 0x345
mov dword [ebp - 0x24], 0x1fd
mov dword [ebp - 0x44], 0x2ee
mov dword [ebp - 0x18], 0x72
mov dword [ebp - 0x20], 0x369
mov dword [ebp - 0x48], 0x197
mov dword [ebp - 0xc], 0x2e4
mov dword [ebp - 0x4c], 0x286
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x50], 0x24a
mov dword [ebp - 0x54], 0x13a
mov dword [ebp - 0x58], 0xcd
mov dword [ebp - 0x5c], 0x1aa
mov dword [ebp - 0x60], 0xec
mov dword [ebp - 0x64], 0x91
mov dword [ebp - 0x68], 0x16e
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x10], 0x28d
mov dword [ebp - 4], 0
jmp 0x416089
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x18a09
cmp dword [ebp - 4], ecx
jge 0x4160f1
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x28]
jge 0x4160ef
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x4160c5
mov dword [ebp - 0x14], 1
jmp 0x4160cc
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x14]
je 0x4160e9
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x416080
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0xc]
jge 0x41610b
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov esp, ebp
pop ebp
ret
Function at 0x41d610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x5c], 0x168
mov dword [ebp - 0x38], 0xbe
mov dword [ebp - 0x24], 0x224
mov dword [ebp - 0x34], 0x31d
mov dword [ebp - 0x4c], 0x1e1
mov dword [ebp - 0x60], 0x220
mov dword [ebp - 0x3c], 0x38b
mov dword [ebp - 0x64], 0x1f
mov dword [ebp - 0x44], 0x83
mov dword [ebp - 0x68], 0x242
mov dword [ebp - 0x6c], 0x34b
mov dword [ebp - 0x58], 0x383
mov dword [ebp - 0x40], 0x340
mov dword [ebp - 0x48], 0x322
mov dword [ebp - 0x70], 0x2b5
mov dword [ebp - 0xc], 0x19a
mov dword [ebp - 0x74], 0x32f
mov dword [ebp - 0x14], 0x25e
mov dword [ebp - 0x50], 0x8e
mov dword [ebp - 0x18], 0x380
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x78], 0x26
mov dword [ebp - 0x7c], pe_nt_image_headers32
mov dword [ebp - 0x54], 0x14b
mov dword [ebp - 4], 0
jmp 0x41d6d0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x31c
cmp dword [ebp - 4], ecx
jge 0x41d721
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x38]
jge 0x41d6ef
mov dword [ebp - 0x1c], 1
jmp 0x41d6f6
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
jge 0x41d707
mov dword [ebp - 0x20], 1
jmp 0x41d70e
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0x20]
je 0x41d71f
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x41d6c7
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jge 0x41d732
mov dword [ebp - 0x28], 1
jmp 0x41d739
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x48]
jge 0x41d74a
mov dword [ebp - 0x2c], 1
jmp 0x41d751
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x2c]
je 0x41d765
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
jmp 0x41d777
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x4c]
sub edx, 0x18881
cmp dword [ebp - 8], edx
jge 0x41d79e
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xc]
je 0x41d79c
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41d76e
mov dword [ebp - 0x10], 0
jmp 0x41d7b0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x54]
sub eax, 0x187eb
cmp dword [ebp - 0x10], eax
jge 0x41d7da
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x58]
jge 0x41d7d8
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x41d7a7
mov esp, ebp
pop ebp
ret
Function at 0x41e970
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x38], 0x137
mov dword [ebp - 0x3c], 0x2c5
mov dword [ebp - 0x34], 0x3cd
mov dword [ebp - 0x18], 0x1f7
mov dword [ebp - 0x40], 0x2e2
mov dword [ebp - 0x20], 0x1fd
mov dword [ebp - 4], 0x153
mov dword [ebp - 0x44], 0x35c
mov dword [ebp - 0x48], 0x92
mov dword [ebp - 0x4c], 0x99
mov dword [ebp - 0x50], 0x14a
mov dword [ebp - 0xc], 0x21e
mov dword [ebp - 0x54], 0x71
mov dword [ebp - 0x30], 0x302
mov dword [ebp - 0x58], 0x153
mov dword [ebp - 0x5c], 0x205
mov dword [ebp - 0x2c], 0x20d
mov dword [ebp - 0x60], 0x12d
mov dword [ebp - 0x64], 0x3e1
mov dword [ebp - 0x68], 0xb
mov dword [ebp - 0x24], 0xf6
mov dword [ebp - 0x6c], 0x34e
mov dword [ebp - 0x70], 0x384
mov dword [ebp - 0x74], 0x304
mov dword [ebp - 0x28], 0x167
mov dword [ebp - 8], 0
jmp 0x41ea37
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x20]
sub ecx, 0x1895a
cmp dword [ebp - 8], ecx
jge 0x41ea87
mov edx, dword [ebp + 0x18]
imul edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x18]
jge 0x41ea5a
mov dword [ebp - 0x1c], 1
jmp 0x41ea61
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 0xc]
or eax, ecx
je 0x41ea85
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x41ea2e
mov eax, dword [ebp - 4]
add eax, 0x2f
push eax
call fcn.00407100
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x41eaa8
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
sub edx, 0x187f3
cmp dword [ebp - 0x10], edx
jge 0x41eac7
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
jmp 0x41ea9f
mov ecx, dword [ebp - 0x2c]
add ecx, 0x135
push ecx
mov edx, dword [ebp + 0x1c]
sub edx, 0x52
push edx
mov eax, dword [ebp - 4]
add eax, 0x168
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x1ac
push ecx
mov edx, dword [ebp + 0x10]
sub edx, 0xce
push edx
mov eax, dword [ebp - 4]
sub eax, 0x5e
push eax
mov ecx, dword [ebp + 0x18]
add ecx, 0x273
push ecx
call fcn.0041d4f0
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x41eb20
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x18a6d
cmp dword [ebp - 0x14], eax
jge 0x41eb3e
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x41eb17
mov esp, ebp
pop ebp
ret
Function at 0x4227c0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 8], 0x101
mov dword [ebp - 0x3c], 0xb2
mov dword [ebp - 0x40], 0x180
mov dword [ebp - 0x44], 0x26e
mov dword [ebp - 0x24], 0x3b4
mov dword [ebp - 0x48], 0x35c
mov dword [ebp - 0xc], 0x1f0
mov dword [ebp - 0x4c], 0x5f
mov dword [ebp - 0x50], 0xcf
mov dword [ebp - 0x54], 0x116
mov dword [ebp - 0x20], 0x3d4
mov dword [ebp - 4], 0x2a4
mov dword [ebp - 0x58], 0x39f
mov dword [ebp - 0x5c], 0x2ae
mov dword [ebp - 0x60], 0x2f3
mov dword [ebp - 0x38], 0x3e3
mov dword [ebp - 0x64], 0x35a
mov dword [ebp - 0x68], 0xff
mov dword [ebp - 0x30], 0x254
mov dword [ebp - 0x34], 0x30b
mov dword [ebp - 0x6c], 0x20b
mov dword [ebp - 0x28], 0x271
mov dword [ebp - 0x70], 0x2d0
mov dword [ebp - 0x74], 0xb0
mov dword [ebp - 0x2c], 0x236
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jge 0x422892
mov dword [ebp - 0x14], 1
jmp 0x422899
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x24]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jge 0x4228ad
mov dword [ebp - 0x18], 1
jmp 0x4228b4
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jge 0x4228c5
mov dword [ebp - 0x1c], 1
jmp 0x4228cc
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
je 0x4228e0
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 0x161
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x11c
push ecx
mov edx, dword [ebp + 8]
add edx, 0x1b2
push edx
mov eax, dword [ebp - 0x34]
sub eax, 0x2a7
push eax
mov ecx, dword [ebp + 8]
sub ecx, 0x29
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x62
push edx
mov eax, dword [ebp - 0x38]
sub eax, 0xb8
push eax
mov ecx, dword [ebp - 4]
sub ecx, 0xe1
push ecx
call fcn.0041ed20
add esp, 0x20
mov edx, dword [ebp - 0x20]
sub edx, 0x15e
push edx
mov eax, dword [ebp - 0x24]
sub eax, 1
push eax
call fcn.0041e580
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x42295a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 0x18a68
cmp dword [ebp - 0x10], edx
jge 0x422979
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
jmp 0x422951
mov ecx, dword [ebp + 0x10]
sub ecx, 0x110
push ecx
call fcn.0041a260
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x46ffb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x14], 0x11f
mov dword [ebp - 8], 0x1fb
mov dword [ebp - 4], 0x289
mov dword [ebp - 0x64], 0x166
mov dword [ebp - 0x30], 0x308
mov dword [ebp - 0x40], 0x226
mov dword [ebp - 0x68], 0x28
mov dword [ebp - 0x4c], 0x51
mov dword [ebp - 0x58], 0x53
mov dword [ebp - 0x6c], 0x1aa
mov dword [ebp - 0x48], 0xa6
mov dword [ebp - 0x70], 0xa7
mov dword [ebp - 0x34], 0x310
mov dword [ebp - 0x60], 0x36e
mov dword [ebp - 0x3c], 0xfa
mov dword [ebp - 0x20], 0x1fd
mov dword [ebp - 0x74], 0xc7
mov dword [ebp - 0x44], 0x1b6
mov dword [ebp - 0x54], 0x352
mov dword [ebp - 0x78], 0x2b
mov dword [ebp - 0x7c], 0x246
mov dword [ebp - 0x50], 0x20b
mov dword [ebp - 0x80], 0x134
mov dword [ebp - 0x2c], 0xf8
mov eax, dword [0x512e28]
add eax, 1
mov dword [0x512e28], eax
mov ecx, dword [0x512e28]
imul ecx, dword [0x512e20]
test ecx, ecx
je 0x4700d4
mov edx, dword [0x512e0c]
cmp edx, dword [ebp - 0x30]
jge 0x470093
mov dword [ebp - 0x24], 1
jmp 0x47009a
mov dword [ebp - 0x24], 0
mov eax, dword [0x512e28]
cmp eax, dword [0x512e2c]
jge 0x4700b0
mov dword [ebp - 0x28], 1
jmp 0x4700b7
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
and ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x40]
imul edx, dword [0x512e40]
or ecx, edx
je 0x4700d4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4700e6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
sub edx, 0xf7
cmp dword [ebp - 0xc], edx
jge 0x470103
mov eax, dword [0x512e18]
sub eax, 1
mov dword [0x512e18], eax
jmp 0x4700dd
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x482c3d
Capabilities:
Parse pe header

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

Function at 0x48f304
Capabilities:
Parse pe header

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

Function at 0x4aef89
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aee5d
Function at 0x4afa84
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x518f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4afacf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004aff24
test al, al
jne 0x4afac9
sub edx, 2
cmp edx, edi
jne 0x4afaaf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4afaf1
lea eax, [edi + 2]
cmp edx, eax
je 0x4afaf1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004af74b
add esp, 0x10
jmp 0x4afbeb
push esi
lea ecx, [ebp - 0x255]
call fcn.004aff24
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4afb34
push dword [ebp - 0x25c]
jmp 0x4afae1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4afb71
cmp word [ebp - 0x226], 0
je 0x4afb92
cmp word [ebp - 0x226], ax
jne 0x4afb71
cmp word [ebp - 0x224], 0
je 0x4afb92
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004af74b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4afbde
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4afb4b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4afbc6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4afbeb
push 0x4af19b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004bad00
add esp, 0x10
jmp 0x4afbbb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004831b9
leave
ret
Function at 0x4b146b
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 0x4b1508
push ebx
push esi
call fcn.004b1427
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.004b1364
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4b14b5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4b1507
push edi
push eax
call fcn.004b3c6e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4b14d5
call fcn.004af149
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4b1506
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004b1364
add esp, 0x20
test eax, eax
jne 0x4b14f4
push edi
call fcn.004af149
jmp 0x4b14fc
push ebx
call fcn.004af149
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 0x4b150b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4b151c
pop esi
ret
push ebx
push edi
push esi
call fcn.004b1427
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004b3c6e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4b1544
push ebx
push esi
push edi
call fcn.0048bd70
add esp, 0xc
push 0
call fcn.004af149
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4b1e33
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b17b9

Function at 0x4b5f86
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004ae4a3
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4b5ff5
cmp esi, dword [ebp - 4]
je 0x4b5ff0
cmp dword [ebp + 0xc], 0
je 0x4b5ff0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4b5fcd
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004b5ad8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4b5ff7
xor eax, eax
inc eax
jmp 0x4b5ff7
xor eax, eax
pop edi
pop esi
leave
ret