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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.004b17e0
mov eax, dword [0x539c80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x46ef80
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46ef80
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x46eff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x46efda
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x46eff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x46f08a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x46f078
lea eax, [esi + esi]
call fcn.004b1be0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x46f08a
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46f023
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x46f08a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.004af260
mov esi, eax
add esp, 8
test esi, esi
jne 0x46f12e
call fcn.004b3a3e
cmp dword [eax], 2
je 0x46f070
call fcn.004b3a3e
cmp dword [eax], 9
jne 0x46f082
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.004ae47d
mov esi, eax
add esp, 8
test esi, esi
jne 0x46f12e
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0045ae20
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x4f1a64
push eax
push 0x4f1a60
push ecx
push str.fopen_
push 5
call fcn.0045aa00
add esp, 0x2c
call fcn.004b3a3e
cmp dword [eax], 2
jne 0x46f100
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.0045ae20
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac57a
mov esp, ebp
pop ebp
ret
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0045ae20
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac57a
mov esp, ebp
pop ebp
ret
push 0x538b98
call fcn.0045b950
mov edi, eax
add esp, 4
test edi, edi
jne 0x46f160
push esi
call fcn.004ae610
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac57a
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.0045b3e0
push esi
push 1
push 0x6a
push edi
call fcn.0045b740
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac57a
mov esp, ebp
pop ebp
ret
Function at 0x473910
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x4739f3
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x47398e
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x4739e0
shl edx, 0x10
cmp edi, 2
jne 0x47399f
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x4739cd
lea edx, [edi + 0x3c]
jmp 0x4739da
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x473930
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x48de00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x48de19
mov esi, edi
mov edi, eax
jmp 0x48de1b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x48de2b
mov eax, ebx
jmp 0x48de35
push eax
push ebx
call fcn.0045e730
add esp, 8
test eax, eax
jne 0x48de3d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x48de59
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x48de44
cmp eax, dword [esi + 4]
jge 0x48de70
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x48de60
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x48de91
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x48de8e
dec eax
test eax, eax
jg 0x48de80
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4924a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.004b17e0
mov eax, dword [0x539c80]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x154]
push edi
mov edi, dword [esp + 0x144]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov ebx, 1
call fcn.00474be0
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jge 0x492503
xor eax, eax
jmp 0x49268d
lea ecx, [esp + 0x2c]
push ecx
call fcn.004a3ee0
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x18], edx
test edi, edi
jne 0x492528
mov dword [esp + 0x148], edi
jmp 0x492552
cmp dword [esp + 0x148], 0xffffffff
jne 0x492552
mov eax, edi
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
jmp 0x492540
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x492540
sub eax, dword [esp + 0x10]
mov dword [esp + 0x148], eax
test edx, edx
je 0x49267b
jmp 0x492568
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp edx, esi
jg 0x49256e
mov esi, edx
mov edx, ebx
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
push 0
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x150]
mov ecx, ebx
shr ecx, 8
push eax
mov byte [esp + 0x22], cl
lea ecx, [esp + 0x38]
push edi
push ecx
mov byte [esp + 0x2b], bl
call fcn.004a3c20
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004a3e20
push 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004a3e20
push 0
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.004a3e30
push esi
lea eax, [esp + 0x138]
push eax
push ebp
call fcn.004b10e0
mov eax, dword [esp + 0x198]
add esp, 0x44
cmp eax, 1
jle 0x492666
dec eax
mov dword [esp + 0x10], eax
jmp 0x492610
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push edx
call fcn.004a3ff0
add esp, 0x1c
test esi, esi
jle 0x49265f
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x492650
mov edi, dword [esp + 0x28]
sub dword [esp + 0x10], 1
jne 0x492610
mov eax, dword [esp + 0x18]
sub eax, esi
inc ebx
add ebp, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x492560
lea eax, [esp + 0x2c]
push eax
call fcn.004a3f80
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ac57a
add esp, 0x130
ret
Function at 0x4a3c20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004b17e0
mov eax, dword [0x539c80]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x4a3c6f
mov eax, 1
mov dword [esi], ebp
jmp 0x4a3c71
mov ebp, dword [esi]
test ecx, ecx
je 0x4a3d54
push ebp
call fcn.00474bc0
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x4a3ca0
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.0045f270
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x4a3cf7
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.0047df20
add esp, 0xc
test eax, eax
je 0x4a3df6
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.0047e0d0
add esp, 0xc
test eax, eax
je 0x4a3df6
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.0047e0e0
add esp, 0xc
test eax, eax
je 0x4a3df6
jmp 0x4a3d31
cmp edi, 0x80
jbe 0x4a3d13
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.0045f270
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.004b10e0
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x4a3d5c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.004b1a50
add esp, 0xc
jmp 0x4a3d5c
test eax, eax
je 0x4a3de2
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4a3d60
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.0047df20
add esp, 0xc
test eax, eax
je 0x4a3df6
push ebp
call fcn.00474bc0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.0047e0d0
add esp, 0x10
test eax, eax
je 0x4a3df6
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4a3da4
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.0047df20
add esp, 0xc
test eax, eax
je 0x4a3df6
push ebp
call fcn.00474bc0
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.0047e0d0
add esp, 0x10
test eax, eax
je 0x4a3df6
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.0047e240
add esp, 8
test eax, eax
jne 0x4a3dfa
xor eax, eax
jmp 0x4a3dff
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ac57a
add esp, 0x8c
ret
Function at 0x4a6aa0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.004b17e0
mov eax, dword [esp + 0x38]
push ebx
push edi
xor edi, edi
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
call fcn.00474be0
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x4a6ce1
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x4a6b67
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.0045e4f0
mov ebp, eax
dec ebp
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.00459c60
add esp, 8
mov edi, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x4a6b19
mov eax, dword [esp + 0x40]
mov byte [eax], 0
inc eax
dec edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
cmp esi, 0xfffffffe
jne 0x4a6b9b
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x4a6bd9
push 0xda
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.0045de80
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4a6bc7
push 0xde
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x7d
push 4
call fcn.0045ae20
add esp, 0x14
jmp 0x4a6cc4
cmp esi, 0xfffffffe
jne 0x4a6b71
jmp 0x4a6add
jge 0x4a6add
push 0xc3
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x7d
push 4
call fcn.0045ae20
add esp, 0x14
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
lea edx, [ebx + esi + 2]
cmp edi, edx
jge 0x4a6b25
push 0xd5
push str..crypto_rsa_rsa_pss.c
push 0x6e
push 0x7d
push 4
call fcn.0045ae20
add esp, 0x14
mov eax, dword [esp + 0x14]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
push esi
push ebp
call fcn.004611d0
add esp, 8
test eax, eax
jle 0x4a6cc0
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.0047ded0
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0047df20
push 8
lea eax, [esp + 0x34]
push 0x50bdc0
push eax
call fcn.0047e0d0
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0047e0d0
add esp, 0x28
test esi, esi
je 0x4a6c34
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0047e0d0
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0047e210
lea ecx, [esp + 0x2c]
push ecx
call fcn.0047e160
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push ebx
add eax, ebp
push eax
push ebp
mov ebp, dword [esp + 0x60]
push ebp
call fcn.00469ce0
add esp, 0x24
test eax, eax
jne 0x4a6cc0
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x4a6c96
xor ecx, ecx
test esi, esi
jle 0x4a6c96
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x4a6c87
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a6caf
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4a6bbb
push ebp
call fcn.0045e030
mov eax, dword [esp + 0x18]
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x4c58b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x539c80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004b62fb
mov dword [ebp - 0x14], eax
cmp dword [0x53ed34], edi
jne 0x4c59a9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c5936
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c5a89
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4c5a89
push 0x512cac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c5a89
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x53ed34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x53ed38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x512cdc
push esi
mov dword [0x53ed3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x53ed44], eax
test eax, eax
je 0x4c59a6
push 0x512cf8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x53ed40], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c59ce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c59c1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4c59e3
push 4
pop eax
jmp 0x4c5a8b
cmp dword [ebp - 0x14], edi
je 0x4c59e3
push dword [0x53ed34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c59c8
mov eax, dword [0x53ed40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4c5a41
cmp dword [0x53ed44], esi
je 0x4c5a41
push eax
call ebx
push dword [0x53ed44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c5a41
test eax, eax
je 0x4c5a41
call ecx
test eax, eax
je 0x4c5a36
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c5a36
test byte [ebp - 8], 1
jne 0x4c5a41
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4c5a71
mov eax, dword [0x53ed38]
cmp eax, esi
je 0x4c5a6e
push eax
call ebx
test eax, eax
je 0x4c5a6e
call eax
mov edi, eax
test edi, edi
je 0x4c5a6e
mov eax, dword [0x53ed3c]
cmp eax, esi
je 0x4c5a6e
push eax
call ebx
test eax, eax
je 0x4c5a6e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x53ed34]
call ebx
test eax, eax
je 0x4c5a89
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4c5a8b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ac57a
leave
ret
Function at 0x4c808a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004b9a3d
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4c80c2
xor eax, eax
jmp 0x4c80ee
cmp esi, dword [ebp - 4]
je 0x4c80eb
cmp dword [ebp + 0xc], 0
je 0x4c80eb
push dword [edi + 0x9c]
call fcn.004c7c97
push dword [edi + 0x9c]
mov esi, eax
call fcn.004b65b1
pop ecx
pop ecx
cmp esi, eax
je 0x4c80be
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x402fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init
Function at 0x10009b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10009b6f
pop dword [ebp - 8]
mov eax, 0x10009b6f
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x7820c314
add dword [ebp - 0x18], 0xd6318237
mov dword [ebp - 0x14], 0xf964e267
add dword [ebp - 0x14], 0x38ce69de
mov dword [ebp - 0x10], 0xce4461d3
add dword [ebp - 0x10], 0x7e07e25b
mov dword [ebp - 0xc], 0x55e4f55d
add dword [ebp - 0xc], 0xaa1b0aa3
lea eax, [ebp - 0x18]
push eax
mov eax, 0xd6542f12
sub eax, 0xc6537e96
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xd4122696
sub dword [ebp - 0x18], 0x5f9fbd40
mov dword [ebp - 0x14], 0xee023ca5
sub dword [ebp - 0x14], 0xac95db30
mov dword [ebp - 0x10], 0x2b94d8bf
sub dword [ebp - 0x10], 0xc8256c53
mov dword [ebp - 0xc], 0x24e8450e
add dword [ebp - 0xc], 0xdb17baf2
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x35933
push 0
call eax
mov ecx, 0x5be6064d
add ecx, 0xa41a3893
xor edi, edi
add edi, eax
mov edx, 0xd4fcb6e1
add edx, 0x3b04df1f
add edx, dword [ebp - 8]
mov esi, 0x54cd456d
add esi, 0xb14321fa
mov dword [ebp - 4], 0x4ebe7cf1
mov ebx, dword [edx]
add dword [ebp - 4], 0xd35a892a
xor ebx, esi
xor dword [ebp - 4], 0xac02a202
mov dword [edi], ebx
sub dword [ebp - 4], eax
add edi, 4
add edx, 4
loop 0x10009c89
add eax, 0xee53
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfe067a9d
add ecx, 0x11f98563
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x406650
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4066b6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404d04
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403630
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066bd
lea eax, [ebp - 0x10]
call fcn.00404a94
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f30
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4082c9
test al, 0x10
jne 0x4082cd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408414
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404f30
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408436
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40aeb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aef1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b84
jmp 0x40aefa
mov eax, ebx
mov edx, esi
call fcn.00404ae8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40af04
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40af25
mov al, byte [esp]
jmp 0x40af27
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c42c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c490
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d04
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407fa8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c497
lea eax, [ebp - 0xc]
call fcn.00404a94
ret