joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101951a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10283a3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], ebx
test edi, edi
je 0x10195368
test eax, eax
je 0x10195368
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x20
jl 0x10195368
push ecx
push ebx
push eax
call fcn.101be270
add esp, 0xc
push ebx
push 1
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x10195368
cmp edi, 0xffffffff
je 0x10195361
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10079f90
add esp, 8
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10195361
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x101952f7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
je 0x10195361
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jg 0x101952f7
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
jl 0x10195290
cmp edi, esi
jae 0x101952f7
nop
sub esi, edi
sbb ecx, eax
js 0x101952a5
jg 0x101952a0
cmp esi, 0x400000
jb 0x101952a5
mov esi, 0x400000
push esi
push edi
push eax
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x101952f7
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10079fe0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
add edi, 0x400000
adc eax, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jge 0x101952eb
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
jmp 0x10195290
jg 0x101952f7
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
cmp edi, esi
jb 0x10195290
lea eax, [ebp - 0x6c]
push eax
call fcn.10079e00
mov edi, dword [ebp - 0x80]
add esp, 4
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push edi
call fcn.10024cb0
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x10195310
push dword [ebp + 0x10]
push dword [ebp - 0x80]
call fcn.101d968e
add esp, 8
mov esi, 1
test ebx, ebx
je 0x1019534d
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1019535b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1017034a
mov esp, ebp
pop ebp
ret
Function at 0x101d7578
Capabilities:
Parse pe header

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

Function at 0x101dd480
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10240fd8
push 0x10240fd0
push str.FlsAlloc
push 0x1f
call fcn.101dd2ab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101dd4b4
push dword [ebp + 8]
mov ecx, esi
call dword [0x1021d7c4]
call esi
jmp 0x101dd4ba
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x101dd4fe
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10240fe8
push 0x10240fe0
push str.FlsGetValue
push 0x21
call fcn.101dd2ab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101dd535
push dword [ebp + 8]
mov ecx, esi
call dword [0x1021d7c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x101dd53d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10240ff0
push 0x10240fe8
push str.FlsSetValue
push 0x22
call fcn.101dd2ab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x101dd577
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1021d7c4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x101e10f1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.101e106d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101e1260
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101e1260
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101e1215
jg 0x101e114d
test eax, eax
je 0x101e120b
push 1
push 0x1000
call fcn.101db9ba
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101e1170
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101e1202
push 0x8000
push ebx
call fcn.101e0b6a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101e1199
jg 0x101e1194
cmp ecx, 0x1000
jb 0x101e1199
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101d4d47
add esp, 0x10
cmp eax, 0xffffffff
je 0x101e11de
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101e1194
jl 0x101e11c5
test ecx, ecx
jne 0x101e1186
push dword [ebp - 0xc]
push ebx
call fcn.101e0b6a
push esi
call fcn.101dba17
add esp, 0xc
xor ebx, ebx
jmp 0x101e126e
cmp byte [edi + 0x24], 0
je 0x101e11f5
cmp dword [edi + 0x20], 5
jne 0x101e11f5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101e1200
mov ebx, dword [edi + 0x18]
jmp 0x101e1202
xor ebx, ebx
push esi
call fcn.101dba17
pop ecx
jmp 0x101e126e
test ecx, ecx
jg 0x101e11d7
jl 0x101e1215
test eax, eax
jae 0x101e11d7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101d43ff
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101e1235
cmp byte [edi + 0x1c], 0
je 0x101e11d7
jmp 0x101e1266
push ebx
call fcn.101e1003
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101e11d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101e126e
cmp byte [edi + 0x1c], 0
je 0x101e126b
mov ebx, dword [edi + 0x18]
jmp 0x101e126e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101d43ff
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101e1288
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 + 0x102913d0]
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 0x101e12c8
cmp byte [ebx], 0xa
jne 0x101e12c8
or byte [edi + eax + 0x28], 4
jmp 0x101e12cd
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 0x101e13cc
mov dl, byte [eax]
cmp dl, 0x1a
je 0x101e13af
inc eax
cmp dl, 0xd
je 0x101e12f9
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x101e131f
cmp eax, ecx
jae 0x101e132d
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 0x101e12e1
jmp 0x101e13cc
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 0x101e13aa
cmp dword [ebp - 0x10], 0
je 0x101e13aa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x102913d0]
test byte [eax + edi + 0x28], 0x48
je 0x101e1384
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x101e136f
mov byte [esi], dl
jmp 0x101e1380
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102913d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x101e13cc
cmp byte [ebp - 1], 0xa
jne 0x101e1393
cmp esi, ebx
jne 0x101e1393
mov byte [esi], 0xa
jmp 0x101e13cb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.101d43ff
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x101e13cc
mov byte [esi], 0xd
jmp 0x101e13cb
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x102913d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x101e13c9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x101e13cc
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101e13d5
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 + 0x102913d0]
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 0x101e141b
cmp word [ebx], dx
jne 0x101e141b
or byte [eax + edi + 0x28], 4
jmp 0x101e1420
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 0x101e1583
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 0x101e1563
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x101e1461
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x101e1497
cmp eax, edx
jae 0x101e14a5
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 0x101e143c
jmp 0x101e1583
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 0x101e155e
cmp dword [ebp - 0x18], 0
je 0x101e155e
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x102913d0]
test byte [eax + edi + 0x28], 0x48
je 0x101e1534
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 0x101e14f8
mov word [esi], cx
jmp 0x101e152f
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x102913d0]
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 + 0x102913d0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x102913d0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x101e1583
pop eax
cmp word [ebp - 4], ax
jne 0x101e1544
cmp esi, ebx
jne 0x101e1544
mov word [esi], ax
jmp 0x101e1580
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.101d43ff
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x101e1583
push 0xd
pop eax
jmp 0x101e153f
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x102913d0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x101e157d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x101e1583
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 0x101e4ad8
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 0x101e4b75
push ebx
push esi
call fcn.101e4aa1
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.101e0ad1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x101e4b22
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101e4b74
push edi
push eax
call fcn.101dbce7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x101e4b42
call fcn.101dba17
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x101e4b73
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.101e0ad1
add esp, 0x20
test eax, eax
jne 0x101e4b61
push edi
call fcn.101dba17
jmp 0x101e4b69
push ebx
call fcn.101dba17
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 0x101e4b78
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101e4b89
pop esi
ret
push ebx
push edi
push esi
call fcn.101e4aa1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101dbce7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x101e4bb1
push ebx
push esi
push edi
call fcn.101bd770
add esp, 0xc
push 0
call fcn.101dba17
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x101e4f81
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101e4bc6

