joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442c36
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x442c81
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00442dd1
test al, al
jne 0x442c7b
sub edx, 2
cmp edx, edi
jne 0x442c61
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x442ca3
lea eax, [edi + 2]
cmp edx, eax
je 0x442ca3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00442b82
add esp, 0x10
jmp 0x442d9d
push esi
lea ecx, [ebp - 0x255]
call fcn.00442dd1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x442ce6
push dword [ebp - 0x25c]
jmp 0x442c93
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x442d23
cmp word [ebp - 0x226], 0
je 0x442d44
cmp word [ebp - 0x226], ax
jne 0x442d23
cmp word [ebp - 0x224], 0
je 0x442d44
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00442b82
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x442d90
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x442cfd
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x442d78
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x442d9d
push 0x4429b2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004497b0
add esp, 0x10
jmp 0x442d6d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265f4
leave
ret

Function at 0x44369a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4436ab
pop esi
ret
push ebx
push edi
push esi
call fcn.00443663
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043e6ee
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4436d3
push ebx
push esi
push edi
call fcn.00427df0
add esp, 0xc
push 0
call fcn.0043c47b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x443aa3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004436e8
Function at 0x446110
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0043bc1d
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 0x44617f
cmp esi, dword [ebp - 4]
je 0x44617a
cmp dword [ebp + 0xc], 0
je 0x44617a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x446157
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00445c62
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x446181
xor eax, eax
inc eax
jmp 0x446181
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4461e6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45f040]
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.0043bc1d
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.0043bc1d
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 0x44625d
cmp word [ecx], dx
je 0x44625d
mov eax, dword [0x45339c]
push edi
dec eax
push eax
push 0x453288
call fcn.00446185
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4462d0
cmp word [eax], dx
je 0x4462d0
mov eax, dword [edi]
test eax, eax
je 0x446281
cmp word [eax], dx
je 0x446281
lea eax, [ebp - 0x10]
push eax
call fcn.00445b68
jmp 0x44628a
lea eax, [ebp - 0x10]
push eax
call fcn.00445c03
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x4462fa
mov eax, dword [0x453284]
push dword [ebp - 0x14]
dec eax
push eax
push 0x452f78
call fcn.00446185
add esp, 0xc
test al, al
je 0x4462fa
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4462c5
cmp word [eax], di
je 0x4462c5
lea eax, [ebp - 0x10]
push eax
call fcn.00445b68
pop ecx
jmp 0x4462fc
lea eax, [ebp - 0x10]
push eax
call fcn.00445c03
jmp 0x4462c2
mov eax, dword [edi]
test eax, eax
je 0x4462e7
cmp word [eax], dx
je 0x4462e7
lea eax, [ebp - 0x10]
push eax
call fcn.00445b1d
pop ecx
jmp 0x4462fa
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 0x4463c5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044600a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4463c5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4463c5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4463c5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x446352
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043fecc
test ebx, ebx
je 0x4463c0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043fecc
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4463c5
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 0x4463c5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00449e50
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4463c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265f4
leave
ret
Function at 0x449f75
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.00449ef1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x44a0e4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x44a0e4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x44a099
jg 0x449fd1
test eax, eax
je 0x44a08f
push 1
push 0x1000
call fcn.0043f79c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x449ff4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x44a086
push 0x8000
push ebx
call fcn.00439f90
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x44a01d
jg 0x44a018
cmp ecx, 0x1000
jb 0x44a01d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0043df7a
add esp, 0x10
cmp eax, 0xffffffff
je 0x44a062
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 0x44a018
jl 0x44a049
test ecx, ecx
jne 0x44a00a
push dword [ebp - 0xc]
push ebx
call fcn.00439f90
push esi
call fcn.0043c47b
add esp, 0xc
xor ebx, ebx
jmp 0x44a0f2
cmp byte [edi + 0x24], 0
je 0x44a079
cmp dword [edi + 0x20], 5
jne 0x44a079
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x44a084
mov ebx, dword [edi + 0x18]
jmp 0x44a086
xor ebx, ebx
push esi
call fcn.0043c47b
pop ecx
jmp 0x44a0f2
test ecx, ecx
jg 0x44a05b
jl 0x44a099
test eax, eax
jae 0x44a05b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043c926
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44a0b9
cmp byte [edi + 0x1c], 0
je 0x44a05b
jmp 0x44a0ea
push ebx
call fcn.004440e1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44a05b
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 0x44a0f2
cmp byte [edi + 0x1c], 0
je 0x44a0ef
mov ebx, dword [edi + 0x18]
jmp 0x44a0f2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0043c926
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44b790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44b7bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44b7bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0xfc45b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x59b000]
push edi
or ebp, 0xffffffff
jmp 0xfc45d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xfc45d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xfc45c8
mov eax, 1
add ebx, ebx
jne 0xfc45eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xfc45e0
jne 0xfc45fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfc45e0
xor ecx, ecx
sub eax, 3
jb 0xfc4610
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xfc4682
mov ebp, eax
add ebx, ebx
jne 0xfc461b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xfc4628
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xfc464c
inc ecx
add ebx, ebx
jne 0xfc4638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xfc462d
jne 0xfc4649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xfc462d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xfc466c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xfc465d
jmp 0xfc45ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xfc466c
add edi, ecx
jmp 0xfc45ce
pop esi
mov edi, esi
mov ecx, 0xb4eb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xfc468a
cmp byte [edi], 0x3f
jne 0xfc468a
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 0xfc468f
lea edi, [esi + 0xbb6000]
mov eax, dword [edi]
or eax, eax
je 0xfc4707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbdf2b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbdf350]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xfc46bc
mov ecx, edi
jns 0xfc46eb
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 + 0xbdf354]
or eax, eax
je 0xfc4701
mov dword [ebx], eax
add ebx, 4
jmp 0xfc46d9
call dword [esi + 0xbdf364]
mov ebp, dword [esi + 0xbdf358]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0xfc473b
sub esp, 0xffffff80
jmp 0x62d729
Function at 0x407870
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8e83
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
lea ecx, [eax + 0x26]
call fcn.004a94e0
test al, al
je 0x407a2e
push 0x16
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.2345Soft2345Installer
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a390
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.004a8f70
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x407953
mov ecx, eax
call fcn.0040a320
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0040a320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a320
push 0xf
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push str.InstallCfg.data
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.0040a390
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040a320
lea ecx, [ebp - 0x58]
call fcn.004c9ef0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
jne 0x407a22
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004ca5e0
test al, al
je 0x407a16
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040a320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e647b
mov esp, ebp
pop ebp
ret
Function at 0x40ff90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea200
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x537008]
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
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
xor esi, esi
mov dword [ebp - 0x18], esi
xor bl, bl
push fcn.0040efc0
mov byte [ebp - 0x14], bl
push 6
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x410079
cmp dword [ebp - 0x34], esi
je 0x410079
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x30]
push str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
push eax
call fcn.004a44e0
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x41006a
push 0xffffffffffffffff
push esi
call edi
test eax, eax
jne 0x410059
mov bl, 1
mov byte [ebp - 0x14], bl
jmp 0x41006a
xor bl, bl
push esi
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a320
mov dword [ebp - 4], 1
cmp byte [0x538d28], 0
jne 0x4100b2
mov ecx, dword [0x538d08]
test ecx, ecx
je 0x41009e
push 0xffffffffffffffff
push ecx
call edi
mov ecx, dword [0x538d08]
mov eax, dword [0x538d00]
mov edi, dword [eax]
test ecx, ecx
je 0x4100b4
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4100b4
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4100cc
test esi, esi
je 0x4100df
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4100d0
test esi, esi
je 0x4100df
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov dword [ebp - 0x18], 0
mov eax, edi
mov byte [ebp - 0x14], 0
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.004e647b
mov esp, ebp
pop ebp
ret
Function at 0x414a00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eac21
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x537008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x2c], 1
jb 0x414a65
mov eax, dword [eax]
push 0
push eax
push str._s._d.del
push esi
call fcn.004a44e0
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x414af5
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ac00
mov dword [ebp - 4], 1
mov edx, 4
lea ecx, [ebp - 0x28]
call fcn.004a8dd0
lea ecx, [ebp - 0x28]
call fcn.004c9b50
cmp eax, 0xffffffff
je 0x414ae9
test al, 0x10
je 0x414ae9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a320
cmp dword [esi + 0x10], 0
je 0x414af5
mov ecx, esi
call fcn.004c9ef0
test al, al
je 0x414ad2
mov ecx, esi
call fcn.004a4f10
test al, al
je 0x414af5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x414adc
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x414af5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e647b
mov esp, ebp
pop ebp
ret 8

