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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x433d04
call fcn.0041da13
mov esi, eax
push 0x433d14
mov dword [ebp - 4], esi
call fcn.0041da13
mov edi, eax
mov eax, esi
add esp, 8
mov dword [ebp - 8], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c30
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c40
sub eax, esi
lea eax, [eax + edx + 0x80]
push ebx
push eax
call fcn.0041ceb7
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 4
mov esi, eax
mov edi, 0x43869c
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
push ecx
push edx
push 0x4335d4
push esi
call fcn.0041d6a1
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x404c90
add edi, 4
cmp edi, 0x4386d0
jl 0x404c67
jmp 0x404c97
mov byte [0x43956b], 1
mov edi, 0x438768
lea esp, [esp]
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
push eax
push ecx
push 0x4335d4
push esi
call fcn.0041d6a1
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x404cd7
add edi, 4
cmp edi, 0x438774
jl 0x404ca0
pop ebx
push esi
call fcn.0041d848
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.0041d848
add esp, 4
push 0
call fcn.0041ee71
int3
Function at 0x405610
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00401630
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x405653
push edi
call fcn.0041eed9
add esp, 4
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call fcn.00401d20
add esp, 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405658
sub eax, edx
add eax, 8
push eax
call fcn.0041ceb7
add esp, 4
push edi
mov esi, eax
push 0x433aac
push esi
mov dword [ebp - 0x138], esi
call fcn.0041d6a1
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.0041e722
add esp, 8
mov dword [ebp - 0x134], eax
test eax, eax
je 0x405783
cmp eax, 0xffffffff
je 0x405783
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4056b6
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x10c]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4056d0
sub eax, esi
lea ecx, [eax + edx + 8]
push ecx
call fcn.0041ceb7
add esp, 4
lea edx, [ebp - 0x10c]
push edx
push edi
mov esi, eax
push 0x4335d4
push esi
call fcn.0041d6a1
lea eax, [ebp - 0x10c]
push 0x433aa4
push eax
call fcn.0041e620
add esp, 0x18
test eax, eax
je 0x40571c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x405747
lea ecx, [ebp - 0x10c]
push 0x433a9c
push ecx
call fcn.0041e620
add esp, 8
test eax, eax
je 0x405747
push 5
push 0
push 0x43360e
push esi
push 0x4339a8
push 0
call ebx
push esi
call fcn.0041d848
mov eax, dword [ebp - 0x134]
add esp, 4
lea edx, [ebp - 0x130]
push edx
push eax
call fcn.0041e849
add esp, 8
test eax, eax
je 0x4056b1
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0041e977
mov esi, dword [ebp - 0x138]
add esp, 4
push esi
call fcn.0041d848
add esp, 4
push edi
call fcn.0041d848
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cec2
mov esp, ebp
pop ebp
ret
Function at 0x406d20
Capabilities:
Capture microphone audio