Function at 0x101e7f55
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.101da00a
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 0x101e7fc4
cmp esi, dword [ebp - 4]
je 0x101e7fbf
cmp dword [ebp + 0xc], 0
je 0x101e7fbf
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x101e7f9c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.101e7aa7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x101e7fc6
xor eax, eax
inc eax
jmp 0x101e7fc6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x101e802b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10283a3c]
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.101da00a
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.101da00a
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 0x101e80a2
cmp word [ecx], dx
je 0x101e80a2
mov eax, dword [0x102489a4]
push edi
dec eax
push eax
push 0x10248890
call fcn.101e7fca
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101e8115
cmp word [eax], dx
je 0x101e8115
mov eax, dword [edi]
test eax, eax
je 0x101e80c6
cmp word [eax], dx
je 0x101e80c6
lea eax, [ebp - 0x10]
push eax
call fcn.101e79ad
jmp 0x101e80cf
lea eax, [ebp - 0x10]
push eax
call fcn.101e7a48
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101e813f
mov eax, dword [0x1024888c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10248580
call fcn.101e7fca
add esp, 0xc
test al, al
je 0x101e813f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101e810a
cmp word [eax], di
je 0x101e810a
lea eax, [ebp - 0x10]
push eax
call fcn.101e79ad
pop ecx
jmp 0x101e8141
lea eax, [ebp - 0x10]
push eax
call fcn.101e7a48
jmp 0x101e8107
mov eax, dword [edi]
test eax, eax
je 0x101e812c
cmp word [eax], dx
je 0x101e812c
lea eax, [ebp - 0x10]
push eax
call fcn.101e7962
pop ecx
jmp 0x101e813f
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 0x101e820a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101e7e4f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101e820a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101e820a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101e820a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101e8197
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.101dd6bc
test ebx, ebx
je 0x101e8205
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.101dd6bc
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101e820a
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 0x101e820a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.101d078d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101e820c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1017034a
leave
ret
Function at 0x52d710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd0000]
push edi
jmp 0x52d72a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52d731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d720
mov eax, 1
add ebx, ebx
jne 0x52d743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52d754
jne 0x52d773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d773
dec eax
add ebx, ebx
jne 0x52d760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52d738
add ebx, ebx
jne 0x52d76f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52d7c5
xor ecx, ecx
sub eax, 3
jb 0x52d78b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52d7fa
sar eax, 1
mov ebp, eax
jmp 0x52d796
add ebx, ebx
jne 0x52d796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d764
inc ecx
add ebx, ebx
jne 0x52d7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d764
add ebx, ebx
jne 0x52d7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52d7a6
jne 0x52d7c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52d7a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52d7e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52d7d6
jmp 0x52d726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52d7e4
add edi, ecx
jmp 0x52d726
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52d802
cmp byte [edi], 0x11
jne 0x52d802
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 0x52d807
lea edi, [esi + 0x126000]
mov eax, dword [edi]
or eax, eax
je 0x52d87f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x174dcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x174f48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52d834
mov ecx, edi
jns 0x52d863
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 + 0x174f4c]
or eax, eax
je 0x52d879
mov dword [ebx], eax
add ebx, 4
jmp 0x52d851
call dword [esi + 0x174f5c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52d8b0
cmp al, 0xef
ja 0x52d8a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52d885
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52d892
mov ebp, dword [esi + 0x174f50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x52d8e4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
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 + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa