joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d879
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0048337d
and dword [ebp - 4], 0
cmp dword [0x4d91b4], 0
mov ebx, eax
jne 0x48d92a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48d9db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b9258
push edi
call esi
test eax, eax
je 0x48d9db
push eax
call fcn.0048330b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4d91b4], eax
call esi
push eax
call fcn.0048330b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d91b8], eax
call esi
push eax
call fcn.0048330b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d91bc], eax
call esi
push eax
call fcn.0048330b
pop ecx
mov dword [0x4d91c4], eax
test eax, eax
je 0x48d92a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048330b
pop ecx
mov dword [0x4d91c0], eax
mov eax, dword [0x4d91c0]
cmp eax, ebx
je 0x48d982
cmp dword [0x4d91c4], ebx
je 0x48d982
push eax
call fcn.00483386
push dword [0x4d91c4]
mov esi, eax
call fcn.00483386
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48d982
test edi, edi
je 0x48d982
call esi
test eax, eax
je 0x48d979
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48d979
test byte [ebp - 0xc], 1
jne 0x48d982
or dword [ebp + 0x10], 0x200000
jmp 0x48d9bb
mov eax, dword [0x4d91b8]
cmp eax, ebx
je 0x48d9bb
push eax
call fcn.00483386
pop ecx
test eax, eax
je 0x48d9bb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x48d9bb
mov eax, dword [0x4d91bc]
cmp eax, ebx
je 0x48d9bb
push eax
call fcn.00483386
pop ecx
test eax, eax
je 0x48d9bb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d91b4]
call fcn.00483386
pop ecx
test eax, eax
je 0x48d9db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48d9dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x494560
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x4945c2
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
mov eax, 0x400000
cmp esi, 0x400000
ja 0x49458f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4945c7
test ecx, ecx
je 0x4945c0
test esi, esi
ja 0x494580
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4973d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4da6e0], ecx
inc edx
cmp edx, 0x100
jb 0x4973d2
cmp edx, 0x800
jae 0x4974a9
lea esp, [esp]
mov eax, dword [edx*4 + 0x4da2e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4da6e0]
inc edx
mov dword [edx*4 + 0x4da6dc], eax
cmp edx, 0x800
jb 0x497480
mov eax, 0x498560
mov dword [0x4dc6e8], eax
mov dword [0x4dc6e0], eax
mov dword [0x4dc6e4], 0x498610
call fcn.004984a0
test eax, eax
jne 0x4974d5
mov dword [0x4dc6e0], 0x498610
ret
Function at 0x49c260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
and esi, 7
cmp eax, 5
jae 0x49c27b
pop edi
xor eax, eax
pop esi
ret
push ebx
push ebp
mov ebp, dword [esp + 0x14]
sub eax, 4
add dword [esp + 0x1c], 5
lea ebx, [eax + ebp]
mov dword [esp + 0x18], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x49c2a6
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x49c2a6
inc edx
cmp edx, ebx
jb 0x49c297
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebp
sub ecx, ebp
mov edi, eax
cmp edx, ebx
jae 0x49c396
cmp ecx, 2
jbe 0x49c302
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x49c387
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x49c32b
add eax, ebp
jmp 0x49c32d
shr esi, cl
test esi, esi
je 0x49c2c1
cmp esi, 4
ja 0x49c320
cmp esi, 3
je 0x49c320
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x49c2c1
or esi, 8
shr esi, 1
inc edi
jmp 0x49c290
sub eax, ebp
test esi, esi
je 0x49c361
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x49c35b
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x49c359
add eax, ebp
jmp 0x49c35b
sub eax, ebp
mov ebx, dword [esp + 0x18]
xor esi, esi
mov ebp, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x49c290
mov ebp, dword [esp + 0x14]
or esi, 8
shr esi, 1
inc edi
jmp 0x49c290
pop ebp
pop ebx
cmp ecx, 2
jbe 0x49c3aa
mov edx, dword [esp + 0x18]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
ret
mov edx, dword [esp + 0x18]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
ret

Function at 0x4a18f3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4a1924
call fcn.00482ad1
mov dword [eax], esi
call fcn.00482abe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0047bc84
add esp, 0x14
push 0x16
pop eax
jmp 0x4a1979
test dword [ebp + 0xc], 0xfffffff9
jne 0x4a1900
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a1951
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00482ae4
pop ecx
call fcn.00482abe
mov eax, dword [eax]
jmp 0x4a1979
test al, 0x10
jne 0x4a1977
test al, 1
je 0x4a1977
test byte [ebp + 0xc], 2
je 0x4a1977
call fcn.00482ad1
mov dword [eax], 5
call fcn.00482abe
mov dword [eax], 0xd
jmp 0x4a1948
xor eax, eax
pop esi
pop ebp
ret
Function at 0x405560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a950
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x464014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x4650bc
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0041a870
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x464a8c
push eax
call fcn.0041a870
mov esi, dword [0x4650cc]
xor ebx, ebx
mov edi, dword [0x4650d0]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x468360], bl
mov eax, ebx
mov ecx, 0x4650bc
cmovae ecx, dword [0x4650bc]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x468470], al
inc ebx
cmp ebx, 0x100
jl 0x4055e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x468360]
movzx eax, byte [esi + 0x468470]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x405634
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x468360]
mov byte [esi + 0x468360], al
inc esi
mov byte [edi + 0x468360], dl
cmp esi, 0x100
jl 0x405610
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00405250
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405689
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40567f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4056df
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4056cb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4056c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4056df
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043941a
int3
Function at 0x4056f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor edx, edx
mov dword [ebp - 4], ebx
mov ecx, 3
mov dword [ebp - 8], esi
push edi
mov eax, dword [esi + 0x10]
div ecx
push 0x3d
mov ecx, eax
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 0xf
cmp eax, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
sbb eax, eax
mov byte [ebx], 0
neg eax
add eax, ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.0041a730
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x405749
mov edi, dword [esi]
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x405753
mov esi, dword [ebx]
mov ecx, dword [ebp - 8]
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x10]
mul ecx
shr edx, 1
je 0x4057d4
mov ebx, edx
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 2]
shl ecx, 8
add edi, 3
or ecx, eax
mov eax, esi
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x45ad38]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
lea eax, [esi + 3]
and edx, 0x3f
movzx edx, byte [edx + 0x45ad38]
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 6
and ecx, 0x3f
and edx, 0x3f
movzx edx, byte [edx + 0x45ad38]
mov byte [esi + 2], dl
add esi, 4
mov cl, byte [ecx + 0x45ad38]
mov byte [eax], cl
sub ebx, 1
jne 0x405766
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
sub edx, 1
je 0x405835
sub edx, 1
jne 0x40585a
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, esi
shl ecx, 8
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
pop edi
movzx edx, byte [edx + 0x45ad38]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
mov eax, ebx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [edx + 0x45ad38]
mov byte [esi + 1], dl
mov cl, byte [ecx + 0x45ad38]
mov byte [esi + 2], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
and ecx, 0x3f
and eax, 0x3f
mov cl, byte [ecx + 0x45ad38]
mov byte [esi], cl
mov al, byte [eax + 0x45ad38]
mov byte [esi + 1], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408490
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x464014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call dword [0x4520c8]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x408679
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x408679
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004368a0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call dword [0x4520cc]
test eax, eax
je 0x408679
push 4
push 0x1000
push 4
push 0
call dword [0x4520b8]
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call dword [0x452054]
test eax, eax
je 0x408679
push 0
push 4
lea eax, [esp + 0x24]
push eax
push str._nextafter
push dword [esp + 0x30]
call dword [0x452064]
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x40859c
push 0x45ae5c
push 0x45ae74
call dword [0x4520a4]
push eax
call dword [0x452058]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call dword [0x45205c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x408679
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call dword [0x4520c4]
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x408633
mov dword [esp + 0xc], eax
call fcn.004082e0
push eax
call dword [0x452098]
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [0x4520c4]
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x4085e2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [0x4520c4]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call dword [0x452070]
push dword [esp + 0x24]
call dword [0x4520a8]
push 0x8000
push 0
push esi
call dword [0x4520c0]
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0041f7a1
mov esp, ebp
pop ebp
ret
Function at 0x40c270
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b286
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.0043b2a6
push eax
call fcn.00438e10
add esp, 8
call fcn.00438def
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00438def
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00438def
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00405170
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x40c320
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40c336
push 0x40
push 0
push 0x46a530
sub esi, ecx
call fcn.004368a0
add esp, 0xc
mov dword [0x46a524], 0
mov edx, esi
mov dword [0x46a520], 0
lea ecx, [ebp - 0x410]
mov dword [0x46a510], 0x67452301
mov dword [0x46a514], 0xefcdab89
mov dword [0x46a518], 0x98badcfe
mov dword [0x46a51c], 0x10325476
call fcn.004061c0
call fcn.00406280
mov ecx, 0x468570
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c3c1
sub ecx, edx
push ecx
push 0x468570
lea ecx, [ebp - 0x42c]
call fcn.0041a870
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x40c41c
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c412
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4dc
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x40c4d7
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.0041a870
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x40c4b9
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c4af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c4dc
push edx
push ecx
call fcn.0041fe13
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f7a1
mov esp, ebp
pop ebp
ret
call fcn.0041a9b0
call fcn.0043941a
int3
Function at 0x401934
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401e38
call fcn.00401bf8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401994
cmp eax, 0xffffffff
je 0x401994
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40198d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40198d
cmp edx, 0x10000000
jae 0x40198d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40198a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401a00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401a3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401a36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401a40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401a26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401b10
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x401b41
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401b41
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x401b41
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a36
Capabilities:
Parse pe header

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

Function at 0x423a00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0042bae9
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 0x423a3f
sub eax, 1
je 0x423a3a
sub eax, 1
je 0x423a36
xor eax, eax
leave
ret
push 3
jmp 0x423a41
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x447db5
Capabilities:
Parse pe header

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

Function at 0x45fb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45fbad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45fbad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x46a65f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5c50b0]
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.00461589
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.00461589
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 0x46a6d6
cmp word [ecx], dx
je 0x46a6d6
mov eax, dword [0x57eeb4]
push edi
dec eax
push eax
push 0x57eda0
call fcn.0046a84f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x46a749
cmp word [eax], dx
je 0x46a749
mov eax, dword [edi]
test eax, eax
je 0x46a6fa
cmp word [eax], dx
je 0x46a6fa
lea eax, [ebp - 0x10]
push eax
call fcn.0046a8b6
jmp 0x46a703
lea eax, [ebp - 0x10]
push eax
call fcn.0046aba5
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x46a773
mov eax, dword [0x57ed9c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x57ea90
call fcn.0046a84f
add esp, 0xc
test al, al
je 0x46a773
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x46a73e
cmp word [eax], di
je 0x46a73e
lea eax, [ebp - 0x10]
push eax
call fcn.0046a8b6
pop ecx
jmp 0x46a775
lea eax, [ebp - 0x10]
push eax
call fcn.0046aba5
jmp 0x46a73b
mov eax, dword [edi]
test eax, eax
je 0x46a760
cmp word [eax], dx
je 0x46a760
lea eax, [ebp - 0x10]
push eax
call fcn.0046acd5
pop ecx
jmp 0x46a773
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 0x46a83e
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0046ade1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x46a83e
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x46a83e
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x46a83e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46a7cb
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004627a6
test ebx, ebx
je 0x46a839
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004627a6
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46a83e
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 0x46a83e
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00475ea4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x46a840
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010cb
leave
ret
Function at 0x46aee7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00461589
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 0x46af56
cmp esi, dword [ebp - 4]
je 0x46af51
cmp dword [ebp + 0xc], 0
je 0x46af51
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46af2e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0046afb0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x46af58
xor eax, eax
inc eax
jmp 0x46af58
xor eax, eax
pop edi
pop esi
leave
ret