joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d00
Capabilities:
Read file on windows

Disassembly:
imul eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
test eax, eax
jbe 0x413d6d
push esi
mov esi, ecx
push edi
add esi, 2
mov edi, eax
push ebp
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.004294bd
mov eax, dword [esp + 0x24]
mov edx, eax
mov cl, al
and edx, 0x3e0
and eax, 0x7c00
and cl, 0x1f
add edx, edx
add eax, eax
add cl, cl
add edx, edx
add eax, eax
add cl, cl
add edx, edx
add eax, eax
add cl, cl
shr edx, 5
shr eax, 0xa
mov byte [esi - 2], cl
mov byte [esi - 1], dl
mov byte [esi], al
mov byte [esi + 1], 0xff
add esp, 0x10
add esi, 4
sub edi, 1
jne 0x413d17
pop edi
pop esi
pop ebp
ret

Function at 0x413e70
Capabilities:
Read file on windows

Disassembly:
push ecx
imul eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
lea eax, [esi + eax*4]
mov dword [esp + 8], eax
cmp esi, eax
jae 0x413f6f
push ebx
push edi
mov bl, 0xff
push ebp
call fcn.00428653
movzx edi, al
and edi, 0x7f
add esp, 4
inc edi
test al, al
jns 0x413f05
push ebp
push 1
lea eax, [esp + 0x24]
push 2
push eax
call fcn.004294bd
add esp, 0x10
test edi, edi
jbe 0x413f63
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov dl, cl
and eax, 0x3e0
and ecx, 0x7c00
and dl, 0x1f
add eax, eax
add ecx, ecx
add dl, dl
add eax, eax
add ecx, ecx
add dl, dl
add eax, eax
add ecx, ecx
add dl, dl
shr eax, 5
shr ecx, 0xa
lea ecx, [ecx]
mov byte [esi], dl
mov byte [esi + 1], al
mov byte [esi + 2], cl
mov byte [esi + 3], bl
add esi, 4
sub edi, 1
jne 0x413ef0
jmp 0x413f63
test edi, edi
jbe 0x413f63
lea esp, [esp]
push ebp
push 1
lea ecx, [esp + 0x24]
push 2
push ecx
call fcn.004294bd
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov dl, al
and ecx, 0x3e0
and eax, 0x7c00
and dl, 0x1f
add ecx, ecx
add eax, eax
add dl, dl
add ecx, ecx
add eax, eax
add dl, dl
add ecx, ecx
add eax, eax
add dl, dl
shr ecx, 5
shr eax, 0xa
mov byte [esi], dl
mov byte [esi + 1], cl
mov byte [esi + 2], al
mov byte [esi + 3], bl
add esp, 0x10
add esi, 4
sub edi, 1
jne 0x413f10
cmp esi, dword [esp + 0x10]
jb 0x413e91
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x413f80
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
imul eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, ecx
push edi
lea edi, [ebx + eax*4]
mov dword [esp + 0xc], edi
cmp ebx, edi
jae 0x414011
push esi
lea ecx, [ecx]
push ebp
call fcn.00428653
movzx esi, al
and esi, 0x7f
add esp, 4
inc esi
test al, al
jns 0x413fe2
push ebp
push 3
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004294bd
add esp, 0x10
test esi, esi
jbe 0x41400c
mov eax, dword [esp + 0x20]
mov edi, ebx
mov ecx, esi
or eax, 0xff000000
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea ebx, [ebx + esi*4]
jmp 0x41400c
test esi, esi
jbe 0x41400c
push ebp
push 3
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.004294bd
mov edx, dword [esp + 0x24]
or edx, 0xff000000
mov dword [ebx], edx
add esp, 0x10
add ebx, 4
sub esi, 1
jne 0x413fe6
cmp ebx, edi
jb 0x413fa0
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x414020
Capabilities:
Read file on windows

Disassembly:
push ecx
imul eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ecx
push edi
lea edi, [ebx + eax*4]
mov dword [esp + 0xc], edi
cmp ebx, edi
jae 0x41409c
push esi
jmp 0x414040
push ebp
call fcn.00428653
movzx esi, al
and esi, 0x7f
add esp, 4
inc esi
test al, al
jns 0x41407d
push ebp
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.004294bd
add esp, 0x10
test esi, esi
jbe 0x414097
mov eax, dword [esp + 0x1c]
mov edi, ebx
mov ecx, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea ebx, [ebx + esi*4]
jmp 0x414097
test esi, esi
jbe 0x414097
push ebp
push 1
push 4
push ebx
call fcn.004294bd
add esp, 0x10
add ebx, 4
sub esi, 1
jne 0x414081
cmp ebx, edi
jb 0x414040
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4141e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp dword [eax + 0x18], 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov ebx, ecx
jb 0x4141f7
mov eax, dword [eax + 4]
jmp 0x4141fa
add eax, 4
push 0x4611e8
push eax
call fcn.00427d18
mov edi, eax
add esp, 8
test edi, edi
jne 0x414215
pop edi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
push edi
push 1
lea eax, [esp + 0x1c]
push 0x12
push eax
call fcn.004294bd
movsx ecx, word [esp + 0x30]
movsx eax, word [esp + 0x32]
mov dword [ebp], eax
imul eax, ecx
mov dword [ebx], ecx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov esi, eax
movzx eax, byte [esp + 0x28]
push 1
push eax
push edi
call fcn.00428cf0
xor edx, edx
add esp, 0x20
mov dword [esp + 0x10], edx
cmp byte [esp + 0x15], dl
je 0x4142a7
movzx ecx, byte [esp + 0x1b]
movsx edx, word [esp + 0x19]
shr ecx, 3
imul ecx, edx
push ecx
call fcn.00426b12
movzx ecx, byte [esp + 0x1f]
movsx edx, word [esp + 0x1d]
shr ecx, 3
imul ecx, edx
push edi
push ecx
push 1
push eax
mov dword [esp + 0x24], eax
call fcn.004294bd
mov edx, dword [esp + 0x24]
add esp, 0x14
movzx eax, byte [esp + 0x16]
dec eax
cmp eax, 0xa
ja case.0x4142b6.4
jmp dword [eax*4 + 0x414410]
mov eax, dword [ebp]
push eax
mov eax, dword [ebx]
push edx
mov ecx, esi
mov ebx, edi
call fcn.00413cb0
add esp, 8
jmp 0x4143f0
mov al, byte [esp + 0x24]
cmp al, 0x10
je 0x414316
cmp al, 0x18
je 0x414301
cmp al, 0x20
jne case.0x4142b6.4
mov ecx, dword [ebx]
imul ecx, dword [ebp]
push edi
push ecx
push 4
push esi
call fcn.004294bd
add esp, 0x10
jmp 0x4143f0
mov edx, dword [ebp]
mov eax, dword [ebx]
push edx
mov ecx, esi
call fcn.00413d70
add esp, 4
jmp 0x4143f0
mov eax, dword [ebp]
push eax
mov eax, dword [ebx]
push edi
mov ecx, esi
call fcn.00413d00
add esp, 8
jmp 0x4143f0
cmp byte [esp + 0x24], 8
mov eax, dword [ebx]
jne 0x414349
mov ecx, dword [ebp]
push ecx
push edi
mov ecx, esi
call fcn.00413c30
add esp, 8
jmp 0x4143f0
mov edx, dword [ebp]
push edx
mov ecx, esi
call fcn.00413c70
add esp, 4
jmp 0x4143f0
mov eax, dword [ebp]
push eax
mov eax, dword [ebx]
push edi
mov ecx, esi
mov ebx, edx
call fcn.00413db0
add esp, 8
jmp 0x4143f0
mov al, byte [esp + 0x24]
cmp al, 0x10
je 0x4143a7
cmp al, 0x18
je 0x414394
cmp al, 0x20
jne case.0x4142b6.4
mov ecx, dword [ebp]
mov eax, dword [ebx]
push ecx
push edi
mov ecx, esi
call fcn.00414020
add esp, 8
jmp 0x4143f0
mov edx, dword [ebp]
mov eax, dword [ebx]
push edx
push edi
mov ecx, esi
call fcn.00413f80
add esp, 8
jmp 0x4143f0
mov eax, dword [ebp]
push eax
mov eax, dword [ebx]
push edi
mov ecx, esi
call fcn.00413e70
add esp, 8
jmp 0x4143f0
cmp byte [esp + 0x24], 8
mov eax, dword [ebx]
jne 0x4143d4
mov ecx, dword [ebp]
push ecx
push edi
mov ecx, esi
call fcn.004140b0
add esp, 8
jmp 0x4143f0
mov edx, dword [ebp]
push edx
push edi
mov ecx, esi
call fcn.00414140
add esp, 8
jmp 0x4143f0
push esi
call fcn.00427d2f
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call fcn.00427d2f
push edi
call fcn.00427e39
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x414ea0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [0x4687c0]
or ecx, 0xffffffff
push edi
mov byte [esp + 0x1c], 0
xor eax, eax
jmp 0x414ec0
mov edx, dword [esp + 0x38]
cmp dword [edx + eax*4], 0
jle 0x414ed1
cmp ecx, 0xffffffff
jne 0x414ee0
mov ecx, eax
inc eax
cmp eax, 6
jl 0x414ec0
cmp ecx, 0xffffffff
jne 0x414fde
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x24], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
sub edi, ecx
mov ecx, dword [0x468840]
push ecx
push esi
mov dword [esp + 0x1c], eax
sub ebp, eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x44d
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
test bl, 1
je 0x414f3e
dec dword [esp + 0x14]
add ebp, 2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0x304
add edi, 2
push edi
push ebp
dec eax
push eax
push edx
push 0
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
inc ebx
cmp ebx, 0x2d
jb 0x414f32
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x44e
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x44f
push esi
call edi
push eax
call ebx
push 5
push 1
push esi
call edi
push eax
call ebx
push 5
push 2
push esi
call edi
push eax
call ebx
push 0x44f
push esi
call edi
push eax
mov eax, dword [esp + 0x3c]
call fcn.00414460
mov eax, dword [0x4687c8]
add esp, 4
cmp eax, 0xffffffff
jne 0x414fea
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4687c4], 0
je 0x414fe5
push 1
call esi
mov eax, dword [0x4687c8]
cmp eax, 0xffffffff
je 0x414fc5
jmp 0x414fea
mov eax, ecx
mov dword [0x4687c8], eax
cmp eax, 0xffffffff
je 0x41500d
cmp byte [0x4687c4], 0
je 0x41500d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [ecx + eax*4]
push edx
call fcn.00414770
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x416500
Capabilities:
Create thread
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
xor ebp, ebp
mov ebx, eax
mov eax, dword [0x467a9c]
push edi
lea edi, [esi + 8]
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
cmp eax, 0xffffffff
jne 0x416570
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [0x4687ec]
cmp eax, 0xffffffff
jne 0x416561
mov eax, dword [esp + 0x20]
jmp 0x41656b
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jge 0x41656b
mov eax, ecx
mov dword [0x467a9c], eax
cmp eax, 1
mov dword [esi], ebp
mov dword [esi + 4], 1
mov dword [0x4687b8], ebp
jle 0x4165d2
cmp ebx, 1
jle 0x4165d2
cmp ebx, eax
jge 0x41658f
mov eax, ebx
push eax
push ebp
push ebp
push 0xffffffffffffffff
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edx, dword [esi + 4]
mov dword [esi], eax
call fcn.00416710
xor edi, edi
cmp dword [esi + 4], ebp
jle 0x4165d2
mov edi, edi
mov edx, dword [esi]
mov ecx, dword [esi + 0xc]
push ebp
push ebp
push edx
push 0x416210
push ebp
push ebp
lea ebx, [ecx + edi*4]
call fcn.0042974e
inc edi
add esp, 0x18
mov dword [ebx], eax
cmp edi, dword [esi + 4]
jl 0x4165b0
pop edi
pop ebp
mov eax, esi
pop ebx
add esp, 0x24
ret
Function at 0x416e60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, eax
and ebx, 0x80000001
push esi
push edi
jns 0x416e76
dec ebx
or ebx, 0xfffffffe
inc ebx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, ebx
mov eax, ebp
imul eax, ebp
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x18], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov esi, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esi]
mov edi, ebp
add esp, 4
sub edi, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
je 0x416fb6
mov dword [esp + 0x1c], edi
mov esi, edx
test edi, edi
jbe 0x416efa
lea esp, [esp]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, ecx
xor ebx, edx
shr ebx, 1
and ebx, 0x7f7f7f7f
and ecx, edx
add ebx, ecx
mov dword [esi], ebx
add esi, 4
add eax, 8
sub edi, 1
jne 0x416ed0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x416f1c
mov ecx, dword [eax]
mov edx, dword [eax - 4]
mov edi, ecx
xor edi, edx
shr edi, 1
and edi, 0x7f7f7f7f
and ecx, edx
add edi, ecx
mov dword [esi], edi
mov edi, dword [esp + 0x10]
add eax, 4
mov esi, dword [esp + 0x14]
test edi, edi
jbe 0x416f62
mov ebx, edi
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov ecx, edx
xor ecx, edi
and edx, edi
shr ecx, 1
and ecx, 0x7f7f7f7f
add ecx, edx
mov edx, dword [esi]
mov edi, edx
xor edi, ecx
shr edi, 1
and edi, 0x7f7f7f7f
and edx, ecx
add edi, edx
mov dword [esi], edi
add esi, 4
add eax, 8
sub ebx, 1
jne 0x416f26
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x416f96
mov edx, dword [eax]
mov edi, dword [eax - 4]
mov ecx, edx
xor ecx, edi
and edx, edi
shr ecx, 1
and ecx, 0x7f7f7f7f
add ecx, edx
mov edx, dword [esi]
mov edi, edx
xor edi, ecx
shr edi, 1
and edi, 0x7f7f7f7f
and edx, ecx
add edi, edx
mov dword [esi], edi
mov edi, dword [esp + 0x10]
add eax, 4
mov edx, dword [esp + 0x14]
lea ecx, [ebp*4]
add edx, ecx
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jne 0x416ec3
mov esi, dword [esp + 0x28]
test ebx, ebx
je 0x416ffd
mov esi, edx
test edi, edi
jbe 0x416fe2
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, ecx
xor ebx, edx
shr ebx, 1
and ebx, 0x7f7f7f7f
and ecx, edx
add ebx, ecx
mov dword [esi], ebx
add esi, 4
add eax, 8
sub edi, 1
jne 0x416fc0
mov ecx, dword [eax - 4]
mov eax, dword [eax]
mov edx, eax
xor edx, ecx
shr edx, 1
and edx, 0x7f7f7f7f
and eax, ecx
add edx, eax
mov dword [esi], edx
mov esi, dword [esp + 0x28]
cmp byte [esp + 0x2c], 0
je 0x41701f
mov eax, dword [esi]
push eax
call fcn.00427d2f
mov eax, dword [esp + 0x24]
add esp, 4
pop edi
mov dword [esi], eax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x20]
pop edi
mov dword [esi], ecx
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x417840
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
push ebx
push ebp
push esi
mov ebx, eax
movsx esi, word [ebx + 0x1f8]
shl esi, 4
mov eax, 1
add esi, 6
cmp dword [ecx], 0
push edi
mov byte [esp + 0x1b], 0
mov word [esp + 0x1c], ax
je 0x4178ce
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov ebp, 4
lea edi, [eax + 1]
mov edx, dword [esp + 0x34]
test dword [edx], ebp
je 0x4178c6
mov edx, dword [esp + 0x30]
mov cx, word [edi*2 + 0x46093c]
cmp edi, 2
setne al
dec al
and al, 0x10
push edx
mov byte [esp + 0x1e], al
mov eax, dword [ebx + edi*4]
mov dword [esp + 0x28], esi
push 1
mov dword [esp + 0x28], eax
add esi, eax
lea eax, [esp + 0x20]
push 0x10
push eax
mov word [esp + 0x2e], cx
call fcn.00428b8f
add esp, 0x10
dec edi
shr ebp, 1
cmp edi, 0xffffffff
jg 0x417880
add ebx, 0x1c8
mov dword [esp + 0x10], 4
mov ebp, 2
mov dword [esp + 0x14], ebx
mov edi, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
test dword [edx + edi*4], ecx
je 0x417942
mov al, byte [edi + 0x460930]
mov edx, dword [esp + 0x30]
mov cx, word [ebp*2 + 0x46093c]
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
cmp ebp, 2
setne al
dec al
and al, 0x10
push edx
mov byte [esp + 0x1e], al
mov eax, dword [ebx]
mov dword [esp + 0x28], esi
push 1
mov dword [esp + 0x28], eax
add esi, eax
lea eax, [esp + 0x20]
push 0x10
push eax
mov word [esp + 0x2e], cx
call fcn.00428b8f
add esp, 0x10
dec edi
sub ebx, 0x38
test edi, edi
jg 0x4178ea
mov ebx, dword [esp + 0x14]
shr dword [esp + 0x10], 1
dec ebp
sub ebx, 4
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebx
jg 0x4178e5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x417970
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x400
xor eax, eax
test edx, edx
jle 0x4179be
push esi
mov esi, dword [ecx]
push ebx
add ecx, 9
push edi
cmp eax, esi
jge 0x4179ab
movzx edi, byte [ecx - 1]
movzx ebx, byte [ecx]
shl edi, 8
add edi, ebx
movzx ebx, byte [ecx + 1]
shl edi, 8
add edi, ebx
mov dword [esp + eax*4 + 0xc], edi
inc eax
add ecx, 3
cmp eax, edx
jl 0x417984
jmp 0x4179bb
cmp eax, edx
jge 0x4179bb
mov ecx, edx
lea edi, [esp + eax*4 + 0xc]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
pop ebx
pop esi
mov eax, dword [esp + 0x404]
push eax
push edx
lea ecx, [esp + 8]
push 4
push ecx
call fcn.00428b8f
add esp, 0x410
ret
Function at 0x417c50
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
cmp dword [eax + 0x18], 0x10
push esi
jb 0x417c5f
mov eax, dword [eax + 4]
jmp 0x417c62
add eax, 4
push 0x46129c
push eax
call fcn.00427d18
mov esi, eax
add esp, 8
test esi, esi
je 0x417cbd
mov dx, word [edi + 0x1f8]
push esi
xor eax, eax
push 3
mov word [esp + 0xc], ax
lea eax, [esp + 0xc]
mov ecx, 1
push 2
push eax
mov word [esp + 0x16], cx
mov word [esp + 0x18], dx
call fcn.00428b8f
push ebx
push esi
mov eax, edi
call fcn.00417840
push ebx
push esi
mov eax, edi
call fcn.004179e0
push esi
call fcn.00427e39
add esp, 0x24
pop esi
add esp, 8
ret
Function at 0x418b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push esi
mov esi, eax
test esi, esi
je 0x418cd3
push ebx
push edi
push 0
call fcn.0041bdb0
add esp, 4
mov bl, 0x44
lea esp, [esp]
mov eax, esi
mov byte [esp + 0xc], 0x49
mov byte [esp + 0xd], 0x48
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], 0x52
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x45
mov byte [esp + 0x16], 0x4e
mov byte [esp + 0x17], bl
mov byte [esp + 0x24], 0x50
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x54
mov byte [esp + 0x27], 0x45
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 0x52
mov byte [esp + 0x2e], 0x4e
mov byte [esp + 0x2f], 0x53
call fcn.0041bc20
mov edi, eax
mov eax, dword [esi + 0x114]
cmp eax, dword [esp + 0xc]
jne 0x418c08
push edi
push 0
mov eax, esi
call fcn.0041bf30
add esp, 8
jmp 0x418cc7
cmp eax, dword [esp + 0x14]
jne 0x418c50
mov eax, dword [esi + 0x60]
test al, 1
je 0x418c19
test al, 4
jne 0x418c3f
mov eax, dword [esi + 0x44]
test eax, eax
je 0x418c2b
push str.No_image_in_file
push esi
call eax
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x418c3a
push 1
push esi
call eax
add esp, 8
call fcn.00427f35
or dword [esi + 0x60], 0x18
push edi
mov eax, esi
call fcn.0041bdb0
add esp, 4
jmp 0x418cc7
cmp eax, dword [esp + 0x1c]
jne 0x418c96
test edi, edi
ja 0x418c63
test dword [esi + 0x60], 0x2000
je 0x418c89
mov eax, dword [esi + 0x44]
test eax, eax
je 0x418c75
push str.Too_many_IDATs_found
push esi
call eax
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x418c84
push 1
push esi
call eax
add esp, 8
call fcn.00427f35
push edi
mov eax, esi
call fcn.0041bdb0
add esp, 4
jmp 0x418cc7
cmp eax, dword [esp + 0x24]
jne 0x418cac
push 0
mov eax, edi
mov ecx, esi
call fcn.0041c100
add esp, 4
jmp 0x418cc7
cmp eax, dword [esp + 0x2c]
jne 0x418cc2
push 0
mov eax, edi
mov ecx, esi
call fcn.0041c280
add esp, 4
jmp 0x418cc7
call fcn.0041c440
test byte [esi + 0x60], 0x10
je 0x418b80
pop edi
pop ebx
pop esi
add esp, 0x28
ret
Function at 0x4236b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0x423740
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.0042cb10
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x42370f
sub eax, ebp
jmp 0x423711
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423700
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423730
sub eax, ebp
jmp 0x423732
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423721
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x423855
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
mov dword [esp + 0x10], eax
cmp ebx, edx
jbe 0x423768
mov ebx, edx
test ebx, ebx
je 0x42379f
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
cmp dword [edx + 0x18], 1
jne 0x42378d
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.004245b0
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.0042cb10
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x4237c9
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x4237dd
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4236c0
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x423855
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x423824
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x423804
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.004300c0
add esp, 0xc
add ebx, edi
pop edi
pop ebp
mov dword [esi + 0x16c0], ebx
pop ebx
add esp, 8
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x423855
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x42383e
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.004300c0
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x42aabd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4665f4]
jne 0x42aac7
repz ret
jmp fcn.0043628c

Function at 0x43d0e9
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.00432210
and dword [ebp - 4], 0
cmp dword [0x46868c], 0
mov ebx, eax
jne 0x43d19a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43d24b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43d24b
push eax
call fcn.0043219e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46868c], eax
call esi
push eax
call fcn.0043219e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x468690], eax
call esi
push eax
call fcn.0043219e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x468694], eax
call esi
push eax
call fcn.0043219e
pop ecx
mov dword [0x46869c], eax
test eax, eax
je 0x43d19a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043219e
pop ecx
mov dword [0x468698], eax
mov eax, dword [0x468698]
cmp eax, ebx
je 0x43d1f2
cmp dword [0x46869c], ebx
je 0x43d1f2
push eax
call fcn.00432219
push dword [0x46869c]
mov esi, eax
call fcn.00432219
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43d1f2
test edi, edi
je 0x43d1f2
call esi
test eax, eax
je 0x43d1e9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d1e9
test byte [ebp - 0xc], 1
jne 0x43d1f2
or dword [ebp + 0x10], 0x200000
jmp 0x43d22b
mov eax, dword [0x468690]
cmp eax, ebx
je 0x43d22b
push eax
call fcn.00432219
pop ecx
test eax, eax
je 0x43d22b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43d22b
mov eax, dword [0x468694]
cmp eax, ebx
je 0x43d22b
push eax
call fcn.00432219
pop ecx
test eax, eax
je 0x43d22b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46868c]
call fcn.00432219
pop ecx
test eax, eax
je 0x43d24b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d24d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret