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

Disassembly:
jmp 0x40c410
push 0xffffffffffffffff
push 0x549148
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00404bc4
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x24], eax
mov eax, dword [esi]
test eax, eax
mov dword [esi + 0x28], edi
je 0x40c60d
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or ebx, 0xffffffff
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x40c4a7
push 0
push 0
push str.Error_Creating_Dlg_File
call fcn.004b468e
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
call fcn.00402798
xor eax, eax
jmp 0x40c5e9
cmp word [edi + 2], 0xffff
push edi
mov ecx, esi
je 0x40c4d9
call fcn.0040404d
test eax, eax
jne 0x40c500
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
call fcn.00402798
xor eax, eax
jmp 0x40c5e9
call fcn.0040426e
test eax, eax
jne 0x40c500
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
call fcn.00402798
xor eax, eax
jmp 0x40c5e9
push str.END_r_n
lea ecx, [esp + 0x18]
call fcn.00401e1f
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x40c52b
mov eax, edi
push eax
lea ecx, [esp + 0x18]
call fcn.00402540
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40c54e
push eax
push eax
push str.Error_Writing_DLG
jmp 0x40c48e
mov ebp, dword [esi + 0x18]
test ebp, ebp
jle 0x40c5cd
xor edi, edi
test ebp, ebp
jle 0x40c5cd
test edi, edi
jl 0x40c622
cmp edi, dword [esi + 0x18]
jge 0x40c622
mov eax, dword [esi + 0x14]
mov edx, dword [eax + edi*4]
lea eax, [eax + edi*4]
lea ecx, [edi + 0x2710]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.define__s__d_r_n
push eax
call fcn.004012df
mov eax, dword [esp + 0x24]
mov ebx, dword [eax - 0xc]
add esp, 0x10
cmp dword [eax - 4], 1
jle 0x40c5ac
mov ecx, ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00402540
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40c5ff
add edi, 1
cmp edi, ebp
jl 0x40c55b
or ebx, 0xffffffff
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x14]
call fcn.00402798
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0
push 0
push str.Error_Writing_DLG
call fcn.004b468e
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402798
xor eax, eax
jmp 0x40c5e9
call fcn.004b3abd
int3
Function at 0x40db90
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x40db90
push 0xffffffffffffffff
push 0x549529
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x24]
call fcn.00402bc6
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jle 0x40dbe6
push 0x5c
push eax
call fcn.004f4d22
add esp, 8
test eax, eax
jne 0x40dbeb
or eax, 0xffffffff
jmp 0x40dbef
sub eax, dword [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.00402ce3
mov byte [esp + 0x18], 2
push eax
lea ecx, [esp + 0x28]
call fcn.00402432
mov byte [esp + 0x18], 1
lea ecx, [esp + 8]
call fcn.00402798
lea ecx, [esp + 0x24]
call fcn.00402bc6
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004015fa
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
call fcn.00402798
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 8
Function at 0x4189a0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4189a0
push 0xffffffffffffffff
push 0x54b219
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.00404bc4
mov dword [esp + 0x38], 1
lea ecx, [esp + 0xc]
call fcn.00404bc4
mov byte [esp + 0x38], 2
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x418a14
push 0x104
lea ecx, [esp + 0x10]
call fcn.00403094
mov edx, dword [esp + 0xc]
push 0x104
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [esp + 0xc]
cmp edx, ebx
jne 0x418a34
xor eax, eax
jmp 0x418a51
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418a40
sub eax, esi
js 0x418b84
cmp eax, dword [edx - 8]
jg 0x418b84
push ebx
push 0x80
push 3
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x18]
push ebx
push 3
mov byte [eax + ecx], bl
mov edx, dword [esp + 0x20]
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x418b72
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x418b6b
fldz
lea ecx, [esp + 0x1c]
push ecx
fstp qword [esp + 0x28]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
call fcn.00404b97
push str._d__m__Y__I:_M:_S__p
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.00404d2c
mov byte [esp + 0x38], 3
push eax
lea ecx, [esp + 0x14]
call fcn.00402432
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
call fcn.00402798
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push str.___Build_date_:
push ecx
call fcn.00403a76
add esp, 0xc
mov byte [esp + 0x38], 4
push eax
lea ecx, [esp + 0x14]
call fcn.00402432
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
call fcn.00402798
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004015fa
mov dword [esp + 0x14], 1
mov byte [esp + 0x38], 1
lea ecx, [esp + 0xc]
call fcn.00402798
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x10]
call fcn.00402798
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x40]
push str.unknown_compiling_date
mov ecx, esi
call fcn.00404133
jmp 0x418b32
push 0x80070057
call fcn.004027b1
int3
Function at 0x427af0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x427af0
sub esp, 0x110
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x427b69
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.004f409d
add esp, 0x110
ret 0xc

Function at 0x428a80
Capabilities:
Get common file path

Disassembly:
jmp 0x428a80
push 0xffffffffffffffff
push 0x54cbc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x80], 0
jne 0x428b80
lea ecx, [esp + 0xc]
call fcn.00404bc4
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x428aed
push 0x104
lea ecx, [esp + 0x10]
call fcn.00403094
mov edx, dword [esp + 0xc]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x428b05
xor eax, eax
jmp 0x428b1d
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428b10
sub eax, esi
js 0x428b92
cmp eax, dword [edx - 8]
jg 0x428b92
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0xc]
push 0xd
mov byte [eax + ecx], 0
push str.winhlp32.exe
lea ecx, [esp + 0x14]
call fcn.00404c0a
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x428b68
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x428b68
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x80], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402798
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push 0x80070057
call fcn.004027b1
int3
Function at 0x4344e0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x4344e0
push 0xffffffffffffffff
push 0x54e1ac
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [0x5c4d7c]
add eax, 0xfffffff0
cmp dword [eax + 0xc], 1
mov edi, ecx
jle 0x434540
mov eax, dword [eax + 4]
push eax
mov ecx, 0x5c4d7c
call fcn.00402540
mov ecx, dword [0x5c4d7c]
lea eax, [ecx - 0x10]
add dword [eax + 0xc], 0xffffffff
jne 0x43454d
mov dword [eax + 0xc], 0xffffffff
mov edx, dword [0x5c4d7c]
push edx
lea ecx, [esp + 0x14]
call fcn.00402be9
mov dword [esp + 0x14c], 0
mov eax, dword [0x5c4d7c]
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
test ecx, ecx
jge 0x434584
add ecx, 1
mov dword [eax], ecx
jne 0x434584
mov dword [eax], 1
mov esi, dword [esp + 0x138]
lea ecx, [esp + 0xc]
call fcn.00404bc4
mov byte [esp + 0x14c], 1
movzx eax, word [esi + 0x16]
push eax
lea ecx, [esp + 0x10]
push 0x563a28
push ecx
call fcn.004012df
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0x426
mov ecx, edi
call fcn.004bf694
movzx eax, word [esi + 0x14]
push eax
lea ecx, [esp + 0x10]
push 0x563a28
push ecx
call fcn.004012df
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0x427
mov ecx, edi
call fcn.004bf694
movzx eax, word [esi + 8]
shl eax, 4
push eax
lea ecx, [esp + 0x10]
push 0x563a28
push ecx
call fcn.004012df
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0x429
mov ecx, edi
call fcn.004bf694
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x138]
sub eax, ecx
cmp eax, 0x40
jae 0x434630
xor eax, eax
jmp 0x434643
movzx eax, word [ecx + 0x16]
movzx edx, word [ecx + 8]
movzx ecx, word [ecx + 0x14]
add eax, edx
shl eax, 4
add eax, ecx
push eax
lea edx, [esp + 0x10]
push str._08X
push edx
call fcn.004012df
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x42a
mov ecx, edi
call fcn.004bf694
movzx ecx, word [esi + 6]
push ecx
lea edx, [esp + 0x10]
push 0x563a28
push edx
call fcn.004012df
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x42b
mov ecx, edi
call fcn.004bf694
movzx ecx, word [esi + 0x18]
push ecx
lea edx, [esp + 0x10]
push 0x563a28
push edx
call fcn.004012df
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x42c
mov ecx, edi
call fcn.004bf694
mov byte [esp + 0x14c], 0
lea ecx, [esp + 0xc]
call fcn.00402798
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00404976
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.004f409d
add esp, 0x144
ret
Function at 0x434990
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x434990
push 0xffffffffffffffff
push 0x54e29d
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5c1d10]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
push 0x5c4c78
lea ecx, [esp + 0xc]
call fcn.00402be9
xor eax, eax
mov dword [esp + 0x144], eax
mov ecx, dword [esp + 0x12c]
cmp ecx, eax
jne 0x434a03
mov dword [esp + 0x144], 0xffffffff
lea ecx, [esp + 8]
call fcn.00404976
or eax, 0xffffffff
jmp 0x434a50
movzx edx, word [ecx + 0x14]
lea edx, [edx + ecx + 0x18]
movzx ecx, word [ecx + 6]
movzx esi, cx
cmp si, ax
jbe 0x434a32
mov esi, dword [esp + 0x14c]
movzx ecx, cx
movzx ecx, cx
cmp eax, esi
je 0x434a34
add eax, 1
add edx, 0x28
cmp eax, ecx
jl 0x434a24
jmp 0x4349ea
sub edx, dword [esp + 8]
mov esi, edx
mov dword [esp + 0x144], 0xffffffff
lea ecx, [esp + 8]
call fcn.00404976
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004f409d
add esp, 0x140
ret 4
Function at 0x43cfa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x43cfa0
push 0xffffffffffffffff
push 0x54f78e
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1e8], 0
mov esi, dword [esp + 0x1f0]
test esi, esi
je 0x43d1d4
mov eax, dword [edi + 0x2b8]
push 2
push 0
add eax, 0x7c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [edi + 0x2bc], eax
jne 0x43d01a
push eax
push eax
push str.Cant_find_resource._r_nNot_a_Valid_PE_File_or_File_Is_opened_by_other_program_
mov ecx, edi
call fcn.004b9f2e
jmp 0x43d1d4
mov edx, dword [esp + 0x1f4]
test edx, 0xffff0000
jne 0x43d02c
movzx edx, dx
test esi, 0xffff0000
movzx ecx, si
je 0x43d039
mov ecx, esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x43d107
mov ecx, dword [edi + 0x2bc]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43d161
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [edi + 0x2bc]
push ebp
mov ebx, eax
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x43d161
push ebp
call fcn.004f53cf
mov ebx, eax
mov eax, dword [esp + 0x18]
push ebp
push eax
push ebx
call fcn.004f40b0
sub esi, dword [edi + 0x2bc]
mov ecx, dword [esp + 0x208]
mov edx, dword [esp + 0x210]
add esi, 1
mov dword [ecx], esi
mov esi, dword [esp + 0x20c]
add esp, 0x10
push edx
mov ecx, esi
call fcn.004bf794
mov eax, dword [edi + 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Resource_Ok.
mov ecx, esi
call fcn.004bf794
mov dword [esp + 0x1e8], 0xffffffff
lea ecx, [esp + 0x200]
call fcn.00402798
mov eax, ebx
jmp 0x43d1ed
cmp dword [0x5c4d84], 0
je 0x43d161
mov eax, dword [edi + 0x2b8]
mov ecx, dword [eax + 0x27c]
test ecx, ecx
jne 0x43d129
mov ecx, eax
call fcn.00401c7b
jmp 0x43d130
push 5
call fcn.004bf851
mov ecx, dword [edi + 0x2b8]
mov ecx, dword [ecx + 0x27c]
push 1
push 0x18
push str.The_PE_is_maybe_packed...
add ecx, 0xa8
call fcn.00402a13
mov ecx, dword [esp + 0x1fc]
push str.Resource_not_found.
call fcn.004bf794
mov edi, dword [edi + 0x2bc]
test edi, edi
je 0x43d172
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.004015b9
mov byte [esp + 0x1e8], 1
push eax
lea eax, [esp + 0x18]
push str.Resource_Corrupted..._r_n
push eax
call fcn.00403a76
add esp, 0xc
mov byte [esp + 0x1e8], 2
mov eax, dword [eax]
mov ecx, dword [esp + 0x1fc]
push eax
call fcn.004bf794
mov byte [esp + 0x1e8], 1
lea ecx, [esp + 0x14]
call fcn.00402798
mov byte [esp + 0x1e8], 0
lea ecx, [esp + 0x18]
call fcn.00402798
mov dword [esp + 0x1e8], 0xffffffff
lea ecx, [esp + 0x200]
call fcn.00402798
xor eax, eax
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d8
ret 0x14
Function at 0x441650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x441650
push 0xffffffffffffffff
push 0x54ff28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x8c]
add eax, 0x7c
push eax
lea ecx, [esp + 0x18]
call fcn.00402d4c
mov dword [esp + 0x58], 0
mov ebx, dword [esp + 0x64]
push ebx
lea ecx, [esp + 0x18]
call fcn.004021b2
mov ebp, eax
test ebp, ebp
je 0x4417cf
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4416c7
push eax
mov ecx, ebp
call fcn.00402cc0
mov edi, eax
test edi, edi
jne 0x4416cb
jmp 0x4417cf
mov edi, dword [esp + 0x60]
push 0x5647d4
push 0x43c
mov ecx, esi
call fcn.004bf5a3
mov ecx, eax
call fcn.004bf794
cmp ebx, 1
je 0x4416f1
cmp ebx, 3
jne 0x4417cf
cmp ebx, 3
mov dword [esp + 0x64], 0
jne 0x441706
mov dword [esp + 0x64], 1
push ebp
call fcn.004b14fa
add esp, 4
test edi, edi
je 0x44171c
push edi
call fcn.004b14fa
add esp, 4
mov ecx, dword [esi + 0x8c]
push 2
push 0
add ecx, 0x7c
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebp, eax
movzx eax, word [esp + 0x60]
movzx edx, bx
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4417cf
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test edi, edi
mov ebx, eax
je 0x4417c8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4417c8
mov eax, dword [edi + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x90], eax
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x64]
mov dword [esi + 0x94], ecx
xor ecx, ecx
cmp eax, ecx
jne 0x4417a5
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], ecx
mov edx, dword [esi + 0x90]
push ecx
mov ecx, dword [esi + 0x94]
push edx
push ecx
push 0x30000
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov dword [esi + 0x98], eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00403445
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
Function at 0x4462e0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4462e0
push 0xffffffffffffffff
push 0x550cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x44632a
push 0x15
push str.Nothing_detected...:_
lea ecx, [esp + 0x38]
call fcn.0040468d
push str.Verdana
lea ecx, [esp + 0x10]
call fcn.00404133
mov byte [esp + 0x28], 2
mov edx, dword [esi + 0xcc]
mov edx, dword [edx + 0x144]
lea ecx, [esi + 0xcc]
lea eax, [esp + 0x34]
push eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x14c]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x158]
push 7
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x154]
push 0
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x164]
push 1
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x160]
push 0
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x15c]
push 0
call eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0xc]
call fcn.00402798
mov edx, dword [esi + 0x308]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
mov edi, dword [eax - 0xc]
cmp edi, 0x25
jg 0x4463e0
mov edi, 0x25
push str.Verdana
lea ecx, [esp + 0x10]
call fcn.00404133
mov byte [esp + 0x28], 3
mov edx, dword [esi + 0x2e8]
mov edx, dword [edx + 0x144]
lea ecx, [esi + 0x2e8]
lea eax, [esp + 0x30]
push eax
call edx
mov edx, dword [eax]
mov edx, dword [edx + 0x14c]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov esi, dword [ecx]
cdq
idiv edi
add eax, 3
push eax
mov eax, dword [esi + 0x158]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x140]
push 0
call eax
mov edx, dword [eax]
push 0
push 0
mov ecx, eax
mov eax, dword [edx + 0x13c]
push 0x6407d2
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x160]
push 1
call eax
mov byte [esp + 0x28], 1
lea ecx, [esp + 0xc]
call fcn.00402798
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x30]
call fcn.00402798
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00402798
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x446d50
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x446d50
push 0xffffffffffffffff
push 0x550e58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00404bc4
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x74]
add eax, 0x7c
push eax
lea ecx, [esp + 0x20]
call fcn.00404133
mov bl, 1
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jne 0x446dbf
push 0
push 0
push str.Please_select_a_file_
mov ecx, esi
call fcn.004b9f2e
jmp 0x446ec9
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0x484
mov ecx, esi
mov ebp, eax
call fcn.004bf5a3
mov edx, dword [eax + 0x20]
push 0
push 0
push pe_nt_image_headers32
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x446e36
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5647d4
call fcn.00404133
mov byte [esp + 0x34], 2
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Press__ESC__for_cancel...
call fcn.00404133
mov byte [esp + 0x38], 3
mov byte [esp + 0x38], bl
mov ecx, esi
call fcn.004040b1
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0040119a
mov byte [esp + 0x30], 4
jmp 0x446e47
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00404359
mov byte [esp + 0x30], 5
push eax
lea ecx, [esp + 0x18]
call fcn.00402432
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x20]
call fcn.00402798
call edi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00404bc4
mov byte [esp + 0x30], 6
sub edi, ebp
push edi
lea edx, [esp + 0x1c]
push str.searching_time_:__i_ms
push edx
call fcn.004012df
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004015fa
mov byte [esp + 0x34], 7
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004015fa
mov byte [esp + 0x38], 8
mov byte [esp + 0x38], 6
mov ecx, esi
call fcn.004040b1
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
call fcn.00402798
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x1c]
call fcn.00402798
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402798
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret