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

Disassembly:
sub esp, 0x104
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov edi, 0x4088e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xf], 0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xc]
and ecx, 3
push 0x408888
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.DLL_fopen]
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.DLL_fclose]
add esp, 8
test eax, eax
je 0x403218
push eax
call edi
add esp, 4
lea ecx, [esp + 0xc]
push 0x4088e0
push ecx
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x403241
add ebp, 0x314
push esi
push ebp
call dword [sym.imp.MSVCRT.DLL_fputs]
push esi
call edi
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x104
ret

Function at 0x4034e0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push esi
push edi
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push edx
mov esi, eax
call edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
lea edx, [esp + 8]
lea eax, [esp + 0x28]
push edx
push eax
call edi
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x24]
call fcn.00404e2e
mov eax, edi
pop edi
pop esi
add esp, 0x18
ret
Function at 0x403560
Capabilities:
Contain obfuscated stackstrings
Create thread
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
sub esp, 0x124
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 0
lea ebx, [ebp + 0x418]
push 0
push ebx
push 0x403440
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
dec word [esp + 0x1c]
add word [esp + 0x24], 0xfff8
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x408900
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x30]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x314]
push ecx
call fcn.00403470
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
call fcn.00403350
mov ecx, ebp
call fcn.00403190
sub esp, 0x10
mov eax, esp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
push ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], esp
mov dword [eax + 8], ecx
mov ecx, esp
push ebx
mov dword [eax + 0xc], edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004034e0
xor eax, eax
add esp, 0x14
mov dword [esp + 0x11], eax
mov ecx, ebp
mov dword [esp + 0x15], eax
mov byte [esp + 0x10], 0
mov byte [esp + 0x19], al
call fcn.00402360
test eax, eax
lea edx, [esp + 0x10]
mov edi, 0x4087d8
jne 0x4036a8
mov edi, 0x4088f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 5
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, ebp
call fcn.00402d60
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x42e22c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0042e2ab
jae 0x42e238
xor ecx, ecx
call fcn.0042e2ab
jae 0x42e262
xor eax, eax
call fcn.0042e2ab
jae 0x42e273
mov al, 0x10
call fcn.0042e2ab
adc al, al
jae 0x42e254
jne 0x42e2a0
stosb byte es:[edi], al
jmp 0x42e239
call fcn.0042e2b7
dec ecx
loop 0x42e27f
mov eax, ebp
call fcn.0042e2b5
jmp 0x42e2a1
lodsb al, byte [esi]
shr eax, 1
je 0x42e2c7
adc ecx, 2
mov ebp, eax
jmp 0x42e2a1
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0042e2b5
cmp eax, 0x7d00
jae 0x42e29f
cmp eax, 0x500
jae 0x42e2a0
cmp eax, 0x7f
ja 0x42e2a1
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x42e239
pop ebp
ret 8
Function at 0x402620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44466c]
movzx ecx, word [0x44e106]
and eax, 0x47202
shl eax, 5
or eax, 0xce11ada2
xor ecx, eax
mov word [0x44e106], cx
add dword [0x43dd14], 0xef6fffee
mov eax, dword [0x43ba9c]
mov ecx, dword [ebp + 8]
sar eax, 7
and eax, 0x80049d4c
xor dword [0x440110], eax
mov edx, dword [0x443608]
inc dword [0x443608]
add edx, 0x38dc904d
cmp edx, 0xcc369ec2
jg 0x402689
add dword [0x43839c], 0x35c51076
mov edx, dword [0x437040]
mov eax, dword [ebp + 0xc]
imul edx, edx, 0x59ddbc10
mov word [0x44b9b2], dx
mov dx, word [0x44d118]
dec word [0x44d118]
movsx edx, dx
push esi
lea esi, [ecx + eax*4]
mov eax, dword [ebp + 0x10]
push edi
cmp edx, 0xe4926baa
je 0x4026dc
mov edx, dword [0x4380e4]
movzx edi, word [0x44808e]
and edx, 0x8b25ce77
or edi, edx
mov word [0x44808e], di
cmp ecx, esi
je 0x402769
push ebx
mov edi, 0x7a520019
lea ebx, [ebx]
add dword [0x437ee8], 0x640f3a52
xor dword [ecx], eax
and dword [0x438b84], 0xa8bafc36
movzx edx, word [0x449748]
or edx, 0x3331d646
mov word [0x449748], dx
movzx edx, word [0x44cbb8]
imul edx, edx, 0xb00a00e
ror eax, 4
mov dword [ebp + 8], eax
mov word [0x44cbb8], dx
movzx ebx, word [0x44a8f6]
mov dl, byte [ebp + 8]
shr eax, 8
add al, dl
and ebx, 0x79baf1e1
add dl, al
mov word [0x44a8f6], bx
add dword [0x43ecd8], edi
add ecx, 4
mov byte [ebp + 9], al
mov byte [ebp + 8], dl
mov eax, dword [ebp + 8]
cmp ecx, esi
jne 0x4026f0
pop ebx
or dword [0x439284], 0x430d9af7
pop edi
pop esi
pop ebp
ret
Function at 0x411b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4399ac]
cmp eax, 0x57fa1c79
jle 0x411b97
mov cx, word [0x4495e6]
movsx edx, cx
and edx, 0xb6b053c9
xor edx, 0xd469d7e6
cmp edx, 0xdbf03006
jg 0x411b97
xor dword [0x43b974], 0x85ee459e
mov eax, dword [0x438534]
mov ecx, dword [0x437ffc]
sar eax, 0xa
or ecx, eax
mov eax, dword [0x43cfb8]
push esi
mov esi, dword [ebp + 8]
or eax, ecx
mov dword [0x437ffc], eax
mov ecx, dword [0x438418]
push edi
mov dword [0x43ad4c], ecx
push esi
call fcn.00421cd0
xor dword [0x441dac], 0x1ea1536f
mov edi, 1
sub eax, edi
add esp, 4
mov dword [0x43ec38], 0xfab57ffa
cmp byte [eax + esi], 0x22
jne 0x411c9a
or dword [0x438688], 0x3c77fdfe
mov byte [esi], 0x22
mov dword [0x43bbd0], 0x5721f1a9
mov byte [eax + esi], 0
add word [0x448acc], di
mov dx, word [0x448acc]
movsx ecx, dx
cmp ecx, 0xba95a19a
jg 0x411c30
and dword [0x446f04], 0x898b968e
mov edx, 0xf4944dda
mov ecx, 0x6d209f9c
lea ebx, [ebx]
add dword [0x43e7bc], edx
xor dword [0x443790], ecx
sub eax, edi
cmp byte [eax + esi], 0x22
jne 0x411c40
add dword [0x436f00], edi
mov ecx, dword [0x436f00]
movzx edx, word [0x449fe2]
add ecx, 0x5d08378b
imul edx, ecx
mov word [0x449fe2], dx
mov ecx, dword [0x43c194]
mov edx, dword [0x43d2f0]
and ecx, 0xff581e24
shl ecx, 7
imul edx, ecx
mov dword [0x43d2f0], edx
jmp 0x411dab
mov ecx, dword [0x446910]
not ecx
or edx, 0xffffffff
cmp ecx, 0x71d7f600
jge 0x411cc1
mov ecx, dword [0x43eaa4]
and ecx, 0x9ed7e2e4
sub dword [0x43aa88], ecx
jmp 0x411cdf
mov ecx, dword [0x438ab4]
add dword [0x438ab4], edx
cmp ecx, 0xa48c443
jl 0x411cdf
add dword [0x441a6c], 0x3eb7f976
mov byte [esi], 0x20
movzx ecx, word [0x448a38]
sub ecx, 0x13617cfd
mov word [0x448a38], cx
push ebx
jmp 0x411d00
mov ecx, dword [0x445164]
imul ecx, ecx, 0xbae5a251
or ecx, 0x72c03c07
cmp ecx, 0xba76ffff
jle 0x411d45
mov cx, word [0x44e964]
add word [0x44e964], dx
movsx ecx, cx
cmp ecx, 0xee3e7aef
jne 0x411d45
mov ecx, dword [0x4424f0]
imul ecx, ecx, 0x89ecc0f0
mov dword [0x4424f0], ecx
mov ecx, dword [0x44694c]
mov ebx, dword [0x43b584]
sub ecx, ebx
sub eax, edi
mov dword [0x44694c], ecx
cmp byte [eax + esi], 0x20
jne 0x411d00
mov ecx, dword [0x438d68]
mov edi, dword [0x44072c]
pop ebx
cmp edi, ecx
je 0x411d8a
mov ecx, dword [0x43e3e4]
add ecx, 0x18d26cea
xor dword [0x443054], ecx
add dword [0x43e3e4], edx
mov ecx, dword [0x4437f4]
mov edx, dword [0x438a4c]
imul ecx, ecx, 0xe23bdbdd
and ecx, 0x596fabf4
imul edx, ecx
mov dword [0x438a4c], edx
mov ecx, dword [0x441dbc]
lea edx, [ecx + ecx + 0x107944e9]
pop edi
lea eax, [eax + esi + 1]
pop esi
cmp edx, 0xfffe7ff6
jne 0x411de3
mov edx, dword [0x442768]
mov ecx, dword [0x4434e0]
shl edx, 8
add edx, 0x3c5412b0
or ecx, edx
sub dword [0x4393d0], ecx
pop ebp
ret
Function at 0x4183e0
Capabilities:
Hash data with md5