Disassembly:
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406d25
push esi
sub eax, edx
add eax, 0x20
push edi
push eax
call fcn.0041ceb7
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 4
push 0
push 0
push 0
push 0x433f28
mov edi, eax
call esi
push 0
push 0
push 0
push 0x433f54
call esi
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x433f60
call esi
push ebx
push 0x433f6c
push edi
call fcn.0041d6a1
add esp, 0xc
push 0
push 0
push 0
push edi
call esi
push 0
push 0
push 0
push 0x433f78
call esi
push edi
call fcn.0041d848
add esp, 4
pop edi
pop esi
ret
Function at 0x407670
Capabilities:
Check if file exists
Check internet connectivity via wininet
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407873
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407693
sub eax, edx
push eax
call fcn.0041ceb7
mov esi, eax
mov eax, ebx
add esp, 4
mov dword [esp + 0x14], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4076b0
sub eax, ecx
push eax
call fcn.0041ceb7
add esp, 4
push eax
push esi
push 0
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.0041f103
add esp, 0x14
call fcn.00401b00
cmp byte [0x439568], 0
mov dword [esp + 0x1c], eax
jne 0x4076f3
call fcn.00401040
mov byte [0x439568], 1
mov eax, dword [0x439598]
mov eax, dword [eax + 0xa4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407701
sub eax, edx
mov edi, eax
cmp byte [0x439569], cl
jne 0x407741
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [esp + 0x18], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov byte [0x439569], 1
mov eax, dword [0x43953c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407750
sub eax, edx
mov edx, eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407760
sub eax, esi
add eax, edx
lea edx, [eax + edi + 0x80]
push edx
call fcn.0041ceb7
add esp, 4
cmp byte [0x439569], 0
mov esi, eax
jne 0x4077b3
push 0x100
call fcn.0041ceb7
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [0x43953c], eax
mov dword [esp + 0x18], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov byte [0x439569], 1
cmp byte [0x439568], 0
mov edi, dword [0x43953c]
jne 0x4077ce
call fcn.00401040
mov byte [0x439568], 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x439598]
push edx
mov edx, dword [ecx + 0xa4]
push eax
push edi
push edx
push 0x433fcc
push esi
call fcn.0041d6a1
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
lea ebx, [ebx]
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40782f
mov edx, dword [esp + 0x1c]
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.00402300
add esp, 8
test eax, eax
jne 0x407843
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x407843
push 0x7530
call edi
jmp 0x407800
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041d848
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.0041d848
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call fcn.0041d848
add esp, 4
push esi
call fcn.0041d848
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cec2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436064]
jne 0x41cecc
repz ret
jmp fcn.0041f35c

