joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403287
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or edi, 0x1865d
call 0x40318f
add byte [ecx + 0x3b], cl
dec edi
inc edi
inc eax
inc esp
inc ecx
dec edx
inc eax
add esp, 4
sub edi, 0x17748
pop edi
mov dword [ebp - 0x108], 1
push ecx
push edi
add esp, 4
or ecx, 0xcec4
and ecx, 0x2547
pop ecx
push ecx
sub ecx, 0xdc46
sub ecx, 0x11fc9
or ecx, 0x35d5
pop ecx
push edi
push eax
add esp, 4
add edi, 0xb773
pop edi
imul eax, dword [ebp - 0x108], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x108], 0xfe
sub eax, ecx
xor eax, 0x153c
imul eax, dword [ebp - 0x108]
imul edx, dword [ebp - 0x108], 0xfe
sub eax, edx
mov dword [ebp - 0x10c], eax
push edi
push ebx
add esp, 4
add edi, 0xfbf0
add edi, 0x12f4
or edi, 0x16866
and edi, 0x1285e
pop edi
push esi
add esi, 0x12959
or esi, 0x15439
add esi, 0x504e
pop esi
push esi
xor esi, 0x16d9f
jmp 0x40324d
pop esi
push eax
push ecx
add esp, 4
xor eax, 0xb2de
or eax, 0xa4b2
sub eax, 0x11aa9
pop eax
push ecx
push edi
add esp, 4
and ecx, 0x15260
pop ecx
mov dword [ebp - 0x24], 1
push esi
call 0x403287
add byte [ecx + 0x48], al
inc ecx
dec esp
inc ebx
inc ecx
xor eax, dword [ebx + 0x525e04c4]
push ecx
add esp, 4
and edx, 0xb559
sub edx, 0xe1e7
sub edx, 0xda77
pop edx
push ebx
or ebx, 0x7239
pop ebx
imul eax, dword [ebp - 0x24], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x24], 0xfe
sub eax, ecx
xor eax, 0
imul eax, dword [ebp - 0x24]
imul edx, dword [ebp - 0x24], 0xfe
sub eax, edx
mov dword [ebp - 0x28], eax
jmp 0x40348c
mov edx, dword [ebp - 0x1088]
mov eax, dword [ebp - 0x1084]
mov dword [ebp - 0x165c], edx
mov dword [ebp - 0x1658], eax
push eax
push edx
add esp, 4
xor eax, 0x16771
pop eax
push ebx
push edi
add esp, 4
sub ebx, 0x266f
or ebx, 0xdad1
pop ebx
push ecx
sub ecx, 0x38c8
jmp 0x406d91
and ecx, 0x233d
and ecx, 0x5c73
pop ecx
push ebx
sub ebx, 0x84cc
or ebx, 0x198c
add ebx, 0x9396
jmp 0x4034ef
pop ebx
push ecx
push ecx
add esp, 4
xor ecx, 0xcdd1
pop ecx
push eax
push edi
add esp, 4
xor eax, 0x726d
pop eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xfe
imul edx, dword [ebp - 0x24], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x24], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1e6c], ecx

Function at 0x403533
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
push edi
add esp, 4
sub eax, 0xe14c
xor eax, 0x1675c
call 0x403550
add byte [ebx + 0x4b], cl
cmp esi, dword [0xc4834836]
add al, 0x58
push esi
push esi
add esp, 4
jmp 0x40355e
or esi, 0xce92
pop esi
mov ecx, dword [ebp - 0x165c]
add ecx, 0xfe
imul edx, dword [ebp - 0x1658], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x1658], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x1658]
mov dword [ebp - 0x1e68], ecx
mov ecx, dword [ebp - 0x1e68]
mov dword [ebp - 0x1e70], ecx
Function at 0x403550
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
push edi
add esp, 4
sub eax, 0xe14c
xor eax, 0x1675c
call 0x403550
add byte [ebx + 0x4b], cl
cmp esi, dword [0xc4834836]
add al, 0x58
push esi
push esi
add esp, 4
jmp 0x40355e
or esi, 0xce92
pop esi
mov ecx, dword [ebp - 0x165c]
add ecx, 0xfe
imul edx, dword [ebp - 0x1658], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x1658], 0xfe
sub edx, eax
xor ecx, edx
imul ecx, dword [ebp - 0x1658]
mov dword [ebp - 0x1e68], ecx
mov ecx, dword [ebp - 0x1e68]
mov dword [ebp - 0x1e70], ecx
Function at 0x407ca7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x407cb8
add byte [ebx + ecx*2 + 0x34], cl
dec esp
dec edx
dec ecx
cmp eax, 0x4c48347
pop esi
push eax
push ecx
add esp, 4
add eax, 0x6e67
pop eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0xcb4]
je 0x407cf4
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x30], 0
jne 0x407aaa
mov dword [ebp - 0x2f8], 0

Function at 0x407cb8
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x407cb8
add byte [ebx + ecx*2 + 0x34], cl
dec esp
dec edx
dec ecx
cmp eax, 0x4c48347
pop esi
push eax
push ecx
add esp, 4
add eax, 0x6e67
pop eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0xcb4]
je 0x407cf4
mov ecx, dword [ebp - 0x458]
cmp dword [ecx + 0x30], 0
jne 0x407aaa
mov dword [ebp - 0x2f8], 0
Function at 0x407fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
add esp, 4
or ecx, 0x710e
sub ecx, 0x15095
pop ecx
push eax
add eax, 0x73de
and eax, 0xb9fb
add eax, 0x116e1
pop eax
push edx
push ebx
add esp, 4
xor edx, 0x152b4
pop edx
lea edx, [ebp - 0x17ac]
mov dword [ebp - 0xcbc], edx
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcb8], ecx
xor edx, edx
mov word [ebp - 0x1c0], dx
xor eax, eax
mov word [ebp - 0x2c], ax
push ebx
push edx
add esp, 4
or ebx, 0x11d49
sub ebx, 0xb77d
add ebx, 0xbb50
pop ebx
push esi
call fcn.00407fc0
add byte [edx], bh
inc esp
dec ecx
push eax
inc ecx
cmp dword [edi], esi
inc edi
dec esi
add esp, 4
sub esi, 0x11300
pop esi
mov ecx, dword [ebp - 0xcb8]
mov dx, word [ecx]
mov word [ebp - 0x104a], dx
mov eax, dword [ebp - 0xcb8]
add eax, 2
mov dword [ebp - 0xcb8], eax
mov cx, word [ebp - 0x104a]
mov word [ebp - 0x1c0], cx
mov edx, dword [ebp - 0xcbc]
mov ax, word [edx]
mov word [ebp - 0x104c], ax
mov ecx, dword [ebp - 0xcbc]
add ecx, 2
mov dword [ebp - 0xcbc], ecx
mov dx, word [ebp - 0x104c]
mov word [ebp - 0x2c], dx
push edx
add edx, 0x70dc
xor edx, 0x11b08
and edx, 0x7e72
pop edx
push edi
push ecx
add esp, 4
xor edi, 0x1238f
or edi, 0xc98d
or edi, 0x15a0a
or edi, 0x6c91
pop edi
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x408070
movzx ecx, word [ebp - 0x1c0]
movzx edx, word [ebp - 0x2c]
sub ecx, edx
mov dword [ebp - 0x160c], ecx
jmp 0x4080ca
movzx eax, word [ebp - 0x1c0]
movzx ecx, word [ebp - 0x2c]
cmp eax, ecx
je 0x407f98
movzx edx, word [ebp - 0x1c0]
xor edx, 0x20
movzx eax, word [ebp - 0x2c]
cmp edx, eax
je 0x407f98
movzx ecx, word [ebp - 0x1c0]
movzx edx, word [ebp - 0x2c]
cmp ecx, edx
jge 0x4080b4
mov dword [ebp - 0x1608], 0xffffffff
jmp 0x4080be
mov dword [ebp - 0x1608], 1
mov eax, dword [ebp - 0x1608]
mov dword [ebp - 0x160c], eax
cmp dword [ebp - 0x160c], 0
jne 0x408113
push eax
jmp 0x4080da
jmp 0x4080e1
pop eax
push ecx
push ecx
add esp, 4
add ecx, 0x10050
add ecx, 0x13a5e
call 0x408101
add byte [ebx + eax*2], bh
inc ecx
cmp byte [esi], bh
inc ebx
dec edi
aas
add esp, 4
pop ecx
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x760], ecx
jmp 0x40817b
push edi
push esi
add esp, 4
add edi, 0x12915
or edi, 0x15edb
xor edi, 0x21f9
or edi, 0x14910
pop edi
push edi
add edi, 0xb04b
pop edi
push ebx
push esi
add esp, 4
or ebx, 0x11d90
pop ebx
mov edx, dword [ebp - 0x454]
mov eax, dword [edx]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
cmp ecx, dword [ebp - 0xcc0]
je 0x408171
mov edx, dword [ebp - 0x454]
cmp dword [edx + 0x30], 0
jne 0x407f3c
mov dword [ebp - 0x760], 0
Function at 0x408101
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
add esp, 4
or ecx, 0x710e
sub ecx, 0x15095
pop ecx
push eax
add eax, 0x73de
and eax, 0xb9fb
add eax, 0x116e1
pop eax
push edx
push ebx
add esp, 4
xor edx, 0x152b4
pop edx
lea edx, [ebp - 0x17ac]
mov dword [ebp - 0xcbc], edx
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xcb8], ecx
xor edx, edx
mov word [ebp - 0x1c0], dx
xor eax, eax
mov word [ebp - 0x2c], ax
push ebx
push edx
add esp, 4
or ebx, 0x11d49
sub ebx, 0xb77d
add ebx, 0xbb50
pop ebx
push esi
call fcn.00407fc0
add byte [edx], bh
inc esp
dec ecx
push eax
inc ecx
cmp dword [edi], esi
inc edi
dec esi
add esp, 4
sub esi, 0x11300
pop esi
mov ecx, dword [ebp - 0xcb8]
mov dx, word [ecx]
mov word [ebp - 0x104a], dx
mov eax, dword [ebp - 0xcb8]
add eax, 2
mov dword [ebp - 0xcb8], eax
mov cx, word [ebp - 0x104a]
mov word [ebp - 0x1c0], cx
mov edx, dword [ebp - 0xcbc]
mov ax, word [edx]
mov word [ebp - 0x104c], ax
mov ecx, dword [ebp - 0xcbc]
add ecx, 2
mov dword [ebp - 0xcbc], ecx
mov dx, word [ebp - 0x104c]
mov word [ebp - 0x2c], dx
push edx
add edx, 0x70dc
xor edx, 0x11b08
and edx, 0x7e72
pop edx
push edi
push ecx
add esp, 4
xor edi, 0x1238f
or edi, 0xc98d
or edi, 0x15a0a
or edi, 0x6c91
pop edi
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x408070
movzx ecx, word [ebp - 0x1c0]
movzx edx, word [ebp - 0x2c]
sub ecx, edx
mov dword [ebp - 0x160c], ecx
jmp 0x4080ca
movzx eax, word [ebp - 0x1c0]
movzx ecx, word [ebp - 0x2c]
cmp eax, ecx
je 0x407f98
movzx edx, word [ebp - 0x1c0]
xor edx, 0x20
movzx eax, word [ebp - 0x2c]
cmp edx, eax
je 0x407f98
movzx ecx, word [ebp - 0x1c0]
movzx edx, word [ebp - 0x2c]
cmp ecx, edx
jge 0x4080b4
mov dword [ebp - 0x1608], 0xffffffff
jmp 0x4080be
mov dword [ebp - 0x1608], 1
mov eax, dword [ebp - 0x1608]
mov dword [ebp - 0x160c], eax
cmp dword [ebp - 0x160c], 0
jne 0x408113
push eax
jmp 0x4080da
jmp 0x4080e1
pop eax
push ecx
push ecx
add esp, 4
add ecx, 0x10050
add ecx, 0x13a5e
call 0x408101
add byte [ebx + eax*2], bh
inc ecx
cmp byte [esi], bh
inc ebx
dec edi
aas
add esp, 4
pop ecx
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x760], ecx
jmp 0x40817b
push edi
push esi
add esp, 4
add edi, 0x12915
or edi, 0x15edb
xor edi, 0x21f9
or edi, 0x14910
pop edi
push edi
add edi, 0xb04b
pop edi
push ebx
push esi
add esp, 4
or ebx, 0x11d90
pop ebx
mov edx, dword [ebp - 0x454]
mov eax, dword [edx]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp - 0x454]
cmp ecx, dword [ebp - 0xcc0]
je 0x408171
mov edx, dword [ebp - 0x454]
cmp dword [edx + 0x30], 0
jne 0x407f3c
mov dword [ebp - 0x760], 0
Function at 0x408274
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1614], edx
jne 0x408290
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x410], eax
jmp 0x408559
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1614]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1618], ecx
cmp dword [ebp - 0x1618], 0
jne 0x4082c2
invalid
xchg ebp, eax
nop
clc
Function at 0x40961e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or eax, 0xeaee
jmp 0x40962d
jmp 0x409635
pop eax
push ecx
jmp 0x40963c
pop ecx
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x784], edx
jmp 0x4096b3
Function at 0x4098be
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec dword [ebx - 0x39b73]
inc dword [ebx]
or al, 0x90
Function at 0x40a8c4
Capabilities:
Encode data using xor

