joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b487
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, esi
call fcn.00433461
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
push eax
call dword [0x4a44e4]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esi + 0x98]
call sym.SH7zInstaller.exe__bbv__ooQ5_Z14FsGnw.FGaB.BV___07PcT4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43bf92
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + 4]
cmp dword [ebp + 8], eax
jne 0x43bfda
push 0x4b7384
push dword [eax + 4]
call dword [0x4a4484]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esi + 0x98]
mov dword [esp + 0x1c], 7
call sym.SH7zInstaller.exe__bbv__ooQ5_Z14FsGnw.FGaB.BV___07PcT4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x445214
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004335d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push eax
call dword [0x4a44e4]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esi + 0x9c]
call sym.SH7zInstaller.exe__bbv__ooQ5_Z14FsGnw.FGaB.BV___07PcT4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x445282
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
call dword [0x4a44e4]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esi + 0xa0]
call sym.SH7zInstaller.exe__bbv__ooQ5_Z14FsGnw.FGaB.BV___07PcT4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a5b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0045c800
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x4620da
add edi, 0x28
jmp 0x4620dc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4620f4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4626b0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push edi
push 0
push 0
push 0
push 0
push 0
call dword [0x4a4534]
mov edi, eax
test edi, edi
jne 0x4626d1
pop edi
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
push esi
push 0
push 0x84400000
push 0
push 0
push eax
push edi
call dword [0x4a4530]
mov esi, eax
test esi, esi
jne 0x462700
push edi
call dword [0x4a452c]
pop esi
xor eax, eax
pop edi
add esp, 8
ret 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x20000013
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [0x4a4528]
push edi
mov edi, dword [0x4a452c]
test eax, eax
jne 0x462742
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
add esp, 8
ret 4
call edi
push esi
call edi
xor eax, eax
cmp dword [esp + 8], 0xc8
pop esi
sete al
pop edi
add esp, 8
ret 4
Function at 0x10165030
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1016520e
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
or ebp, 0xffffffff
jmp 0x1016505a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10165061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10165050
mov eax, 1
add ebx, ebx
jne 0x10165073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10165084
jne 0x101650a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101650a3
dec eax
add ebx, ebx
jne 0x10165090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10165068
add ebx, ebx
jne 0x1016509f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x101650f5
xor ecx, ecx
sub eax, 3
jb 0x101650bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1016512a
sar eax, 1
mov ebp, eax
jmp 0x101650c6
add ebx, ebx
jne 0x101650c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10165094
inc ecx
add ebx, ebx
jne 0x101650d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10165094
add ebx, ebx
jne 0x101650e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x101650d6
jne 0x101650f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x101650d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10165114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10165106
jmp 0x10165056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10165114
add edi, ecx
jmp 0x10165056
pop esi
mov edi, esi
mov ecx, 0xa5981
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1016514f
cmp byte [edi], 0x15
jne 0x10165134
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x10165132
lea edi, [esi + 0x15e000]
mov eax, dword [edi]
or eax, eax
je 0x101651a0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16b3e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16b500]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10165155
mov ecx, edi
jns 0x10165184
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 + 0x16b504]
or eax, eax
je 0x1016519a
mov dword [ebx], eax
add ebx, 4
jmp 0x10165172
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x101651d1
cmp al, 0xef
ja 0x101651c4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x101651a6
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x101651b3
mov ebp, dword [esi + 0x16b508]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x10165205
sub esp, 0xffffff80
jmp 0x100729a5
Function at 0x4100e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f12f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00411178
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x41016b
push eax
push esi
call fcn.0041544a
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00411324
int3

Function at 0x41765e
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 0x41767f
jl 0x417676
test edi, edi
jne 0x41767f
xor eax, eax
xor edx, edx
jmp 0x417740
cmp dword [ebx + 0x38], 0
je 0x417694
push eax
push edi
push dword [ebp + 8]
call fcn.00417746
jmp 0x417740
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4176db
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4176db
cmp eax, edi
jb 0x4176b5
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042d160
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 0x4176e1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x417735
mov ecx, ebx
call fcn.00416f64
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x417720
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00438232
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 0x417735
jmp 0x4176f3
test edx, edx
je 0x417735
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00438232
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 0x42b3aa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0043615d
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x42b3e9
sub eax, 1
je 0x42b3e4
sub eax, 1
je 0x42b3e0
xor eax, eax
leave
ret
push 3
jmp 0x42b3eb
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x42c622
Capabilities:
Parse pe header

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

