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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
mov dword [0x101f8b80], 0x132a
mov dword [0x101f8b7c], 0x3614
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x1017d777
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x178
mov ebx, edx
add ebx, edi
add ebx, 0x2c
mov edi, dword [ebx]
imul ebx, eax, 0x178
add edx, ebx
add edx, 0xbc
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edx
call fcn.1017e1e5
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
add edx, 1
cmp edx, 0x523
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
je 0x1017d884
jmp 0x1017d6cd
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x178
mov edi, edx
add edi, esi
add edi, 0xbc
imul esi, eax, 0x178
add edx, esi
add edx, 0xc0
add eax, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, ecx
cmp eax, 0x523
mov ecx, esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x138], eax
jne 0x1017d777
xor eax, eax
mov dword [0x101f8b7c], 0x1177
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov cl, byte [eax + 0x1017f634]
mov dl, byte [eax + 0x1017f605]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x158], eax
jne 0x1017d7e2
lea eax, [ebp - 0x12c]
mov dword [0x101f8b80], 0x156a
mov dword [ebp - 0x15c], eax
call fcn.1017df18
mov dword [esp], eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
call fcn.1017e83a
mov ecx, eax
mov dword [0x101f8b9c], eax
mov eax, esp
mov edx, dword [ebp - 0x154]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x1017d6cd
lea eax, [0x1017f613]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x144]
add esi, 0xafa99
mov edi, dword [ebp - 0x144]
add edi, 0xb9ced
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.1017dc90
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x154]
mov dword [esp + 0xc], edx
call fcn.1017e271
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov dword [ecx + 4], 0x123600
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x1f30
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1017d931
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1017d997
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x1017d97d
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x1017d95a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x1017da3f
jmp 0x1017d969
lea eax, [esp + 0x38]
mov ecx, dword [0x101f8b7c]
add ecx, 0xffffefd3
mov dword [0x101f8b7c], ecx
mov dword [esp + 0x14], eax
call fcn.1017ddee
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x1017da99
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.1017d68f
lea ecx, [0x1017ea69]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x7c], 0x123600
mov dword [0x101f8b7c], 0x15a6
mov edx, dword [0x101f8b68]
mov dword [esp + 0x50], edx
mov edx, dword [0x101f8b6c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101f8b70]
mov dword [esp + 0x84], edx
mov edx, dword [0x101f8b74]
mov dword [esp + 0x54], edx
mov edx, dword [0x101f8b78]
mov dword [esp + 0x48], edx
mov dword [0x101f8b80], 0x109b
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
jmp 0x1017d95a
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [0x101f8b7c], 0xfffff682
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1017e4e7
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101f8b7c]
add ecx, 0xffffe5c3
mov dword [0x101f8b80], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jmp 0x1017d950
Function at 0x1017db1b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1017e616
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1017db57
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101f8b80], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101f8b7c], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1017dc85
jmp 0x1017dbdd
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x3c], edi
mov dword [0x101f8b7c], 0x1415
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x1017dc85
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x1017dba3
jmp 0x1017dc5d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], bh
mov byte [ebp - 0x3d], cl
je 0x1017dbd1
mov eax, dword [ebp - 0x58]
add eax, 1
mov cl, byte [ebp - 0x59]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x54], eax
jne 0x1017dc07
jmp 0x1017dbd1
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], eax
jb 0x1017dbed
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1017dc90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x101f8b80]
add edi, 0x53c
mov dword [0x101f8b80], edi
mov dword [0x101f8b88], 0
mov byte [0x101f8b8c], 0
mov dword [0x101f8b84], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x101f8b80], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f8b80]
add eax, 0x325
mov dword [0x101f8b80], eax
mov eax, dword [0x101f8b84]
add eax, 1
mov dword [0x101f8b84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1017dcdd
xor eax, eax
mov dword [0x101f8b7c], 0x182
mov dword [0x101f8b84], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101f8b90], 0
mov edx, dword [0x101f8b88]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101f8b90], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101f8b88], edx
mov dword [0x101f8b7c], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101f8b8c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101f8b7c], 0x16c8
mov cl, byte [0x101f8b8c]
mov edx, dword [0x101f8b88]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101f8b84]
add edx, 1
mov dword [0x101f8b84], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1017dd35
mov dword [0x101f8b7c], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1017ddee
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1017deb3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1017de7f
jmp 0x1017df04
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov eax, 1
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1017de77
jmp 0x1017df04
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x6f
je 0x1017de1d
jmp 0x1017df04
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
mov eax, dword [0x101f8b7c]
add eax, 0xfffff36e
mov dword [0x101f8b7c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1017dee2
jmp 0x1017df04
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1017de59
jmp 0x1017df04
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
je 0x1017de9f
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], eax
jl 0x1017deb3
jmp 0x1017de9f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1017df04
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1017de31
xor eax, eax
mov dword [0x101f8b7c], 0x982
mov dword [ebp - 0x1c], eax
jmp 0x1017de77
Function at 0x1017e271
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f8b84], 0
mov dword [0x101f8b88], 0
mov dword [0x101f8b94], 0
mov dword [0x101f8b7c], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x1017e2f4
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101f8b84]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x101f8b88]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101f8b80], 0xb88
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101f8b84], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x101f8b88], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x101f8b8c], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101f8b7c]
add edx, 0x20cc
mov dword [0x101f8b7c], edx
mov cl, byte [0x101f8b8c]
mov edx, dword [0x101f8b88]
mov byte [edi + edx], cl
mov edx, dword [0x101f8b84]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101f8b88]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101f8b94], ebx
mov dword [0x101f8b7c], 0x395
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x30], edx
je 0x1017e2d0
jmp 0x1017e2d8
Function at 0x1017e4e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101f8b80]
mov edi, esi
add edi, 0xffffdf43
mov dword [0x101f8b7c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov cl, byte [eax + 0x1017f634]
mov dl, byte [eax + 0x1017f605]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x38], eax
jne 0x1017e517
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffe336
mov dword [0x101f8b80], ecx
mov dword [ebp - 0x3c], eax
call fcn.1017df18
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1017e83a
cmp eax, 0
mov dword [ebp - 0x40], eax
je 0x1017e60d
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1017e3cd
mov eax, dword [ebp - 0x44]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x16d8
mov dword [0x101f8b7c], 0x21cb
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x48]
mov dword [edx + 0x48], esi
mov edi, dword [ebp - 0x44]
mov dword [edx], edi
cmp edi, 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
je 0x1017e603
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add esp, 0x58
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x58
pop esi
pop edi
pop ebp
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x267d7d4d
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6a7945f1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x413d44
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
mov ebx, dword [ebp + 0x10]
push 0x14
push 4
mov eax, 0x489aac
push eax
push 0x489b3f
lea ecx, [ebp - 0x164]
push ecx
call fcn.0047182c
lea eax, [ebp - 0x164]
push eax
push 0x80000001
call fcn.004375c2
push 0x590
push 0
push 0x49782c
call fcn.004714e0
mov eax, dword [ebp + 8]
mov dword [0x489ab0], eax
push 0x489b37
push eax
call dword [sym.imp.USER32.DLL_LoadIconA]
mov dword [0x489ac8], eax
mov eax, 0x489aac
push eax
call fcn.00434bd0
push 0x489ad4
call fcn.00452050
push 0x100
lea eax, [ebp - 0x100]
push eax
push dword [0x489ab0]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x489b34
push ebx
call fcn.00472598
add esp, 8
test eax, eax
jne 0x413dfc
push 0x489b31
push ebx
call fcn.00472598
add esp, 8
test eax, eax
jne 0x413dfc
xor eax, eax
jmp 0x413e01
mov eax, 1
push eax
push 0x489b28
lea eax, [ebp - 0x100]
push eax
call fcn.004062f0
add esp, 0x3c
push dword [0x49b180]
push dword [0x49b184]
call fcn.0043aeb1
add esp, 8
test ax, ax
jne 0x413e41
push 0x489b53
call fcn.00455073
add esp, 4
jmp 0x413ee2
mov eax, 0x49782c
push eax
call fcn.004144a0
call fcn.00418ab8
mov eax, dword [0x489ab8]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push 5
mov eax, dword [0x489ab8]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov ecx, dword [0x489ab8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
mov ecx, dword [0x489b1c]
call fcn.00445e30
push 0
mov ecx, dword [0x489b20]
call fcn.00445e30
push ebx
mov eax, 0x49782c
push eax
call fcn.0041497c
push 0x423874
push 0x4237f8
push 0x4236dc
mov eax, 0x49782c
push eax
push 0x497d3c
call fcn.004853bc
mov eax, 0x49782c
push eax
call fcn.00406ee8
call fcn.00418ec8
mov eax, 0x49782c
push eax
call fcn.004148d4
call fcn.0048544c
add esp, 0x28
call fcn.00452447
call fcn.00434da2
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 0xc]
push 0
mov ecx, edi
call fcn.00434e23
mov dword [edi], 0x489d74
mov dword [edi + 0x9c], 0
push 0
push dword [0x489ab0]
push 0x205
push dword [ebp + 8]
mov ecx, dword [esi + 0xc]
inc ecx
mov edx, dword [esi + 4]
sub ecx, edx
push ecx
mov ecx, dword [esi + 8]
inc ecx
mov eax, dword [esi]
sub ecx, eax
push ecx
push edx
push eax
push 0x40000000
push 0
push 0x49b398
push 0
call dword [sym.imp.USER32.DLL_CreateWindowExA]
lea ecx, [edi + 4]
mov dword [ecx], eax
push edi
push 0
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.USER32.DLL_SetWindowLongA]
mov word [edi + 0x64], 0
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x58], ecx
mov ecx, dword [0x488a14]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x5c], 0
push 0x54
call fcn.00472b58
add esp, 4
mov ebx, eax
test eax, eax
je 0x415ad8
push dword [edi + 0x5c]
lea ecx, [edi + 0x54]
push ecx
push 0x203
mov ecx, dword [ebp - 0x10]
push dword [ecx]
mov ecx, ebx
call fcn.00412c20
mov ebx, eax
mov dword [edi + 0x10], ebx
mov ecx, dword [0x489ac4]
mov dword [ebp - 0xc], ecx
push 0
movzx ecx, word [ebp - 0xc]
push ecx
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.DLL_SendMessageA]
mov ecx, dword [0x488a24]
mov dword [edi + 0x14], ecx
mov ecx, 0x10
mov dword [edi + 0x18], ecx
mov edx, dword [0x488a18]
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov edx, dword [0x488a18]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], 0
mov ecx, dword [0x488a20]
mov dword [edi + 0x38], ecx
mov ecx, dword [0x488a18]
mov dword [edi + 0x3c], ecx
mov ecx, 0x16
mov dword [edi + 0x40], ecx
mov edx, 0x17
mov dword [edi + 0x44], edx
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], ecx
mov ecx, dword [esi + 8]
inc ecx
sub ecx, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0xc]
inc ecx
sub ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
movzx ecx, word [ebp - 4]
shl ecx, 0x10
movzx edx, word [ebp - 8]
or ecx, edx
push ecx
push 0
push 5
mov ecx, dword [ebp - 0x10]
push dword [ecx]
call dword [sym.imp.USER32.DLL_SendMessageA]
push 5
mov ecx, dword [ebp - 0x10]
push dword [ecx]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426677
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
lea eax, [esp]
push eax
push 0x426627
call dword [sym.imp.USER32.DLL_EnumWindows]
mov eax, dword [esp + 8]
add esp, 0xc
ret