Disassembly:
aaa
add dword [ecx], eax
pop edx
push ebx
xor bl, 0xe7
dec ecx
add dword [ecx], eax
and bl, 0x7b
mov ch, 1
add dword [edx + 0x1e25ef3], eax
add dword [ebx - 0x46], ebx
inc ebx
add dword [ecx], eax
add dword [edi - 0x76], esp
invalid

Function at 0x42df71
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x467818
call fcn.0042e7c0
push 1
call fcn.0042e25c
pop ecx
test al, al
je 0x42df5b
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0042e22a
mov byte [ebp - 0x24], al
mov eax, dword [0x46adb4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42df5b
test eax, eax
jne 0x42de7f
mov dword [0x46adb4], ecx
push 0x44a434
push 0x44a418
call fcn.00433f93
pop ecx
pop ecx
test eax, eax
je 0x42de62
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42df4b
push 0x44a414
push 0x44a3e4
call fcn.00433f37
pop ecx
pop ecx
mov dword [0x46adb4], 2
jmp 0x42de84
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0042e3ce
pop ecx
call fcn.0042e568
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x42deb5
push esi
call fcn.0042e33a
pop ecx
test al, al
je 0x42deb5
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x44a3e0]
call esi
call fcn.0042e56e
mov esi, eax
cmp dword [esi], edi
je 0x42ded3
push esi
call fcn.0042e33a
pop ecx
test al, al
je 0x42ded3
push dword [esi]
call fcn.00434236
pop ecx
call fcn.0042e68e
movzx eax, ax
push eax
call fcn.00433ef1
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0042e6c4
test al, al
je 0x42df62
test bl, bl
jne 0x42df01
call fcn.00434211
push edi
push 1
call fcn.0042e3eb
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x42df4b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0042e574
push esi
call fcn.0043426e
push dword [ebp - 0x20]
call fcn.00434220
int3
call fcn.0042e4b0
jmp 0x42ddf5
Function at 0x439ad6
Capabilities:
Parse pe header

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