Function at 0x43e9a6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455ce0
push 0x455cd8
push str.FlsAlloc
push 0x1f
call fcn.0043e811
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e9da
push dword [ebp + 8]
mov ecx, esi
call dword [0x45118c]
call esi
jmp 0x43e9e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43ea24
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455cf0
push 0x455ce8
push str.FlsGetValue
push 0x21
call fcn.0043e811
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ea5b
push dword [ebp + 8]
mov ecx, esi
call dword [0x45118c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43ea63
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455cf8
push 0x455cf0
push str.FlsSetValue
push 0x22
call fcn.0043e811
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43ea9d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45118c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4432a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042ca70
mov eax, dword [0x462040]
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.00440796
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4432e2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44343e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0044e050
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 + 0x464798]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004436c5
mov ecx, dword [esi*4 + 0x464798]
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 0x443437
cmp eax, dword [ecx + edi + 0x24]
jne 0x443437
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 0x443437
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004436c5
add esp, 0x14
test edx, edx
jl 0x443437
jg 0x4433ad
test eax, eax
jb 0x443437
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x443437
jl 0x4433c7
cmp dword [ebp - 0x1008], eax
ja 0x443437
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4433e5
test ebx, ebx
je 0x44341e
cmp ecx, edi
jae 0x44341e
mov al, byte [ecx]
cmp al, 0xd
jne 0x4433ff
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44340b
cmp byte [ecx + 1], 0xa
jne 0x44340b
inc ecx
jmp 0x44340b
movzx eax, al
movsx eax, byte [eax + 0x462308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4433e5
cmp edx, ebx
jne 0x4433e5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44343c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042c174
leave
ret
Function at 0x443741
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 + 0x464798]
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 0x443781
cmp byte [ebx], 0xa
jne 0x443781
or byte [edi + eax + 0x28], 4
jmp 0x443786
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 0x443885
mov dl, byte [eax]
cmp dl, 0x1a
je 0x443868
inc eax
cmp dl, 0xd
je 0x4437b2
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4437d8
cmp eax, ecx
jae 0x4437e6
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 0x44379a
jmp 0x443885
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 0x443863
cmp dword [ebp - 0x10], 0
je 0x443863
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x464798]
test byte [eax + edi + 0x28], 0x48
je 0x44383d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x443828
mov byte [esi], dl
jmp 0x443839
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x464798]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x443885
cmp byte [ebp - 1], 0xa
jne 0x44384c
cmp esi, ebx
jne 0x44384c
mov byte [esi], 0xa
jmp 0x443884
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004436e3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x443885
mov byte [esi], 0xd
jmp 0x443884
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x464798]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x443882
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x443885
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44388e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x464798]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4438d4
cmp word [ebx], dx
jne 0x4438d4
or byte [eax + edi + 0x28], 4
jmp 0x4438d9
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x443a3c
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x443a1c
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44391a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x443950
cmp eax, edx
jae 0x44395e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4438f5
jmp 0x443a3c
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443a17
cmp dword [ebp - 0x18], 0
je 0x443a17
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x464798]
test byte [eax + edi + 0x28], 0x48
je 0x4439ed
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4439b1
mov word [esi], cx
jmp 0x4439e8
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x464798]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x464798]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x464798]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x443a3c
pop eax
cmp word [ebp - 4], ax
jne 0x4439fd
cmp esi, ebx
jne 0x4439fd
mov word [esi], ax
jmp 0x443a39
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004436e3
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x443a3c
push 0xd
pop eax
jmp 0x4439f8
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x464798]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x443a36
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x443a3c
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x445e5d
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 0x445efa
push ebx
push esi
call fcn.00445e26
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.00444277
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x445ea7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x445ef9
push edi
push eax
call fcn.0043e405
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x445ec7
call fcn.0043dda2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x445ef8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00444277
add esp, 0x20
test eax, eax
jne 0x445ee6
push edi
call fcn.0043dda2
jmp 0x445eee
push ebx
call fcn.0043dda2
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 0x445efd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x445f0e
pop esi
ret
push ebx
push edi
push esi
call fcn.00445e26
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043e405
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x445f36
push ebx
push esi
push edi
call fcn.0042d160
add esp, 0xc
push 0
call fcn.0043dda2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x446690
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004461ab

Function at 0x448aeb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043e11a
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 0x448b5a
cmp esi, dword [ebp - 4]
je 0x448b55
cmp dword [ebp + 0xc], 0
je 0x448b55
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x448b32
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044863d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x448b5c
xor eax, eax
inc eax
jmp 0x448b5c
xor eax, eax
pop edi
pop esi
leave
ret