joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10110d90
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1005e95b
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10152ec8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x10110f68
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x10110eb7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x10110eb7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x10110e95
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x10110e19
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10110f21
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x10110f88
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x10110f63
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10110f88
jmp 0x10110df2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f5ef
mov esp, ebp
pop ebp
ret
Function at 0x10111020
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.1005e95b
mov eax, dword [0x10151040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10152ec8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1011120b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x10111156
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x10111156
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x10111132
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x101110a9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101111c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x1011122b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x10111206
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1011122b
jmp 0x10111082
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f5ef
mov esp, ebp
pop ebp
ret
Function at 0x403940
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [esp + 0x214]
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
xor ecx, ecx
mov eax, ecx
mov byte [esp + ecx + 0x14], cl
cdq
idiv edi
inc ecx
cmp ecx, 0x100
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x113], al
jl 0x40395c
xor eax, eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esp + eax + 0x114]
mov dl, byte [esp + eax + 0x14]
add esi, ecx
add esi, edx
and esi, 0x800000ff
jns 0x40399d
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + eax + 0x14]
mov cl, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x14], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x100
jl 0x40397a
mov ebp, dword [esp + 0x21c]
xor esi, esi
test ebp, ebp
jle 0x403a3e
mov ecx, dword [esp + 0x228]
mov edi, dword [esp + 0x218]
sub edi, ecx
inc eax
and eax, 0x800000ff
jns 0x4039e1
dec eax
or eax, 0xffffff00
inc eax
xor edx, edx
mov dl, byte [esp + eax + 0x14]
add esi, edx
and esi, 0x800000ff
jns 0x4039f9
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esp + esi + 0x14]
mov bl, byte [esp + eax + 0x14]
mov byte [esp + 0x10], dl
mov byte [esp + esi + 0x14], bl
mov ebx, dword [esp + 0x10]
mov byte [esp + eax + 0x14], dl
xor edx, edx
and ebx, 0xff
mov dl, byte [esp + esi + 0x14]
add edx, ebx
and edx, 0x800000ff
jns 0x403a2f
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [esp + edx + 0x14]
mov bl, byte [edi + ecx]
xor dl, bl
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x4039d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x6948e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x63e015
lea edi, [esi - 0x23d015]
push edi
or ebp, 0xffffffff
jmp 0x694902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x694909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6948f8
mov eax, 1
add ebx, ebx
jne 0x69491b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69492c
jne 0x69494b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69494b
dec eax
add ebx, ebx
jne 0x694938
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x694910
add ebx, ebx
jne 0x694947
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69499d
xor ecx, ecx
sub eax, 3
jb 0x694963
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6949d2
sar eax, 1
mov ebp, eax
jmp 0x69496e
add ebx, ebx
jne 0x69496e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69493c
inc ecx
add ebx, ebx
jne 0x69497c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69493c
add ebx, ebx
jne 0x694989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69497e
jne 0x69499a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69497e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6949bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6949ae
jmp 0x6948fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6949bc
add edi, ecx
jmp 0x6948fe
pop esi
mov edi, esi
mov ecx, 0xb6aa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6949da
cmp byte [edi], 0x12
jne 0x6949da
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 0x6949df
lea edi, [esi + 0x292000]
mov eax, dword [edi]
or eax, eax
je 0x694a57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2945a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2945e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x694a0c
mov ecx, edi
jns 0x694a3b
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 + 0x2945ec]
or eax, eax
je 0x694a51
mov dword [ebx], eax
add ebx, 4
jmp 0x694a29
call dword [esi + 0x2945e8]
mov ebp, dword [esi + 0x2945f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x694a8b
sub esp, 0xffffff80
jmp 0x403a80
Function at 0x4032f0
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x2b8167c]
mov ecx, dword [0x2b7e588]
sub esp, 0x424
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x4033e7
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x2b8167c], 0x959
jne 0x4033cd
call edi
push 0
lea eax, [esp + 0x34]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0x402ca8
push 0x402d50
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x14]
push edx
call fcn.00403130
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403330
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x424
ret
Function at 0x408e60
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ac30]
jne 0x408e6a
repz ret
jmp fcn.0040b97c

