joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aab0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
cmp dword [ebp + 0xc], 0
je 0x42abeb
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00402380
nop
lea ecx, [ebp - 0x3c]
call fcn.00401d00
nop
mov dword [ebp - 4], 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406760
call fcn.00428ba0
add esp, 0x28
cmp dword [ebp - 0x2c], 0
jne 0x42ab2d
mov dword [ebp - 0x14], 1
jmp 0x42ab34
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x42abdb
push 0
lea ecx, [ebp - 0x3c]
call fcn.00401910
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
lea ecx, [ebp - 0x3c]
call fcn.00401910
test eax, eax
je 0x42ab88
lea ecx, [ebp - 0x3c]
call fcn.00401910
movzx edx, word [eax]
test edx, edx
je 0x42ab88
lea ecx, [ebp - 0x3c]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42abdb
push 0
lea ecx, [ebp - 0x3c]
call fcn.00401910
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
nop
lea ecx, [ebp - 0x3c]
call fcn.00401910
test eax, eax
je 0x42abca
lea ecx, [ebp - 0x3c]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x42abca
lea ecx, [ebp - 0x3c]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42abdb
lea ecx, [ebp - 0x3c]
call fcn.00401910
push eax
call fcn.00427a90
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401940
nop
cmp dword [ebp + 0x10], 0
je 0x42abfa
mov dword [ebp - 0x18], 1
jmp 0x42ac01
mov dword [ebp - 0x18], 4
push 0
push 0x80
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42ac40
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [ebp + 0xc], 0
je 0x42ad7d
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.00402380
nop
lea ecx, [ebp - 0x44]
call fcn.00401d00
nop
mov dword [ebp - 4], 1
push 0
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406760
call fcn.00428ba0
add esp, 0x28
cmp dword [ebp - 0x34], 0
jne 0x42acbd
mov dword [ebp - 0x14], 1
jmp 0x42acc4
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x42ad6d
push 0
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x44]
call fcn.00401910
test eax, eax
je 0x42ad1a
lea ecx, [ebp - 0x44]
call fcn.00401910
movzx edx, word [eax]
test edx, edx
je 0x42ad1a
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ad6d
push 0
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
nop
lea ecx, [ebp - 0x44]
call fcn.00401910
test eax, eax
je 0x42ad5c
lea ecx, [ebp - 0x44]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x42ad5c
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ad6d
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
call fcn.00427a90
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401940
nop
cmp dword [ebp + 0x10], 0
je 0x42ad8c
mov dword [ebp - 0x1c], 1
jmp 0x42ada8
cmp dword [ebp + 0x14], 0
je 0x42ad9b
mov dword [ebp - 0x18], 2
jmp 0x42ada2
mov dword [ebp - 0x18], 4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push 0
push 0x80
mov edx, dword [ebp - 0x1c]
push edx
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42aef0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.00401910
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42af29
mov ecx, dword [ebp + 8]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x42af29
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42af2d
xor eax, eax
jmp 0x42af98
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x42af6d
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x42af6b
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x42af98
jmp 0x42af93
mov ecx, dword [ebp - 4]
and ecx, 1
jne 0x42af93
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x42af98
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42b040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov ecx, dword [ebp + 8]
call fcn.00401910
test eax, eax
je 0x42b1a1
mov ecx, dword [ebp + 8]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x42b1a1
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b1a1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00402380
nop
lea ecx, [ebp - 0x38]
call fcn.00403160
nop
mov dword [ebp - 4], 2
lea edx, [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
call fcn.00402380
nop
lea ecx, [ebp - 0x50]
call fcn.00403160
nop
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0042a400
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00404b40
lea ecx, [ebp - 0x68]
call fcn.00401b10
nop
cmp dword [ebp - 0x28], 0
jne 0x42b113
mov dword [ebp - 0x14], 1
jmp 0x42b11a
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x42b184
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.0042afa0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x42b14b
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406030
nop
cmp dword [ebp + 0x10], 0
je 0x42b15e
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00406030
nop
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00401b10
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401b10
nop
mov al, byte [ebp - 0xe]
jmp 0x42b1a3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00401b10
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401b10
nop
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42b880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
cmp dword [ebp + 8], 0
je 0x42b8bc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x42b8bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b8c3
xor eax, eax
jmp 0x42b996
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0042a400
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x42b8e9
mov dword [ebp - 0x14], 1
jmp 0x42b8f0
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x42b97c
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x42b916
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.0042afa0
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.00453280
mov byte [ebp - 4], 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xb0]
call fcn.00455a50
movzx eax, al
cmp eax, 1
jne 0x42b94b
mov dword [ebp - 0x18], 1
jmp 0x42b952
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.0040dd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401b10
nop
mov eax, dword [ebp - 0x1c]
jmp 0x42b996
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401b10
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42c120
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459bed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00429390
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x42c16c
mov dword [ebp - 0x14], 1
jmp 0x42c173
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42c191
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
lea ecx, [ebp - 0x38]
call fcn.00401bb0
nop
jmp 0x42c19d
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
je 0x42c1b5
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov edx, dword [ebp + 0xc]
and edx, 2
je 0x42c1ce
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
call fcn.0042c260
add esp, 4
mov eax, dword [ebp + 0xc]
and eax, 4
je 0x42c1ec
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042be40
nop
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401940
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c3d0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0xa0000000
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42c406
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x42cf30
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x42d085
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42d085
xor ecx, ecx
je 0x42cfb5
push 0
push 0x10000
push 0x42d170
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x42cfb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46334c
push str._s:WinHttpSetStatusCallback___failed:_d
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042d4e0
add esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0x1f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x42cff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4633c8
push str._s:WinHttpQueryOption___failed:_d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042d4e0
add esp, 0x10
mov edx, dword [ebp - 4]
or edx, 0x100
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
or eax, 0x2000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
or ecx, 0x1000
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x3300
mov dword [ebp - 4], edx
push 4
lea eax, [ebp - 4]
push eax
push 0x1f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x42d05a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenRequest
push str._s:WinHttpSetOption___failed:_d
mov edx, dword [ebp - 0xc]
push edx
call fcn.0042d4e0
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x42d085
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x42d085
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0042c3d0
mov ecx, dword [ebp + 0x14]
add ecx, 4
mov dword [ebp + 0x14], ecx
jmp 0x42d060
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x20
Function at 0x42d090
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42d0b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x42d101
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46307c
push str._s:WinHttpOpen___failed:_d
mov eax, dword [ebp - 4]
push eax
call fcn.0042d4e0
add esp, 0x10
jmp 0x42d14a
mov dword [ebp - 8], 0x2a0
mov ecx, dword [ebp - 8]
or ecx, 0x800
mov dword [ebp - 8], ecx
push 4
lea edx, [ebp - 8]
push edx
push 0x54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x42d14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenSession
push 0x463110
mov edx, dword [ebp - 4]
push edx
call fcn.0042d4e0
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42d15c
mov dword [ebp - 0xc], 1
jmp 0x42d163
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42d400
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x42d4d0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42d4d0
cmp dword [ebp - 0x10], 0
je 0x42d4bb
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x42d473
mov dword [ebp - 0x14], 1
jmp 0x42d47a
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x42d496
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42d4d0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x444df0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x466c80
push 0x466c78
push str.FlsAlloc
push 0x1f
call fcn.00444cd7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444e24
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c320]
call esi
jmp 0x444e2a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x444e6e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x466c90
push 0x466c88
push str.FlsGetValue
push 0x21
call fcn.00444cd7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444ea5
push dword [ebp + 8]
mov ecx, esi
call dword [0x45c320]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x444ead
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x466c98
push 0x466c90
push str.FlsSetValue
push 0x22
call fcn.00444cd7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x444ee7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45c320]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x446ec7
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x477140]
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 0x446f12
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00447062
test al, al
jne 0x446f0c
sub edx, 2
cmp edx, edi
jne 0x446ef2
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x446f34
lea eax, [edi + 2]
cmp edx, eax
je 0x446f34
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00446e13
add esp, 0x10
jmp 0x44702e
push esi
lea ecx, [ebp - 0x255]
call fcn.00447062
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 0x446f77
push dword [ebp - 0x25c]
jmp 0x446f24
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 0x446fb4
cmp word [ebp - 0x226], 0
je 0x446fd5
cmp word [ebp - 0x226], ax
jne 0x446fb4
cmp word [ebp - 0x224], 0
je 0x446fd5
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00446e13
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x447021
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x446f8e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x447009
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44702e
push 0x446c43
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0044e060
add esp, 0x10
jmp 0x446ffe
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.00425278
leave
ret