Function at 0x43adb9
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 0x43adda
jl 0x43add1
test edi, edi
jne 0x43adda
xor eax, eax
xor edx, edx
jmp 0x43ae9b
cmp dword [ebx + 0x38], 0
je 0x43adef
push eax
push edi
push dword [ebp + 8]
call fcn.0043aea1
jmp 0x43ae9b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43ae36
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x43ae36
cmp eax, edi
jb 0x43ae10
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0043be00
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 0x43ae3c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x43ae90
mov ecx, ebx
call fcn.0043a613
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x43ae7b
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00444ebf
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 0x43ae90
jmp 0x43ae4e
test edx, edx
je 0x43ae90
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00444ebf
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 0x447a9c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45df00
push 0x45def8
push str.FlsAlloc
push 0x1f
call fcn.00447907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447ad0
push dword [ebp + 8]
mov ecx, esi
call dword [0x458164]
call esi
jmp 0x447ad6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x447b1a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45df10
push 0x45df08
push str.FlsGetValue
push 0x21
call fcn.00447907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447b51
push dword [ebp + 8]
mov ecx, esi
call dword [0x458164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x447b59
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45df18
push 0x45df10
push str.FlsSetValue
push 0x22
call fcn.00447907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x447b93
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x458164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44b8cd
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 0x44b96a
push ebx
push esi
call fcn.0044b896
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.0044b82a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44b917
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b969
push edi
push eax
call fcn.00448f5b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44b937
call fcn.00448e08
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44b968
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044b82a
add esp, 0x20
test eax, eax
jne 0x44b956
push edi
call fcn.00448e08
jmp 0x44b95e
push ebx
call fcn.00448e08
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 0x44e5be
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00448130
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 0x44e62d
cmp esi, dword [ebp - 4]
je 0x44e628
cmp dword [ebp + 0xc], 0
je 0x44e628
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44e605
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044e110
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44e62f
xor eax, eax
inc eax
jmp 0x44e62f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44e694
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4642c0]
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.00448130
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.00448130
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 0x44e70b
cmp word [ecx], dx
je 0x44e70b
mov eax, dword [0x45eaa4]
push edi
dec eax
push eax
push 0x45e990
call fcn.0044e633
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x44e77e
cmp word [eax], dx
je 0x44e77e
mov eax, dword [edi]
test eax, eax
je 0x44e72f
cmp word [eax], dx
je 0x44e72f
lea eax, [ebp - 0x10]
push eax
call fcn.0044e016
jmp 0x44e738
lea eax, [ebp - 0x10]
push eax
call fcn.0044e0b1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x44e7a8
mov eax, dword [0x45e98c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x45e680
call fcn.0044e633
add esp, 0xc
test al, al
je 0x44e7a8
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x44e773
cmp word [eax], di
je 0x44e773
lea eax, [ebp - 0x10]
push eax
call fcn.0044e016
pop ecx
jmp 0x44e7aa
lea eax, [ebp - 0x10]
push eax
call fcn.0044e0b1
jmp 0x44e770
mov eax, dword [edi]
test eax, eax
je 0x44e795
cmp word [eax], dx
je 0x44e795
lea eax, [ebp - 0x10]
push eax
call fcn.0044dfcb
pop ecx
jmp 0x44e7a8
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 0x44e873
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044e4b8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44e873
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44e873
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44e873
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44e800
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00447c99
test ebx, ebx
je 0x44e86e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00447c99
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44e873
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 0x44e873
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0045467a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x44e875
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438f60
leave
ret
Function at 0x450225
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00438f70
mov eax, dword [0x4642c0]
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.00449d9f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x450267
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4503c3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00456730
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 + 0x465a58]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00451222
mov ecx, dword [esi*4 + 0x465a58]
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 0x4503bc
cmp eax, dword [ecx + edi + 0x24]
jne 0x4503bc
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 0x4503bc
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00451222
add esp, 0x14
test edx, edx
jl 0x4503bc
jg 0x450332
test eax, eax
jb 0x4503bc
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4503bc
jl 0x45034c
cmp dword [ebp - 0x1008], eax
ja 0x4503bc
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x45036a
test ebx, ebx
je 0x4503a3
cmp ecx, edi
jae 0x4503a3
mov al, byte [ecx]
cmp al, 0xd
jne 0x450384
lea eax, [edi - 1]
cmp ecx, eax
jae 0x450390
cmp byte [ecx + 1], 0xa
jne 0x450390
inc ecx
jmp 0x450390
movzx eax, al
movsx eax, byte [eax + 0x464ab8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x45036a
cmp edx, ebx
jne 0x45036a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4503c1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00438f60
leave
ret