Function at 0x40b147
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.004052f7
and dword [ebp - 4], 0
cmp dword [0x42bfc4], 0
mov ebx, eax
jne 0x40b1f8
push 0x402ab4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402aa8
push edi
call esi
test eax, eax
je 0x40b2a9
push eax
call fcn.00405285
mov dword [esp], 0x402a98
push edi
mov dword [0x42bfc4], eax
call esi
push eax
call fcn.00405285
mov dword [esp], 0x402a84
push edi
mov dword [0x42bfc8], eax
call esi
push eax
call fcn.00405285
mov dword [esp], 0x402a68
push edi
mov dword [0x42bfcc], eax
call esi
push eax
call fcn.00405285
pop ecx
mov dword [0x42bfd4], eax
test eax, eax
je 0x40b1f8
push 0x402a50
push edi
call esi
push eax
call fcn.00405285
pop ecx
mov dword [0x42bfd0], eax
mov eax, dword [0x42bfd0]
cmp eax, ebx
je 0x40b250
cmp dword [0x42bfd4], ebx
je 0x40b250
push eax
call fcn.00405300
push dword [0x42bfd4]
mov esi, eax
call fcn.00405300
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b250
test edi, edi
je 0x40b250
call esi
test eax, eax
je 0x40b247
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b247
test byte [ebp - 0xc], 1
jne 0x40b250
or dword [ebp + 0x10], 0x200000
jmp 0x40b289
mov eax, dword [0x42bfc8]
cmp eax, ebx
je 0x40b289
push eax
call fcn.00405300
pop ecx
test eax, eax
je 0x40b289
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b289
mov eax, dword [0x42bfcc]
cmp eax, ebx
je 0x40b289
push eax
call fcn.00405300
pop ecx
test eax, eax
je 0x40b289
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bfc4]
call fcn.00405300
pop ecx
test eax, eax
je 0x40b2a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401177
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x404500
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404519
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40452d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40454e
cmp esi, eax
jae 0x404527
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404540
cmp esi, eax
jae 0x404527
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40131b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x403740
sub esp, 0x30
push esi
push edi
mov edi, dword [esp + 0x3c]
test edi, edi
mov esi, ecx
jne 0x403799
lea ecx, [esi + 0xec]
mov dword [esi + 0xb0], edi
call fcn.0044c8ca
lea ecx, [esi + 0xf4]
call fcn.0044c8ca
lea ecx, [esi + 0xfc]
call fcn.0044c8ca
lea ecx, [esi + 0x104]
call fcn.0044c8ca
lea ecx, [esi + 0x10c]
call fcn.0044c8ca
pop edi
mov eax, 1
pop esi
add esp, 0x30
ret 0x18
push ebx
lea ebx, [esi + 0xec]
mov ecx, ebx
call fcn.0044c8ca
call fcn.00465498
mov eax, dword [eax + 0xc]
movzx ecx, di
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call fcn.0044c873
test eax, eax
jne 0x4037cf
pop ebx
pop edi
pop esi
add esp, 0x30
ret 0x18
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4037f5
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea edx, [esi + 0xf4]
push edx
push ebx
mov ecx, esi
call fcn.00401078
push ebp
mov ebp, dword [esp + 0x48]
test ebp, ebp
je 0x403886
lea edi, [esi + 0xfc]
mov ecx, edi
call fcn.0044c8ca
call fcn.00465498
mov eax, dword [eax + 0xc]
movzx ecx, bp
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0044c873
test eax, eax
jne 0x403854
mov ecx, ebx
call fcn.0044c8ca
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x403848
lea ecx, [esi + 0xf4]
call fcn.0044c8ca
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 0x18
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40387a
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
lea edx, [esi + 0x104]
push edx
push edi
mov ecx, esi
call fcn.00401078
mov dword [esi + 0xa4], 1
jmp 0x403890
mov dword [esi + 0xa4], 0
mov ecx, dword [esi + 0xf0]
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xb4]
test eax, eax
mov dword [esi + 0x78], edx
jne 0x4038dd
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x60]
push edi
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
mov dword [esi + 0x74], edx
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4038f7
mov edx, dword [esi + 0x100]
lea ecx, [esp + 0x28]
push ecx
push 0x18
push edx
call ebx
mov eax, dword [esp + 0x4c]
pop ebp
mov dword [esi + 0xac], eax
pop ebx
mov eax, 1
pop edi
mov dword [esi + 0xb0], eax
pop esi
add esp, 0x30
ret 0x18
Function at 0x4013ed
Capabilities:
Hide graphical window