Function at 0x414c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x414c81
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x414c70
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x417b50
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x417d1d
cmp eax, 0x7c
je 0x417d1d
cmp eax, 0x29
jne 0x417b91
cmp dword [esi + 0x10], 0
jne 0x417d1d
cmp eax, eax
jne 0x417b91
test dword [esi + 0x50], 0x10000000
je 0x417d2a
jmp 0x417cd6
cmp eax, 0x2e
jne 0x417ba5
push 5
lea ecx, [esi + 0x24]
call fcn.00417d80
jmp 0x417d01
cmp eax, 0x5c
jne 0x417c01
mov ecx, esi
call fcn.00417af0
test byte [esi + 0x50], 0x80
je 0x417bf5
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x417bd4
push 4
lea ecx, [esi + 0x24]
call fcn.00417d80
mov ecx, esi
call fcn.00417af0
jmp 0x417d0f
cmp al, 0x42
jne 0x417bf5
push 4
lea ecx, [esi + 0x24]
call fcn.00417d80
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00417af0
jmp 0x417d0f
mov ecx, esi
call fcn.00418fd0
jmp 0x417d08
cmp eax, 0x5b
jne 0x417c62
mov ecx, esi
call fcn.00417af0
lea ecx, [esi + 0x24]
call fcn.0041a4d0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x417c2e
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00417af0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x417c4c
cmp eax, 0x5d
jne 0x417c4c
push eax
lea ecx, [esi + 0x24]
call fcn.0041a5b0
mov ecx, esi
call fcn.00417af0
mov ecx, esi
call fcn.00419f50
cmp dword [esi + 0x4c], 0x5d
jne 0x417d31
jmp 0x417d01
cmp eax, 0x28
jne 0x417c92
mov ecx, esi
call fcn.00417af0
mov ecx, esi
call fcn.00419180
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x417d2a
mov ecx, esi
call fcn.00417af0
test bl, bl
je 0x417d0f
jmp 0x417d08
cmp eax, 0x5e
jne 0x417caa
push 2
lea ecx, [esi + 0x24]
call fcn.00417d80
mov ecx, esi
call fcn.00417af0
jmp 0x417d0f
cmp eax, 0x24
jne 0x417cc2
push 3
lea ecx, [esi + 0x24]
call fcn.00417d80
mov ecx, esi
call fcn.00417af0
jmp 0x417d0f
cmp eax, 0x2a
je 0x417d23
cmp eax, 0x2b
je 0x417d23
cmp eax, 0x3f
je 0x417d23
cmp eax, 0x7b
je 0x417d23
cmp eax, 0x7d
jne 0x417ce6
test dword [esi + 0x50], 0x10000000
je 0x417d38
jmp 0x417cf4
cmp eax, 0x5d
jne 0x417cf4
test dword [esi + 0x50], 0x10000000
je 0x417d31
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004193e0
mov ecx, esi
call fcn.00417af0
mov ecx, esi
call fcn.00419290
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x417b63
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.00416680
push 5
call fcn.00416680
push 4
call fcn.00416680
push 6
call fcn.00416680
int3
Function at 0x42e820
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eedc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x537008]
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 edi, edx
mov esi, ecx
call fcn.004c9d50
mov bl, al
test bl, bl
je 0x42e8fa
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e868
mov eax, dword [esi]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x5372d4], 0
je 0x42e9bb
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x42e9bb
cmp dword [eax + 0x58], 4
jb 0x42e9bb
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
jb 0x42e8d5
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x42e8dd
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x28]
push 0x50eea8
push eax
call fcn.004a44e0
add esp, 0x10
push 0x1ce
jmp 0x42e980
cmp dword [0x5372d4], 0
je 0x42e9bb
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
cmp byte [eax + 0x54], 0
je 0x42e9bb
cmp dword [eax + 0x58], 4
jb 0x42e9bb
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x42e960
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x42e968
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x28]
push str.Move_File_failed__src__s___dest__s_
push eax
call fcn.004a44e0
add esp, 0x10
push 0x1d2
push str.RC::RCSafeUpdateUtils::MoveFileToCommonFiles
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_safecommon_safeutilslibupdate_rcsafeupdateutils.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
push 4
call fcn.0043d470
test bh, bh
je 0x42e9ac
lea eax, [ebp - 0x28]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov al, bl
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.004e647b
mov esp, ebp
pop ebp
ret