Disassembly:
movzx eax, word [0x44bf0c]
xor eax, 0xd1cd52d3
mov word [0x44bf0c], ax
mov dword [ecx], 0
mov edx, dword [0x4413a8]
imul edx, edx, 0x8f04f658
cmp edx, 0xcc67f55e
jle 0x41841e
movzx eax, word [0x449210]
and eax, 0x3f3255ad
mov word [0x449210], ax
mov dword [ecx + 4], 0
mov eax, dword [0x4414bc]
movzx edx, word [0x44ebbe]
shl eax, 6
sub edx, eax
mov word [0x44ebbe], dx
mov dword [ecx + 8], 0x67452301
mov ax, word [0x44a500]
mov edx, dword [0x4382ec]
cwde
or edx, eax
mov word [0x44a500], dx
mov dword [ecx + 0xc], 0xefcdab89
mov eax, dword [0x43eb94]
or eax, 0x96c0ab07
cmp eax, 0x202184a
jge 0x418495
mov dx, word [0x44e49a]
movsx eax, dx
sar eax, 3
and eax, 0x8b318e2c
cmp eax, 0xefff3b7f
je 0x418495
mov dword [0x443064], 0x15f0d36e
mov dword [ecx + 0x10], 0x98badcfe
inc dword [0x443b28]
mov edx, dword [0x443b28]
sub edx, 0x4d54e918
cmp edx, 0x602c9f22
jl 0x41850a
dec word [0x44ec00]
mov ax, word [0x44ec00]
movsx edx, ax
mov eax, 0x53064298
sub eax, edx
mov edx, dword [0x43c09c]
xor edx, 0x103c4180
or edx, 0xaf42842f
cmp edx, eax
jge 0x4184f0
mov eax, dword [0x444290]
mov edx, dword [0x4399c0]
jmp 0x41850a
mov eax, dword [0x444424]
movzx edx, word [0x44a958]
add eax, 0xcefcb4bd
or edx, eax
mov word [0x44a958], dx
mov dword [ecx + 0x14], 0x10325476
movzx eax, word [0x447fb0]
and eax, 0xfb6065c1
mov word [0x447fb0], ax
ret

Function at 0x424070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add dword [0x4415c8], 0xe226fe6b
or dword [0x4454d0], 0x27c2942a
or dword [0x4445ec], 0x93e49b6a
or edx, 0xffffffff
add dword [0x43cf24], edx
mov eax, dword [0x43cf24]
sub esp, 0x10
cmp eax, 0x462bd0d0
jl 0x4240c7
mov ecx, dword [0x443b08]
cmp ecx, 0xd911412f
jge 0x4240c7
mov eax, dword [0x445120]
imul eax, eax, 0xe094b5bd
mov dword [0x445120], eax
movzx ecx, word [0x448144]
mov eax, dword [0x439b54]
movsx ecx, cx
or eax, ecx
movzx ecx, word [0x44d0d2]
imul ecx, eax
mov word [0x44d0d2], cx
add dword [0x439b54], edx
push esi
lea edx, [ebp - 0x10]
push edx
xor esi, esi
call dword [0x4505c0]
mov eax, dword [0x440aec]
add eax, 0x7b14b1bb
xor eax, 0x7c5a5b4e
mov dword [0x43d360], eax
movzx ecx, word [0x44ea92]
movzx eax, word [ebp - 2]
sub ecx, 0x2300074
mov word [0x44ea92], cx
lea edx, [esi + 0x15]
jmp 0x424130
xor dword [0x43bdfc], 0x1874073e
mov ecx, dword [0x43b8f4]
sar ecx, 2
imul ecx, ecx, 0x5a8c7eb
add ecx, 0x760d448e
and dword [0x445e1c], ecx
xor dword [0x43e848], 0x539cb057
add eax, eax
add esi, eax
sub edx, 1
jne 0x424130
movzx edx, word [0x44eba2]
sub edx, 0x1892dc03
mov word [0x44eba2], dx
push 0
call fcn.0040ca50
xor esi, eax
movzx eax, word [0x44a47a]
add eax, 0x76c71f21
add esp, 4
mov word [0x44a47a], ax
call dword [0x450580]
mov ecx, dword [0x437390]
and ecx, 0x757fd80e
xor esi, eax
cmp ecx, 0x463a4641
jne 0x4241c0
add dword [0x43d7d0], 0x20510a0
push esi
call fcn.004242d0
add esp, 4
or dword [0x436dbc], 0x9ff7bdb9
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and dword [0x447854], 0x566dbcfd
or edx, 0xffffffff
add word [0x44e7d2], dx
mov ax, word [0x44e7d2]
movsx ecx, ax
sub ecx, 0x1961e70c
cmp ecx, 0x15976091
jg 0x426b55
mov eax, dword [0x440dfc]
lea ecx, [eax + 0x33e8bf1]
mov eax, dword [0x44075c]
add eax, eax
add eax, eax
add eax, eax
and eax, ecx
mov ecx, dword [0x43dc70]
imul ecx, eax
mov dword [0x43dc70], ecx
mov ax, word [0x44aa88]
movzx ecx, word [0x44eb90]
cwde
xor eax, 0xa1c0179a
sub ecx, eax
push edi
mov edi, dword [ebp + 8]
mov word [0x44eb90], cx
add word [0x44aa88], dx
xor ecx, ecx
test edi, edi
jle 0x426d26
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ebx
mov edi, edi
or dword [0x43857c], 0x6a35283f
cmp dword [eax], ecx
movzx ebx, word [0x44c816]
sbb edx, edx
xor ebx, 0xdce6d47b
mov word [0x44c816], bx
sub dword [eax], ecx
mov ecx, dword [0x43d898]
imul ecx, ecx, 0xf98c8c12
mov dword [0x43d898], ecx
mov ecx, dword [eax]
neg edx
cmp ecx, dword [esi]
sbb ecx, ecx
neg ecx
add ecx, edx
mov edx, dword [0x440754]
imul edx, edx, 0x5a0dae53
mov dword [0x440754], edx
mov edx, dword [esi]
sub dword [eax], edx
add esi, 4
add eax, 4
sub edi, 1
mov dword [0x43ade0], 0x3dc0361f
jne 0x426b90
test ecx, ecx
je 0x426d17
or ebx, 0xffffffff
jmp 0x426c10
mov edx, dword [0x43c2d4]
inc dword [0x43c2d4]
and edx, 0xe6fffb57
or edx, 0x26e9f017
cmp edx, 0x1388213
jl 0x426c4a
add dword [0x444310], ebx
mov edx, dword [0x442624]
add edx, dword [0x444310]
mov dword [0x442624], edx
jmp 0x426c54
xor dword [0x44475c], 0x21a67989
cmp dword [eax], ecx
mov edx, dword [0x43d068]
sbb edi, edi
neg edi
cmp edx, 0xc484bd49
je 0x426c72
add dword [0x43cb8c], 0x2fab81c2
sub dword [eax], ecx
mov ecx, dword [0x439844]
mov edx, dword [0x43ca0c]
shl ecx, 6
sub ecx, edx
movzx edx, word [0x449b54]
add ecx, 0x993e2913
imul edx, ecx
mov word [0x449b54], dx
add word [0x44d33c], bx
mov edx, dword [0x442880]
mov si, word [0x44d33c]
shl edx, 9
movsx esi, si
sub esi, edx
mov edx, dword [0x43d484]
or edx, esi
or edx, 0x5bf0a01
mov dword [0x43d484], edx
mov edx, dword [0x4439c4]
cmp edx, 0xa5f1ddb3
mov ecx, edi
jg 0x426cee
mov edx, dword [0x43e594]
imul edx, edx, 0x48d056ce
mov dword [0x44544c], edx
mov edx, dword [0x43cd9c]
mov esi, dword [0x43c27c]
imul edx, esi
mov esi, dword [0x445110]
imul esi, edx
and dword [0x4452b8], esi
add eax, 4
test edi, edi
jne 0x426c10
add dword [0x446fec], 0xbe8ffe36
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [0x446fec], 0xbe8ffe36
pop edi
pop ebp
ret
Function at 0x40355d
Capabilities:
Terminate process