Disassembly:
jmp 0x404720
sub esp, 0xc
mov edx, dword [str.uFAIm3EZIv1iChOCV1naPrYrvORwkHI3XXErj]
push ebx
mov ebx, dword [0x49d0d8]
push ebp
push esi
movsx esi, byte [edx]
mov eax, esi
test eax, eax
push edi
mov dword [esp + 0x10], ebx
mov ecx, edx
je 0x404757
mov edi, dword [esp + 0x10]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
mov dword [esp + 0x10], edi
jne 0x404742
mov eax, esi
test eax, eax
mov ecx, ebx
mov edi, edx
je 0x40476e
imul ecx, ecx, 0x21
inc edi
add ecx, eax
movsx eax, byte [edi]
test eax, eax
jne 0x404761
add ecx, 0x7e5c0eb8
mov eax, esi
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov ecx, edx
je 0x404799
mov edi, dword [esp + 0x14]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
mov dword [esp + 0x14], edi
jne 0x404784
mov eax, esi
test eax, eax
mov ebp, ebx
mov ecx, edx
je 0x4047b0
imul ebp, ebp, 0x21
inc ecx
add ebp, eax
movsx eax, byte [ecx]
test eax, eax
jne 0x4047a3
mov eax, esi
test eax, eax
mov edi, ebx
mov ecx, edx
je 0x4047cd
lea ebx, [ebx]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
jne 0x4047c0
mov eax, esi
test eax, eax
mov ecx, ebx
je 0x4047e2
imul ecx, ecx, 0x21
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x4047d5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi + 0x7e5c0e7c]
add edx, dword [esp + 0x18]
mov eax, dword [edx + esi]
mov edx, dword [esp + 0x14]
add eax, esi
mov edx, dword [eax + edx + 0x7e5c0e58]
mov ebp, dword [eax + ebp + 0x7e5c0e5c]
mov edi, dword [eax + edi + 0x7e5c0e60]
mov eax, dword [ecx + eax + 0x7e5c0e64]
add eax, esi
add ebp, esi
add edi, esi
xor ebx, ebx
test edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jbe 0x404863
mov edi, edi
mov eax, dword [edi + ebx*4]
movsx ecx, byte [eax + esi]
mov edx, dword [0x49d0d8]
add eax, esi
test ecx, ecx
je 0x404850
imul edx, edx, 0x21
inc eax
add edx, ecx
movsx ecx, byte [eax]
test ecx, ecx
jne 0x404843
cmp edx, dword [esp + 0x24]
je 0x40485f
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x404830
mov edx, dword [esp + 0x20]
cmp ebx, edx
jne 0x404871
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + ebx*2]
mov eax, dword [ebp + ecx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x408a6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x408abf
call fcn.00465498
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x408abf
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x408ab5
xor eax, eax
jmp 0x408bd8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x408aef
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x408aef
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x408bd5
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x408b1c
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00406f64
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x408bd5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x408b65
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x408b65
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x408b5f
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00406f64
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x408bc5
and dword [ebp + 0xc], 0
jmp 0x408bc5
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x408bc5
push 0xc
call fcn.00442a53
mov esi, eax
test esi, esi
pop ecx
je 0x408ba7
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x408ba9
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x408bc0
push dword [ebp - 8]
call fcn.0043a0c3
jmp 0x408bc5
call fcn.0043a020
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x408b2a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc