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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 0
mov dword [esi], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x10], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x42f5be
call fcn.0045f9d0
lea ecx, [ebp + 0xc]
cmp dword [esi], ebx
je 0x42f5e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x42f600
cmp edi, 2
jae 0x42f620
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp + 0xc]
lea esi, [ebp + 8]
lea edi, [esi + 0xc]
call fcn.00486890
mov ecx, edi
call fcn.00486890
mov eax, dword [esi]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], eax
call fcn.0045f9d0
push dword [esi]
call fcn.00474ca0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp edi, 2
jb 0x42f5da
mov dword [esi], ebx
mov esi, eax
call fcn.0045f9d0
mov eax, esi
jmp 0x42f5da

Function at 0x42ff20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x7ad750]
cmp esi, 1
ja 0x42ff86
push 0x7ad750
call fcn.0045f540
add esp, 4
test al, al
je 0x42ff80
mov dword [0x7ad758], 0
mov dword [0x7ad754], 0
mov esi, 0x7ad754
mov ecx, 0x7ad754
push 0
call fcn.0046cf10
push 0x7ad750
push 0
push 0x7ad754
push 0x7ad750
call fcn.0045f600
add esp, 0x10
jmp 0x42ff86
mov esi, dword [0x7ad750]
mov ecx, esi
pop esi
pop ebp
jmp fcn.0046cea0

Function at 0x4326b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
push 0x6fd13e
call fcn.0048f9c0
mov dword [esi], 0x6fd140
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov word [esi + 0x1c], 0x100
mov byte [esi + 0x1e], 1
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
movups xmm0, xmmword [0x737508]
movups xmmword [esi + 0x40], xmm0
mov eax, dword [0x7ad774]
mov ecx, dword [0x7bafb8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x14]
jg 0x432747
lock add dword [0x7ad76c], 1
mov eax, esi
pop esi
pop edi
pop ebp
ret 0x18
push 0x7ad774
call fcn.006c9157
add esp, 4
cmp dword [0x7ad774], 0xffffffff
jne 0x432737
mov dword [0x7ad770], 0x6fd14c
call fcn.00476ba0
mov ecx, eax
push 0
push str.MojoMessages
push 0x7ad770
call fcn.00476d20
push 0x7ad774
call fcn.006c91cd
add esp, 4
jmp 0x432737
Function at 0x436890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1c0
mov esi, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x1b8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
movdqa xmmword [esp + 0x180], xmm0
movdqa xmmword [esp + 0x170], xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xac], 0
lea ebx, [esp + 0xac]
lea edi, [esp + 0xb0]
push 0
push ebx
push 0x100
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436a45
mov dword [esp], 0xffffffff
mov eax, esp
push 0
push 0
push dword [esp + 0xb4]
push edi
push eax
call fcn.00412900
add esp, 0x14
mov ecx, dword [esp]
test ecx, ecx
je 0x4369a7
call fcn.00412f60
cmp eax, 7
ja 0x436a90
push 4
call fcn.0045ff80
add esp, 4
test al, al
je 0x4369e4
lea ecx, [esp + 4]
push 4
push 0x40
push str..._.._mojo_core_broker_win.cc
call fcn.0045fff0
lea eax, [esp + 0xc]
push 0x16
push str.Invalid_broker_message
push eax
call fcn.00402ac0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.00460400
push edi
call fcn.00405540
add esp, 4
push ebx
call fcn.00405540
add esp, 4
lea edi, [esp + 4]
push 0x6facc9
push 0x44
push str..._.._mojo_core_broker_win.cc
push edi
call fcn.00458d10
add esp, 0x10
mov ecx, edi
call fcn.00458d80
mov ecx, edi
call fcn.00458d90
mov dword [esi], 0
mov edi, dword [esp]
mov dword [esp], 0
test edi, edi
je 0x436aa4
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
jmp 0x436aa4
push 4
call fcn.0045ff80
add esp, 4
test al, al
je 0x436a88
call fcn.00460c10
lea edi, [esp + 4]
mov ecx, edi
push eax
push 4
push 0x38
push str..._.._mojo_core_broker_win.cc
call fcn.00460db0
lea eax, [esp + 0xc]
push 0x19
push str.Error_reading_broker_pipe
push eax
call fcn.00402ac0
add esp, 0xc
mov ecx, edi
call fcn.00460e60
mov dword [esi], 0
jmp 0x436aa4
mov ecx, dword [esp]
call fcn.00412ef0
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
jne 0x436abc
mov eax, dword [esp]
mov dword [esi], eax
mov ecx, dword [esp + 0x1b8]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
call fcn.0045ff80
add esp, 4
test al, al
je 0x436af9
lea ecx, [esp + 4]
push 4
push 0x4b
push str..._.._mojo_core_broker_win.cc
call fcn.0045fff0
lea eax, [esp + 0xc]
push 0x1e
push str.Unexpected_broker_message_type
push eax
call fcn.00402ac0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.00460400
push edi
call fcn.00405540
add esp, 4
push ebx
call fcn.00405540
add esp, 4
lea edi, [esp + 4]
push 0x6facc9
push 0x4f
push str..._.._mojo_core_broker_win.cc
push edi
call fcn.00458d10
add esp, 0x10
mov ecx, edi
call fcn.00458d80
mov ecx, edi
call fcn.00458d90
jmp 0x436a1d
Function at 0x437220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jae 0x437242
cmp dword [esi], ebx
jne 0x43724b
jmp 0x437267
call fcn.0045f9d0
cmp dword [esi], ebx
je 0x437267
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jae 0x437273
cmp edi, 2
jae 0x437293
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.0045f9d0
push dword [esi]
call fcn.00474ca0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp edi, 2
jb 0x437260
mov dword [esi], ebx
mov edi, eax
call fcn.0045f9d0
mov eax, edi
jmp 0x437260

Function at 0x437f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [edx]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov ecx, esi
push eax
call ebx
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ebx, esi
je 0x437fee
nop
mov ecx, ebx
call fcn.0042f220
add ebx, 0x14
cmp ebx, esi
jne 0x437fe0
mov edi, dword [ebp - 0x2c]
lea eax, [edi + 0x74]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
push dword [ebp - 0x24]
push 0
push dword [ebp - 0x20]
push eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x438034
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x438044
mov byte [edi + 0x9e], 1
lock add dword [edi + 4], 1
mov bl, 1
jmp 0x438046
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x438081
mov esi, dword [ebp - 0x18]
cmp esi, edi
je 0x438073
nop word cs:[eax + eax]
nop
add esi, 0xffffffec
mov ecx, esi
call fcn.0042f190
cmp esi, edi
jne 0x438060
mov eax, dword [ebp - 0x1c]
jmp 0x438075
mov eax, edi
mov dword [ebp - 0x18], edi
push eax
call fcn.006c90e6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4384ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, 0x7bafe0
push 0
call fcn.006c99a0
test eax, eax
je 0x4385b1
mov ecx, dword [ebp + 8]
mov edx, ecx
shr edx, 4
inc edx
movzx edx, dx
mov dword [ebp - 0x20], edx
and ecx, 0xf
mov dword [ebp - 0x1c], ecx
dec ecx
mov dword [ebp - 0x18], ecx
xor edi, edi
inc edi
push 0
push dword [ebp - 0x20]
push 6
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x43859d
mov esi, eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43859d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43859d
mov ebx, eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
cmp dword [ebp - 0x1c], 0
je 0x43858f
test eax, eax
jle 0x43858f
mov edx, ebx
add edx, eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [ebx]
lea ebx, [ebx + ecx*2]
add ebx, 2
cmp ebx, edx
setb cl
add eax, 0xffffffff
jae 0x43858f
cmp ebx, edx
jb 0x438578
test cl, cl
je 0x43859d
cmp word [ebx], 0
je 0x43859d
test ebx, ebx
jne 0x4385bd
mov ecx, 0x7bafe0
push edi
inc edi
call fcn.006c99a0
test eax, eax
jne 0x438526
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4385b1
mov ecx, dword [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.004389b8
jmp 0x4385b3

Function at 0x4389b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, edi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor eax, eax
test esi, esi
je 0x438a8d
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x438a8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x438a8b
mov ebx, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and edi, 0xf
je 0x438a3e
test eax, eax
jle 0x438a3e
mov edx, ebx
add edx, eax
dec edi
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
cmp ebx, edx
setb cl
add edi, 0xffffffff
jae 0x438a3e
cmp ebx, edx
jb 0x438a27
test cl, cl
je 0x438a8b
movzx esi, word [ebx]
test esi, esi
mov eax, 0
je 0x438a8d
test ebx, ebx
je 0x438a8d
lea eax, [ebx + 2]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
mov ecx, edi
push esi
call fcn.00438b18
movzx ecx, word [ebx]
push ecx
push dword [ebp - 0x10]
push esi
push eax
call fcn.00438aa2
add esp, 0x10
mov eax, dword [edi]
cmp dword [eax - 8], esi
jl 0x438a97
mov dword [eax - 0xc], esi
mov eax, dword [edi]
mov word [eax + esi*2], 0
xor eax, eax
inc eax
jmp 0x438a8d
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.00474c00
int3
Function at 0x4393a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x439450
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.006dcfca
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.006ce01f
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.006e4d30
add esp, 0x10
call fcn.006dfb20
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.006cac61
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.006ce01f
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.006e4d30
add esp, 0x10
call fcn.006dfb20

Function at 0x439426
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
lea esi, [ebp - 0x18]
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x439450
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
call fcn.006dcfca
mov ecx, eax
call dword [section..00cfg]
mov dword [esi + 8], 1
call ecx
push 2
call fcn.006ce01f
add esp, 4
push eax
push 1
push 0x28
push str.terminate_handler_unexpectedly_returned_n
call fcn.006e4d30
add esp, 0x10
call fcn.006dfb20
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.006cac61
push ebp
sub esp, 0x10
add ebp, 0xc
mov dword [ebp - 0x1c], esp
push 2
call fcn.006ce01f
add esp, 4
push eax
push 1
push 0x32
push str.terminate_handler_unexpectedly_threw_an_exception_n
call fcn.006e4d30
add esp, 0x10
call fcn.006dfb20

Function at 0x43d0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x20], ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
xor eax, eax
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0xffffffff
mov ebx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call esi
mov ebx, eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
jne 0x43d175
cmp ebx, 1
je 0x43d105
cmp ebx, 2
mov esi, 0xffffffff
je 0x43d178
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.006e4293
add esp, 4
neg eax
sbb esi, esi
jmp 0x43d178
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43d190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x43d1b6
push dword [ecx + 0x20]
push edi
push 1
push eax
call fcn.006e4d30
add esp, 0x18
jmp 0x43d1f8
test edi, edi
jle 0x43d1f1
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, byte [eax + edi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp eax, 0xffffffff
je 0x43d1f3
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x43d1c2
mov edi, edx
jmp 0x43d1f3
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x43d200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
cmp ebx, edi
je 0x43d249
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x43d252
xor esi, esi
inc esi
lea eax, [ebp - 0x19]
push dword [ecx + 0x20]
push esi
push esi
push eax
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
je 0x43d24b
jmp 0x43d2f8
xor ebx, ebx
mov edi, ebx
jmp 0x43d2f8
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x19]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x43d2f5
mov ebx, eax
cmp eax, 3
je 0x43d2d5
cmp ebx, 1
ja 0x43d2f5
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
jne 0x43d2f5
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x43d260
jmp 0x43d2ed
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
jne 0x43d2f5
mov ebx, dword [ebp + 8]
jmp 0x43d24b
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x43d360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x43d386
push dword [ecx + 0x20]
push edi
push 2
push eax
call fcn.006e4d30
add esp, 0x18
jmp 0x43d3c9
test edi, edi
jle 0x43d3c2
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x30]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push dword [ebp - 0x14]
call ebx
cmp ax, 0xffff
je 0x43d3c4
inc edi
mov edx, dword [ebp + 0xc]
cmp edx, edi
mov eax, dword [ebp + 8]
jne 0x43d392
mov edi, edx
jmp 0x43d3c4
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x43d3d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
movzx esi, word [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp si, 0xffff
je 0x43d41d
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x43d435
lea eax, [ebp - 0x1a]
push dword [ecx + 0x20]
push 1
push 2
push eax
call fcn.006e4d30
add esp, 0x10
cmp eax, 1
je 0x43d41f
xor esi, esi
dec esi
jmp 0x43d41f
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [edx], eax
lea edi, [ebp - 0x1a]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0xffffffff
mov esi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x2c]
call ebx
cmp dword [ebp - 0x24], edi
je 0x43d418
mov ebx, eax
cmp eax, 3
je 0x43d4bc
cmp ebx, 1
ja 0x43d418
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
sub esi, ecx
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push 1
push ecx
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
jne 0x43d418
mov edi, dword [ebp - 0x24]
cmp ebx, 1
mov ecx, dword [ebp - 0x28]
je 0x43d443
jmp 0x43d4d8
xor esi, esi
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
push esi
push esi
push edi
call fcn.006e4d30
add esp, 0x10
cmp eax, esi
jne 0x43d418
movzx esi, word [ebp + 8]
jmp 0x43d41f
Function at 0x443260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x454050
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov edi, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [edi + 4], 1
jne 0x4432cf
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push dword [ebp - 0x20]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x4433ea
lea esi, [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.00439eca
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x7add88
call fcn.0044f3ea
mov esi, eax
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x44331a
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea esi, [ebp - 0x2c]
push esi
call edi
mov edi, esi
mov al, byte [ebp - 0x21]
test al, al
jns 0x443351
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test al, al
js 0x443369
movzx eax, al
add eax, ebp
add eax, 0xffffffd4
cmp edi, eax
jne 0x443375
jmp 0x4433d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add ecx, eax
cmp edi, ecx
je 0x4433d4
test ebx, ebx
je 0x44338d
mov al, byte [edi]
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x1c]
je 0x443391
lea edx, [ecx + 1]
mov dword [ebx + 0x18], edx
mov byte [ecx], al
jmp 0x4433ca
xor ebx, ebx
jmp 0x4433ca
mov dword [ebp - 0x20], edi
movzx edi, al
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push edi
call esi
xor ebx, ebx
cmp eax, 0xffffffff
je 0x4433c4
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
inc edi
mov al, byte [ebp - 0x21]
jmp 0x443357
mov dword [esi], ebx
jmp 0x4433df
mov dword [esi], ebx
push eax
call fcn.006c90e6
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14