Function at 0x43540d
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x120
push ebx
push esi
mov esi, dword [esp + 0x12c]
mov eax, dword [esp + 0x130]
cmp eax, 0x14
je 0x435432
cmp eax, 0xf
je 0x435442
jmp 0x435530
mov eax, 1
pop esi
pop ebx
add esp, 0x120
ret 0x10
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.DLL_BeginPaint]
mov ebx, eax
push dword [0x489ac4]
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x114]
push ecx
push esi
call dword [sym.imp.USER32.DLL_GetClientRect]
push 0xc8
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov ecx, 2
cmp dword [0x49759c], ecx
mov edx, 0xe1ffff
je 0x43549d
push 0x18
call dword [sym.imp.USER32.DLL_GetSysColor]
mov edx, eax
push edx
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
mov dword [esp + 0x124], eax
push eax
lea ecx, [esp + 0x118]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_FillRect]
push dword [esp + 0x124]
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp dword [0x49759c], 2
mov ecx, 0
je 0x4354e0
push 0x17
call dword [sym.imp.USER32.DLL_GetSysColor]
mov ecx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.DLL_SetTextColor]
push 1
push ebx
call dword [sym.imp.GDI32.DLL_SetBkMode]
push 0x825
lea ecx, [esp + 0x118]
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.USER32.DLL_DrawTextA]
push dword [esp + 0x48]
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.DLL_EndPaint]
xor eax, eax
pop esi
pop ebx
add esp, 0x120
ret 0x10
push dword [esp + 0x138]
push dword [esp + 0x138]
push dword [esp + 0x138]
push esi
call dword [sym.imp.USER32.DLL_DefWindowProcA]
pop esi
pop ebx
add esp, 0x120
ret 0x10