joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x443860
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 0xc], bp
add ecx, ebx
add ecx, 2
mov word [esp + 0xe], cx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x40
lea eax, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0xe8ebeae5
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x443933
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edi, eax
xor edi, 0x55adcbd7
and eax, 0xd5adcbd7
lea eax, [edi + eax*2]
lea edi, [eax + ecx]
not ecx
or eax, ecx
sub ecx, eax
lea eax, [edi + ecx*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xcd
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4438f0
mov eax, dword [esp + 4]
mov edi, dword [0x44f3c8]
test edi, edi
je 0x443985
xor ebx, ebx
mov ebp, dword [0x44f3cc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x81105f7a
je 0x443961
inc ebx
cmp edi, ebx
jne 0x443950
jmp 0x443985
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x443985
lea eax, [esp + 0x18]
push esi
push eax
push edx
push dword [esp + 0x54]
push 4
push dword [0x44f3d0]
push edi
call fcn.0043f830
add esp, 0x1c
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43b643
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
add eax, 0x67d25ee4
add eax, 1
call fcn.0043b68d
inc eax
sub eax, 0x3b7350aa
mov eax, edi
xor dword [edx], ebx
add eax, eax
add eax, edi
add edx, 1
add eax, 0xc88803e5
add edi, edi
and eax, eax
cmp edx, ecx
jne fcn.0043b643
and eax, eax
ret
Function at 0x40b160
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x505790
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b1ec
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x40b1ec
cmp ebx, 0x15f90
jl 0x40b1e3
cmp ebx, 0x1d4c0
jge 0x40b1c0
mov eax, 0x32
jmp 0x40b1e5
cmp ebx, 0x2bf20
jge 0x40b1cf
mov eax, 0x64
jmp 0x40b1e5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x40b1e5
mov eax, 0xfa
jmp 0x40b1e5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b200
inc ebx
cmp ebx, 0x57e40
jl 0x40b178
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b21a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00424d40
add esp, 4
mov eax, dword [0x505794]
test eax, eax
jne 0x40b250
cmp dword [0x4f91c0], 1
je 0x40b2d4
xor ebx, ebx
xor esi, esi
cmp dword [0x50578c], 0
je 0x40b294
mov dword [0x505794], 1
cmp dword [0x4f91c0], 1
je 0x40b27f
mov dword [0x505790], 0
push dword [0x505788]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40b2f2
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00467940
push ebx
push 0x16
call fcn.00467940
add esp, 0x10
jmp 0x40b250
mov dword [0x50578c], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x505788], eax
cmp eax, 0xffffffff
jne 0x40b2b8
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b23d
push 0x40b0f0
call fcn.00468360
push 0x40b0b0
call fcn.00468360
add esp, 8
jmp 0x40b23d
push 1
push 2
call fcn.00467940
mov esi, eax
push 1
push 0x16
call fcn.00467940
add esp, 0x10
mov ebx, eax
jmp 0x40b234
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00417810
add esp, 0xc
test eax, eax
je 0x40b31c
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4f911c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x4f9118]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x4f9114]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x4f9110]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x40b324
push dword [ebp - 0x10]
push dword [0x505788]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x40b26e
Function at 0x40b370
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x505790
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b3fc
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x40b3fc
cmp ebx, 0x15f90
jl 0x40b3f3
cmp ebx, 0x1d4c0
jge 0x40b3d0
mov eax, 0x32
jmp 0x40b3f5
cmp ebx, 0x2bf20
jge 0x40b3df
mov eax, 0x64
jmp 0x40b3f5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x40b3f5
mov eax, 0xfa
jmp 0x40b3f5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b410
inc ebx
cmp ebx, 0x57e40
jl 0x40b388
mov eax, dword [ebp - 4]
test eax, eax
je 0x40b42a
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.00424d40
add esp, 4
mov eax, dword [0x505794]
test eax, eax
jne 0x40b460
cmp dword [0x4f91c0], 1
je 0x40b4f9
xor ebx, ebx
xor esi, esi
cmp dword [0x50578c], 0
je 0x40b4b6
mov dword [0x505794], 1
cmp dword [0x4f91c0], 1
je 0x40b4a1
mov dword [0x505790], 0
push dword [0x505788]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x40b537
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp dword [0x4f91c0], 1
je 0x40b517
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00467940
push ebx
push 0x16
call fcn.00467940
add esp, 0x10
jmp 0x40b460
mov dword [0x50578c], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x505788], eax
cmp eax, 0xffffffff
jne 0x40b4dd
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b44d
push 0x40b0f0
call fcn.00468360
push 0x40b0b0
call fcn.00468360
add esp, 8
jmp 0x40b44d
push 1
push 2
call fcn.00467940
mov esi, eax
push 1
push 0x16
call fcn.00467940
add esp, 0x10
mov ebx, eax
jmp 0x40b444
push 1
push 2
call fcn.00467940
push 1
push 0x16
mov dword [ebx + 0x64], eax
call fcn.00467940
add esp, 0x10
mov dword [ebx + 0x68], eax
jmp 0x40b495
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00417810
add esp, 0xc
test eax, eax
je 0x40b55e
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x4f911c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x4f9118]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x4f9114]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x4f9110]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x40b566
push dword [ebp - 0x10]
push dword [0x505788]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp - 0x10]
jmp 0x40b483
Function at 0x4109d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebx + 0x13c]
test edx, edx
mov ecx, edx
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
jne 0x4109f5
mov ecx, 0x20000
sub edi, eax
cmp edi, ecx
ja 0x410a23
push 0
lea edx, [ebp - 8]
push edx
push edi
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x410a98
mov ecx, 1
jmp 0x410a98
test edx, edx
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edi, eax
jne 0x410a33
mov edx, 0x20000
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], esi
mov esi, ecx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410a62
mov edi, dword [ebp - 0x18]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x410a98
mov edx, dword [ebx + 0x13c]
test edx, edx
mov eax, dword [ebp - 8]
jne 0x410a74
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x410a85
mov dword [ebp - 4], esi
test esi, esi
jne 0x410a89
jmp 0x410a8d
test esi, esi
je 0x410a8d
test eax, eax
ja 0x410a3b
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x40], edx
add edx, eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
mov dword [ebx + 0x44], edx
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
mov dword [ebx + 0xc0], edi
adc edx, dword [ebx + 0xc4]
and byte [ebx + 0x16d], 0xfb
mov dword [ebx + 0xc4], edx
cmp ecx, 0xffffffff
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], edx
je 0x410af8
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x419800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebx + 0x13c]
test edx, edx
mov ecx, edx
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
jne 0x419825
mov ecx, 0x20000
sub edi, eax
cmp edi, ecx
ja 0x419853
push 0
lea edx, [ebp - 8]
push edx
push edi
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x4198c8
mov ecx, 1
jmp 0x4198c8
test edx, edx
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edi, eax
jne 0x419863
mov edx, 0x20000
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], esi
mov esi, ecx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x419892
mov edi, dword [ebp - 0x18]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x4198c8
mov edx, dword [ebx + 0x13c]
test edx, edx
mov eax, dword [ebp - 8]
jne 0x4198a4
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x4198b5
mov dword [ebp - 4], esi
test esi, esi
jne 0x4198b9
jmp 0x4198bd
test esi, esi
je 0x4198bd
test eax, eax
ja 0x41986b
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x40], edx
add edx, eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
mov dword [ebx + 0x44], edx
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
mov dword [ebx + 0xc0], edi
adc edx, dword [ebx + 0xc4]
and byte [ebx + 0x16d], 0xfb
mov dword [ebx + 0xc4], edx
cmp ecx, 0xffffffff
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], edx
je 0x419928
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x41eb10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebx + 0x13c]
test edx, edx
mov ecx, edx
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
jne 0x41eb35
mov ecx, 0x20000
sub edi, eax
cmp edi, ecx
ja 0x41eb63
push 0
lea edx, [ebp - 8]
push edx
push edi
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x41ebd8
mov ecx, 1
jmp 0x41ebd8
test edx, edx
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edi, eax
jne 0x41eb73
mov edx, 0x20000
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], esi
mov esi, ecx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41eba2
mov edi, dword [ebp - 0x18]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x41ebd8
mov edx, dword [ebx + 0x13c]
test edx, edx
mov eax, dword [ebp - 8]
jne 0x41ebb4
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x41ebc5
mov dword [ebp - 4], esi
test esi, esi
jne 0x41ebc9
jmp 0x41ebcd
test esi, esi
je 0x41ebcd
test eax, eax
ja 0x41eb7b
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x40], edx
add edx, eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
mov dword [ebx + 0x44], edx
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
mov dword [ebx + 0xc0], edi
adc edx, dword [ebx + 0xc4]
and byte [ebx + 0x16d], 0xfb
mov dword [ebx + 0xc4], edx
cmp ecx, 0xffffffff
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], edx
je 0x41ec38
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x421b80
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x424b70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x424d2c
mov edx, dword [0x4f91c0]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x50a6e8]
jge 0x424bbf
mov eax, dword [ebx]
test eax, eax
jne 0x424c00
mov dword [edi + 0x50a6e8], 1
jmp 0x424c00
push ebx
call fcn.0040b600
add esp, 4
test eax, eax
jne 0x424bfa
cmp dword [edi + 0x50a6e4], 0
je 0x424d0c
mov dword [edi + 0x50a6e8], 0
push 0xffffffffffffffff
push dword [edi + 0x50a6e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.0040b600
add esp, 4
mov edx, dword [0x4f91c0]
cmp edx, 1
je 0x424cf8
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x424c6f
mov eax, dword [0x4f91c0]
cmp eax, 1
je 0x424c54
cmp eax, 2
jge 0x424c2f
mov dword [edi + 0x50a6e8], 0
jmp 0x424c45
mov dword [edi + 0x50a6e8], 0
push dword [edi + 0x50a6e4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x50a6f8]
push dword [edi + 0x50a6f4]
call fcn.0040b5e0
add esp, 8
mov eax, dword [0x4f91c0]
jmp 0x424c1e
mov edx, dword [esi]
test edx, edx
je 0x424c7b
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x424c86
mov dword [eax], edx
jmp 0x424c8c
mov dword [edi + 0x50a6e0], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x4f91c0]
cmp eax, 1
je 0x424cdd
cmp eax, 2
jge 0x424cb1
mov dword [edi + 0x50a6e8], 0
jmp 0x424cc7
mov dword [edi + 0x50a6e8], 0
push dword [edi + 0x50a6e4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.004178d0
push esi
call fcn.004178d0
add esp, 8
jmp 0x424c45
push dword [edi + 0x50a6f8]
push dword [edi + 0x50a6f4]
call fcn.0040b5e0
add esp, 8
mov eax, dword [0x4f91c0]
jmp 0x424ca0
lea eax, [edi + 0x50a6f4]
push eax
call fcn.0040b5b0
add esp, 4
jmp 0x424c09
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x50a6e4], eax
mov dword [edi + 0x50a6e8], 0
jmp 0x424be3
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x424d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.00435840
mov ebx, dword [ebp + 8]
cmp dword [0x50ffe0], 0
jne 0x424d67
test ebx, ebx
je 0x424d5c
mov eax, dword [ebx]
jmp 0x424d5e
xor eax, eax
push eax
call fcn.0046b0f0
add esp, 4
test ebx, ebx
je 0x424d6f
mov eax, dword [ebx]
jmp 0x424d71
xor eax, eax
push eax
call fcn.004bcc70
add esp, 4
jmp 0x424d54
Function at 0x42e780
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x42e78c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x50ffe0], 0
je 0x42e863
cmp dword [ebp + 0x20], 2
je 0x42e7c3
cmp dword [ebp + 0x20], 1
jne 0x42e7d2
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x42e7e2
cmp dword [ebp + 0x20], 0xfffffffa
je 0x42e928
cmp dword [ebp + 0x20], 0
je 0x42e934
xor ecx, ecx
xor edi, edi
cmp dword [ebp + 0x18], 0
je 0x42e817
cmp dword [ebp + 0x1c], 0
je 0x42e817
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004bca20
push edi
call fcn.004bcb90
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42e863
push edi
push esi
push ebx
call fcn.004bcac0
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x42e958
push 0
push edi
push 2
push 0x4d3ba4
call fcn.004bca80
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x42e88b
mov edi, dword [ecx + 0x13c]
test edi, edi
jne 0x42e890
mov edi, 0x20000
cmp esi, edi
jbe 0x42e904
cmp dword [ebp + 0x20], 0
je 0x42e904
test ecx, ecx
je 0x42e8a8
mov edi, dword [ecx + 0x13c]
test edi, edi
jne 0x42e8ad
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e8f2
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x42e8e7
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x13c]
test edx, edx
jne 0x42e8ec
mov edx, 0x20000
cmp esi, edx
ja 0x42e8f2
mov edi, esi
test esi, esi
je 0x42e91b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x42e91b
test eax, eax
jne 0x42e8b0
jmp 0x42e91b
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x42e7f6
mov dword [ebp - 0x10], edx
call fcn.004bccb0
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x50ffe0], 0
je 0x42e81b
mov ecx, 1
jmp 0x42e7f0
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431c30
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x43cd90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 0x10], edi
mov edx, dword [ebx + 0x13c]
test edx, edx
mov ecx, edx
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
jne 0x43cdb5
mov ecx, 0x20000
sub edi, eax
cmp edi, ecx
ja 0x43cde3
push 0
lea edx, [ebp - 8]
push edx
push edi
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xffffffff
test eax, eax
je 0x43ce58
mov ecx, 1
jmp 0x43ce58
test edx, edx
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edi, eax
jne 0x43cdf3
mov edx, 0x20000
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], esi
mov esi, ecx
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43ce22
mov edi, dword [ebp - 0x18]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x14]
jmp 0x43ce58
mov edx, dword [ebx + 0x13c]
test edx, edx
mov eax, dword [ebp - 8]
jne 0x43ce34
mov edx, 0x20000
sub esi, eax
add edi, eax
cmp esi, edx
jae 0x43ce45
mov dword [ebp - 4], esi
test esi, esi
jne 0x43ce49
jmp 0x43ce4d
test esi, esi
je 0x43ce4d
test eax, eax
ja 0x43cdfb
mov edi, dword [ebp - 0x18]
mov ecx, 1
mov esi, dword [ebp - 0x14]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0xf8]
mov dword [ebx + 0x40], edx
add edx, eax
xor eax, eax
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov eax, edi
mov dword [ebx + 0x44], edx
cdq
mov eax, dword [ebx + 0xc0]
add edi, eax
mov dword [ebx + 0xc0], edi
adc edx, dword [ebx + 0xc4]
and byte [ebx + 0x16d], 0xfb
mov dword [ebx + 0xc4], edx
cmp ecx, 0xffffffff
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], edx
je 0x43ceb8
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x484ef0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4faff0]
jne 0x484efa
repz ret
jmp fcn.004971a0