Disassembly:
jmp 0x459af4
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x459b05
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004057d6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40367f
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a1201
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a1212
pop esi
ret
push ebx
push edi
push esi
call fcn.004a10e8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403f08
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a123a
push ebx
push esi
push edi
call fcn.004055c9
add esp, 0xc
push 0
call fcn.004060f0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405687
Capabilities:
Parse pe header

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

Function at 0x4469e6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004036de
mov eax, dword [eax + 0x14]
test eax, eax
je 0x446a29
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x446a29
sub eax, 1
je 0x446a24
sub eax, 1
je 0x446a20
xor eax, eax
leave
ret
push 3
jmp 0x446a2b
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x48cec9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48cf08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48cf08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48cf08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48cf08
cmp dword [ecx + 0x74], 0xe
jbe 0x48cf08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x496e7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d5c
mov eax, dword [0x4d2040]
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.00405d1c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x496ebe
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49701a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405e66
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 + 0x4d5948]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00403206
mov ecx, dword [esi*4 + 0x4d5948]
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 0x497013
cmp eax, dword [ecx + edi + 0x24]
jne 0x497013
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 0x497013
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403206
add esp, 0x14
test edx, edx
jl 0x497013
jg 0x496f89
test eax, eax
jb 0x497013
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x497013
jl 0x496fa3
cmp dword [ebp - 0x1008], eax
ja 0x497013
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x496fc1
test ebx, ebx
je 0x496ffa
cmp ecx, edi
jae 0x496ffa
mov al, byte [ecx]
cmp al, 0xd
jne 0x496fdb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x496fe7
cmp byte [ecx + 1], 0xa
jne 0x496fe7
inc ecx
jmp 0x496fe7
movzx eax, al
movsx eax, byte [eax + 0x4d2390]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x496fc1
cmp edx, ebx
jne 0x496fc1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x497018
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402fea
leave
ret
Function at 0x497759
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4d5948]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x497799
cmp byte [ebx], 0xa
jne 0x497799
or byte [edi + eax + 0x28], 4
jmp 0x49779e
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x49789d
mov dl, byte [eax]
cmp dl, 0x1a
je 0x497880
inc eax
cmp dl, 0xd
je 0x4977ca
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4977f0
cmp eax, ecx
jae 0x4977fe
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4977b2
jmp 0x49789d
push 0
lea eax, [ebp - 0x10]
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 0x49787b
cmp dword [ebp - 0x10], 0
je 0x49787b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4d5948]
test byte [eax + edi + 0x28], 0x48
je 0x497855
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x497840
mov byte [esi], dl
jmp 0x497851
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d5948]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49789d
cmp byte [ebp - 1], 0xa
jne 0x497864
cmp esi, ebx
jne 0x497864
mov byte [esi], 0xa
jmp 0x49789c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004018fc
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49789d
mov byte [esi], 0xd
jmp 0x49789c
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4d5948]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49789a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49789d
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret