joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408d00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x408f24
nop word [eax + eax]
cmp eax, 0x7c
je 0x408f24
cmp eax, 0x29
jne 0x408d4e
cmp dword [esi + 0x10], 0
jne 0x408f24
cmp eax, eax
jne 0x408d4e
test dword [esi + 0x50], 0x10000000
je 0x408f36
jmp 0x408edd
cmp eax, 0x2e
jne 0x408dad
push 5
lea ecx, [esi + 0x24]
call fcn.00408fa0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x408da1
cmp word [eax], 0x5c
jne 0x408d9c
lea ecx, [eax + 2]
cmp ecx, edx
je 0x408d9c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408d88
movzx edi, word [ecx]
cmp edi, 0x28
je 0x408d9a
cmp edi, 0x29
je 0x408d9a
test dl, 0x10
jne 0x408d9c
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x408d9a
cmp edx, 0x7d
jne 0x408d9c
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00406a90
jmp 0x408f0f
cmp eax, 0x5c
jne 0x408e0c
mov ecx, esi
call fcn.00408cb0
test byte [esi + 0x50], 0x80
je 0x408e00
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x408dde
push 4
lea ecx, [esi + 0x24]
call fcn.00408fa0
mov ecx, esi
call fcn.00408cb0
jmp 0x408f16
cmp eax, 0x42
jne 0x408e00
push 4
lea ecx, [esi + 0x24]
call fcn.00408fa0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00408cb0
jmp 0x408f16
mov ecx, esi
call fcn.0040a1c0
jmp 0x408f0f
cmp eax, 0x5b
jne 0x408e6d
mov ecx, esi
call fcn.00408cb0
lea ecx, [esi + 0x24]
call fcn.0040b270
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x408e39
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00408cb0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x408e57
cmp eax, 0x5d
jne 0x408e57
push eax
lea ecx, [esi + 0x24]
call fcn.0040b300
mov ecx, esi
call fcn.00408cb0
mov ecx, esi
call fcn.0040ac90
cmp dword [esi + 0x4c], 0x5d
jne 0x408f3f
jmp 0x408f08
cmp eax, 0x28
jne 0x408e99
mov ecx, esi
call fcn.00408cb0
mov ecx, esi
call fcn.0040a310
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x408f36
mov ecx, esi
call fcn.00408cb0
test bl, bl
je 0x408f16
jmp 0x408f0f
cmp eax, 0x5e
jne 0x408eb1
push 2
lea ecx, [esi + 0x24]
call fcn.00408fa0
mov ecx, esi
call fcn.00408cb0
jmp 0x408f16
cmp eax, 0x24
jne 0x408ec9
push 3
lea ecx, [esi + 0x24]
call fcn.00408fa0
mov ecx, esi
call fcn.00408cb0
jmp 0x408f16
cmp eax, 0x2a
je 0x408f2d
cmp eax, 0x2b
je 0x408f2d
cmp eax, 0x3f
je 0x408f2d
cmp eax, 0x7b
je 0x408f2d
cmp eax, 0x7d
jne 0x408eed
test dword [esi + 0x50], 0x10000000
je 0x408f48
jmp 0x408efb
cmp eax, 0x5d
jne 0x408efb
test dword [esi + 0x50], 0x10000000
je 0x408f3f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040a570
mov ecx, esi
call fcn.00408cb0
mov ecx, esi
call fcn.0040a420
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x408d20
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.00406a80
push 5
mov ecx, esi
call fcn.00406a80
push 4
mov ecx, esi
call fcn.00406a80
push 6
mov ecx, esi
call fcn.00406a80
int3
Function at 0x40e750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0x400000
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [0x56638c], 0
mov esi, eax
je 0x40e79c
call fcn.0041ca80
mov dword [0x56638c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp + 0x10]
mov edx, esi
push ecx
mov ecx, eax
call fcn.0041c800
add esp, 8
mov dword [0x56638c], eax
xor ecx, ecx
mov edx, 4
test eax, eax
cmove ecx, edx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x410f60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410f8e
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 8]
push 0x10
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 4
Function at 0x416dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5096d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004173b0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.0040d420
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41a480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41a48b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41a547
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
sub edi, 1
jne 0x41a4a0
pop edi
test esi, esi
je 0x41a56a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
sub esi, 1
jne 0x41a550
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41a580
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x527ab0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x527ab0]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x41ad30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x41ad78
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ad6a
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 4]
call fcn.004dc100
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41adb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x41adeb
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ade6
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x41ae18
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x41adfc
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.004dc100
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x41ae2c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x41ae23
cmp byte [esi + 8], 0
je 0x41ae23
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509832
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.004bcee7
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x41c8ad
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c880
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.004bd4f8
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x41c8a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x41c97b
cmp dword [ebx + 4], 0xffffffff
jne 0x41c97b
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c8e0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x41c917
cmp eax, 0x2f
je 0x41c917
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41c904
mov eax, dword [0x52980c]
mov dword [edi], eax
push 0x20
call fcn.004bcee7
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.0041b0b0
mov dword [ebx], eax
test eax, eax
jne 0x41c977
push ecx
mov ecx, ebx
mov dword [0x566338], 0x200
call fcn.0041c9d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x41c980
mov eax, 0x1000000
mov dword [0x566338], eax
test eax, eax
je 0x41c9a5
push ecx
mov ecx, ebx
call fcn.0041c9d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.004bcee7
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x558384]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
push edi
test edx, edx
je 0x4204c4
mov ecx, edx
mov dword [esp + 0x2c], 0
xor eax, eax
mov dword [esp + 0x30], 7
mov word [esp + 0x1c], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4203d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0040d260
cmp dword [esp + 0x30], 8
lea ebx, [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x2c]
cmovae ebx, edi
xor ecx, ecx
add eax, eax
je 0x420425
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x420410
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
cmp eax, 8
jb 0x420461
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x420457
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4204e5
push ecx
push edi
call fcn.004bcf17
add esp, 8
lea eax, [esp + 0x14]
mov ecx, 0x566354
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00415d40
mov eax, dword [eax]
cmp eax, dword [0x566354]
je 0x4204c4
lea eax, [esp + 0x14]
mov ecx, 0x566354
push eax
call fcn.00421100
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4204a6
lock inc dword [ecx + 4]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov eax, esi
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
int3
Function at 0x4219f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x558384]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x421af0
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421a30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0040d260
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x421a81
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x421a70
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x421ab9
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x421aaf
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b04
push ecx
push esi
call fcn.004bcf17
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00422150
mov eax, dword [eax]
cmp eax, dword [0x566364]
je 0x421af0
lea eax, [esp + 0xc]
push eax
call fcn.004221b0
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
int3
Function at 0x423150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x558384]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov edx, ecx
push esi
push edi
test edx, edx
je 0x423256
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 7
lea esi, [ecx + 2]
mov word [esp + 0x14], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423190
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0040d260
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov edx, 0x811c9dc5
mov esi, dword [esp + 0x14]
cmovae edi, esi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x4231e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4231d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
cmp eax, 8
jb 0x423219
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x42320f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42326d
push ecx
push esi
call fcn.004bcf17
add esp, 8
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00423720
mov eax, dword [eax]
cmp eax, dword [0x56636c]
je 0x423256
lea eax, [esp + 0xc]
push eax
call fcn.00423780
cmp dword [eax + 0x14], 8
jb 0x42325b
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
mov eax, 0x529860
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
int3
Function at 0x424060
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x558384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x4241fc
mov ecx, ebx
call fcn.004656a0
test eax, eax
je 0x4240cb
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00465dc0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424150
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x424149
push dword [ebp - 0x2c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x424149
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push ecx
push dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424140
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x424149
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4241fc
call fcn.00428670
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.00426fd0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [ebp - 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x4241a7
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x1c]
mov edx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], edi
push ecx
mov ecx, esi
call fcn.00423e30
add esp, 0xc
mov dword [ebp - 4], 1
test edi, edi
je 0x424209
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x424209
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x424209
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445450
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], 0
push eax
push 0x55c2cc
push 0x55c2a8
mov esi, ecx
mov word [ebp - 0x1e], ax
push eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
call fcn.004de045
mov dword [ebp - 0x30], eax
add esp, 0x14
cmp dword [esi + 0x2ac], 8
lea eax, [esi + 0x298]
jb 0x445496
mov eax, dword [eax]
mov ecx, dword [esi + 0x2b0]
mov edx, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
xor eax, eax
test edx, edx
movss dword [ebp - 0x14], xmm0
sete al
cmp eax, edi
jne 0x4454ee
mov eax, dword [ecx + 0xc0]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0x24], eax
jmp 0x4454f4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x74]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x44b420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x558384]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
cmp eax, 0x14
ja 0x44b474
je case.0x44b45c.3
add eax, 0xfffffffe
cmp eax, 0xd
ja case.0x44b45c.4
movzx eax, byte [eax + 0x44b604]
jmp dword [eax*4 + 0x44b5f8]
push dword [edi - 0x250]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x44b45c.4
cmp eax, 0x216
ja 0x44b562
je case.0x44b45c.3
sub eax, 0x18
je 0x44b538
sub eax, 0x6e
jne case.0x44b45c.4
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
call esi
test eax, eax
je case.0x44b45c.4
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
lea ecx, [edi - 0x25c]
call fcn.00411780
push dword [edi - 0x250]
mov ecx, dword [eax]
sub dword [esp + 0x20], ecx
mov ecx, dword [eax + 4]
sub dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
add dword [esp + 0x28], ecx
mov eax, dword [eax + 0xc]
add dword [esp + 0x2c], eax
call esi
mov edx, dword [esp + 0x20]
neg eax
mov ecx, dword [esp + 0x1c]
sbb eax, eax
and eax, 0x40
add eax, 0x10
push eax
mov eax, dword [esp + 0x2c]
sub eax, edx
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push edx
push ecx
push ebx
push dword [edi - 0x250]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x44b45c.4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44b552
push esi
push eax
push 0x8007
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x44b45c.4
push 0
push dword [edi - 0x250]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x44b45c.4
sub eax, 0x8006
je 0x44b587
sub eax, 1
jne case.0x44b45c.4
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [edi - 0x250]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x44b45c.4
test esi, esi
je case.0x44b45c.4
cmp dword [ebp + 0x10], 0
lea ecx, [edi - 0x14c]
je 0x44b5c8
mov edx, esi
lea ebx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44b5a0
sub edx, ebx
sar edx, 1
push edx
push esi
call fcn.0040d260
mov ecx, dword [edi - 0x24c]
test ecx, ecx
je case.0x44b45c.4
push esi
call fcn.004442e0
jmp case.0x44b45c.4
cmp dword [ecx + 0x14], 8
jb 0x44b5d0
mov ecx, dword [ecx]
push ecx
push 0x104
push esi
call fcn.004e691e
add esp, 0xc
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret 0x14