Function at 0x449de2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00441f16
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 0x449e51
cmp esi, dword [ebp - 4]
je 0x449e4c
cmp dword [ebp + 0xc], 0
je 0x449e4c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x449e29
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00449934
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x449e53
xor eax, eax
inc eax
jmp 0x449e53
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x449eb8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x477140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00441f16
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00441f16
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x449f2f
cmp word [ecx], dx
je 0x449f2f
mov eax, dword [0x46b1fc]
push edi
dec eax
push eax
push 0x46b0e8
call fcn.00449e57
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x449fa2
cmp word [eax], dx
je 0x449fa2
mov eax, dword [edi]
test eax, eax
je 0x449f53
cmp word [eax], dx
je 0x449f53
lea eax, [ebp - 0x10]
push eax
call fcn.0044983a
jmp 0x449f5c
lea eax, [ebp - 0x10]
push eax
call fcn.004498d5
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x449fcc
mov eax, dword [0x46b0e4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x46add8
call fcn.00449e57
add esp, 0xc
test al, al
je 0x449fcc
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x449f97
cmp word [eax], di
je 0x449f97
lea eax, [ebp - 0x10]
push eax
call fcn.0044983a
pop ecx
jmp 0x449fce
lea eax, [ebp - 0x10]
push eax
call fcn.004498d5
jmp 0x449f94
mov eax, dword [edi]
test eax, eax
je 0x449fb9
cmp word [eax], dx
je 0x449fb9
lea eax, [ebp - 0x10]
push eax
call fcn.004497ef
pop ecx
jmp 0x449fcc
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x44a097
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00449cdc
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44a097
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44a097
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44a097
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44a024
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00444fed
test ebx, ebx
je 0x44a092
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00444fed
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44a097
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44a097
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0044e6cd
add esp, 0x10
xor eax, eax
inc eax
jmp 0x44a099
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425278
leave
ret