Function at 0x428fdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004224d2
and dword [ebp - 0x14], 0
cmp dword [0x43945c], 0
mov dword [ebp - 0x18], eax
jne 0x42908e
push 0x431a48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429136
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x431a3c
push ebx
call edi
test eax, eax
je 0x429136
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x431a2c
push ebx
mov dword [0x43945c], eax
call edi
push eax
call esi
push 0x431a18
push ebx
mov dword [0x439460], eax
call edi
push eax
call esi
push 0x4319fc
push ebx
mov dword [0x439464], eax
call edi
push eax
call esi
mov dword [0x43946c], eax
test eax, eax
je 0x42908e
push 0x4319e4
push ebx
call edi
push eax
call esi
mov dword [0x439468], eax
mov eax, dword [0x439468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4290e7
cmp dword [0x43946c], ecx
je 0x4290e7
push eax
call esi
push dword [0x43946c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4290e7
test ebx, ebx
je 0x4290e7
call edi
test eax, eax
je 0x4290de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4290de
test byte [ebp - 8], 1
jne 0x4290e7
or dword [ebp + 0x10], 0x200000
jmp 0x42911a
mov eax, dword [0x439460]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42911a
mov eax, dword [0x439464]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43945c]
call esi
test eax, eax
je 0x429136
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x429138
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cec2
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64963344
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xf0e2cce
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x445ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x445ca0
lcall 0x5de5, 0x8b10c483
jmp loc.0096d278
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x7ffe5470
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
call 0x7ffe547b
pop edx
xor dx, dx
add edx, 0xd5e0
xor ecx, ecx
mov cl, 0x1e
xor byte [ecx + edx], 0x59
loop 0x7ffe5489
push dword fs:[0x24]
pop dword [edx + 0xa]
cld
mov cl, 0xff
push eax
pop eax
push edx
loop 0x7ffe549e
not eax
not eax
mov dword [edx + 0x11], 0xffffacbb
mov ecx, dword [eax + 0x2c]
inc esi
dec esi
mov dword [edx + 0x1b], ecx
add al, 0
cld
mov dword [edx + 0x100], ecx
add al, 0
mov dword [eax + 0x2c], esp
and al, 0xff
push es
pop ds
push 0
inc esi
dec esi
push 0
nop
push 0
nop
push 0
push es
pop ds
push 0x30
add al, 0
push eax
pop eax
push 0x20
push 0
add al, 0
inc esi
dec esi
push 0
inc esi
dec esi
add edx, 0xffff7f33
cld
add al, 0
push edx
push eax
pop eax
push edx
push eax
pop eax
push 0
call dword [edx + 0x8210]
push bx
inc esp
inc esp
add esp, 0x3f8
stc
xor eax, eax
clc
inc eax
clc
ret 0xc
Function at 0x40a56e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40a58f
jl 0x40a586
test edi, edi
jne 0x40a58f
xor eax, eax
xor edx, edx
jmp 0x40a650
cmp dword [ebx + 0x38], 0
je 0x40a5a4
push eax
push edi
push dword [ebp + 8]
call fcn.0040a656
jmp 0x40a650
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a5eb
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a5eb
cmp eax, edi
jb 0x40a5c5
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00423ae0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40a5f1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40a645
mov ecx, ebx
call fcn.00409dbd
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40a630
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00429cce
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40a645
jmp 0x40a603
test edx, edx
je 0x40a645
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00429cce
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x413cab
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x413cce
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x413cbc
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x421f02
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.0042ea3e
mov eax, dword [eax + 0x14]
test eax, eax
je 0x421f45
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 0x421f45
sub eax, 1
je 0x421f40
sub eax, 1
je 0x421f3c
xor eax, eax
leave
ret
push 3
jmp 0x421f47
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4232b9
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44be88
push 0x44be80
push str.FlsAlloc
push 0x1f
call fcn.0043711e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4372e7
push dword [ebp + 8]
mov ecx, esi
call dword [0x447150]
call esi
jmp 0x4372ed
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x437331
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44be98
push 0x44be90
push str.FlsGetValue
push 0x21
call fcn.0043711e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x437368
push dword [ebp + 8]
mov ecx, esi
call dword [0x447150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x437370
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44bea0
push 0x44be98
push str.FlsSetValue
push 0x22
call fcn.0043711e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4373aa
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x447150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x438988
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00423420
mov eax, dword [0x455040]
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.0043579a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4389ca
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x438b26
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00444aa0
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 + 0x457478]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00439b5e
mov ecx, dword [esi*4 + 0x457478]
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 0x438b1f
cmp eax, dword [ecx + edi + 0x24]
jne 0x438b1f
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 0x438b1f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00439b5e
add esp, 0x14
test edx, edx
jl 0x438b1f
jg 0x438a95
test eax, eax
jb 0x438b1f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x438b1f
jl 0x438aaf
cmp dword [ebp - 0x1008], eax
ja 0x438b1f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x438acd
test ebx, ebx
je 0x438b06
cmp ecx, edi
jae 0x438b06
mov al, byte [ecx]
cmp al, 0xd
jne 0x438ae7
lea eax, [edi - 1]
cmp ecx, eax
jae 0x438af3
cmp byte [ecx + 1], 0xa
jne 0x438af3
inc ecx
jmp 0x438af3
movzx eax, al
movsx eax, byte [eax + 0x455300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x438acd
cmp edx, ebx
jne 0x438acd
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x438b24
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00422493
leave
ret
Function at 0x438ff6
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 + 0x457478]
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 0x439036
cmp byte [ebx], 0xa
jne 0x439036
or byte [edi + eax + 0x28], 4
jmp 0x43903b
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 0x43913a
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43911d
inc eax
cmp dl, 0xd
je 0x439067
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x43908d
cmp eax, ecx
jae 0x43909b
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 0x43904f
jmp 0x43913a
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 0x439118
cmp dword [ebp - 0x10], 0
je 0x439118
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x457478]
test byte [eax + edi + 0x28], 0x48
je 0x4390f2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4390dd
mov byte [esi], dl
jmp 0x4390ee
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x457478]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43913a
cmp byte [ebp - 1], 0xa
jne 0x439101
cmp esi, ebx
jne 0x439101
mov byte [esi], 0xa
jmp 0x439139
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00439b7c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43913a
mov byte [esi], 0xd
jmp 0x439139
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x457478]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x439137
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43913a
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret