joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5981b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov ebx, eax
mov edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov word [ebx + 0x30], ax
mov edx, dword [0x5c4bcc]
mov eax, ebx
call fcn.00597894
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov word [ebx + 0x30], ax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 4], eax
mov ax, word [ebx + 0x20]
mov word [esp + 8], ax
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov word [ebx + 0x40], ax
mov eax, dword [ebx + 0xa8]
call fcn.00595260
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x598353
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0xa8]
call fcn.00595268
mov edx, dword [eax + 8]
mov dword [ebx + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x1c], edx
mov dx, word [eax + 0x10]
mov word [ebx + 0x20], dx
mov edx, edi
mov eax, dword [ebx + 0xa8]
call fcn.00595268
mov esi, dword [eax + 4]
cmp byte [ebx + 0xb5], 0
je 0x598288
mov eax, esi
mov edx, dword [0x5c3c24]
call fcn.00403f90
test al, al
je 0x598288
cmp byte [esi + 0x128], 0
je 0x59834b
test esi, esi
je 0x59834b
cmp byte [ebx + 0xbc], 0
je 0x5982b0
mov edx, edi
mov eax, dword [ebx + 0xa8]
call fcn.00595268
cmp byte [eax + 0x12], 0
jne 0x59834b
mov byte [esi + 0xfc], 1
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x114]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x118]
mov dword [ebx + 0x10], eax
mov byte [ebx + 0x94], 1
mov eax, esi
mov edx, dword [0x5c4610]
call fcn.00403f90
test al, al
je 0x598301
mov edx, edi
mov eax, dword [ebx + 0xa8]
call fcn.00595268
xor edx, edx
mov dword [eax + 4], edx
mov eax, esi
mov edx, dword [0x5c3c24]
call fcn.00403f90
test al, al
je 0x598326
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x3c], eax
mov ax, word [esi + 0x78]
mov word [ebx + 0x40], ax
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov byte [ebx + 0x94], 0
mov byte [esi + 0xfc], 0
mov eax, dword [esp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x10], eax
inc edi
dec ebp
jne 0x598230
mov eax, dword [esp]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x1c], eax
mov ax, word [esp + 8]
mov word [ebx + 0x20], ax
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59867c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5987ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 4]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xcc]
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.005bb964
fld xword [0x5987bc]
fmulp st(1)
fstp xword [ebp - 0x10]
wait
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x98]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x9c]
mov dword [eax + 0x2c], ecx
mov cx, word [edx + 0xa0]
mov word [eax + 0x30], cx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
call fcn.00595260
mov esi, eax
dec esi
test esi, esi
jl 0x598782
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov edx, ebx
call fcn.00595268
fld xword [eax + 8]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov edx, ebx
call fcn.00595268
mov eax, dword [eax + 4]
mov edx, dword [0x5c3c24]
call fcn.00403f90
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x598764
mov eax, dword [ebp - 4]
fld xword [eax + 0x28]
fcomp dword [0x5987c8]
fnstsw ax
sahf
jne 0x59877e
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov edx, ebx
call fcn.00595268
mov eax, dword [eax + 4]
call fcn.00598644
pop ecx
inc ebx
dec esi
jne 0x59870d
mov eax, dword [ebp - 4]
fld xword [eax + 0xd0]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5987b4
lea eax, [ebp - 0x14]
call fcn.00404c94
ret
Function at 0x5aace0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5aad0e
mov eax, ebx
call fcn.005ab794
cmp dword [ebx + 0x40], 0
je 0x5aad07
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5aad7f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5aad71
cmp dword [ebx + 8], 0
je 0x5aad30
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5aad42
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5aad71
cmp dword [ebx + 8], 0
je 0x5aad23
cmp eax, 3
je 0x5aad55
dec eax
jne 0x5aad23
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5aad23
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5aad23
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5aad9d
cmp dword [ebx + 0x14], 0xcc
je 0x5aad9d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005aada8
pop ebx
ret

Function at 0x5bc990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5bcaba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
mov edx, ebx
mov ecx, 0xff
call fcn.00404f4c
cmp byte [ebp - 0x100], 0
jne 0x5bc9ec
lea eax, [ebp - 0xff]
push eax
push 0x40
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x100], al
jmp 0x5bca23
lea eax, [ebp - 0x204]
lea edx, [ebp - 0x100]
call fcn.00404ef8
lea eax, [ebp - 0x204]
mov edx, 0x5bcad0
call fcn.00404f78
mov edx, dword [ebp - 0x204]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404f4c
cmp byte [ebp - 0x100], 0
je 0x5bca75
xor eax, eax
mov al, byte [ebp - 0x100]
cmp byte [ebp + eax - 0x100], 0x5c
je 0x5bca75
lea eax, [ebp - 0x208]
lea edx, [ebp - 0x100]
call fcn.00404ef8
lea eax, [ebp - 0x208]
mov edx, 0x5bcadc
call fcn.00404f78
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x100]
mov ecx, 0xff
call fcn.00404f4c
lea eax, [ebp - 0x1ff]
push eax
push 0
push 0x5bcae0
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, esi
lea eax, [ebp - 0x1ff]
call fcn.0040af2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bcac1
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00404cb8
ret
Function at 0x5d82ec
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5d840d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x6f0688]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x6f0688]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x5d8424
call fcn.0040b41c
mov eax, dword [ebp - 4]
call fcn.005eee38
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x6f009c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x6f05dc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x5d8440
call fcn.0040b41c
mov eax, dword [ebp - 0x10]
call fcn.005eee38
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x5d7f08
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x5d8460
call fcn.0040b41c
mov eax, dword [ebp - 0x24]
call fcn.005eee38
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x5d8478
call fcn.0040b41c
mov eax, dword [ebp - 0x28]
call fcn.005eee38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8414
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404cb8
lea eax, [ebp - 0x10]
call fcn.00404c94
lea eax, [ebp - 4]
call fcn.00404c94
ret

Function at 0x5e1c48
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0048dda8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x5e8bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5e8c6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004053e4
mov eax, dword [0x6efe20]
cmp byte [eax], 0
je 0x5e8c1f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405780
mov eax, dword [ebx]
call fcn.004055ac
push eax
mov eax, dword [ebx]
call fcn.0040559c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004055ac
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405780
jmp 0x5e8c51
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040af2c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.0040558c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e8c71
lea eax, [ebp - 0x3f0]
call fcn.00404c94
ret

Function at 0x5e8c78
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040af2c
add esp, 0x3ec
pop ebx
ret
Function at 0x5ea0fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.0049a004
mov edi, eax
dec edi
test edi, edi
jl 0x5ea1af
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0049a014
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x5ea146
je 0x5ea167
dec eax
je 0x5ea188
jmp 0x5ea1a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0049a014
cmp byte [ebx + 0x168], 0
setne dl
call fcn.00499f30
jmp 0x5ea1a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0049a014
cmp byte [ebx + 0x168], 1
setne dl
call fcn.00499f30
jmp 0x5ea1a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0049a014
cmp byte [ebx + 0x168], 2
setne dl
call fcn.00499f30
inc esi
dec edi
jne 0x5ea127
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x5ea1d4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x5ea243
jmp 0x5ea1d8
pop edx
pop eax
jge 0x5ea243
mov eax, dword [0x6f07c0]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x5ea21f
cmp byte [ebx + 0x165], 2
je 0x5ea21f
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x5ea268
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x5ea268
cmp dword [ebx + 0x120], 0
je 0x5ea268
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00444350
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5f4010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f4181
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x5f4166
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040af2c
mov dl, 1
mov eax, dword [0x5d65b4]
call fcn.005d660c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e440]
call fcn.00403dd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.005d6688
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5f4163
mov dl, 1
mov eax, dword [0x5d7084]
call fcn.005d70ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x5f4198
call fcn.005d69d4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404fbc
xor eax, eax
push ebp
push 0x5f415c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.005d73ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005f41a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4163
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403e04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403e04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403e04
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f4188
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404cb8
ret
Function at 0x641930
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x641938
push ebx
push esi
push edi
mov ebx, dword [0x6f09b8]
xor eax, eax
push ebp
push 0x641bcf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x641be8
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x100c]
call fcn.00404ef8
push dword [ebp - 0xc]
push 0x641c04
push 0x641c18
lea eax, [ebp - 0x10]
lea edx, [ebx + 0x100c]
call fcn.00404ef8
push dword [ebp - 0x10]
push 0x641c24
push 0x641c18
push 0x641c34
push 0x641c40
push 0x641c18
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x500]
call fcn.00404ef8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x100c]
call fcn.00404ef8
push dword [ebp - 0x18]
push 0x641c54
push 0x641c18
push 0x641c64
push 0x641c70
push 0x641c18
lea eax, [ebp - 0x1c]
lea edx, [ebx + 0x100c]
call fcn.00404ef8
push dword [ebp - 0x1c]
push 0x641c88
push 0x641c18
push 0x641c34
push 0x641c40
push 0x641c18
lea eax, [ebp - 0x20]
lea edx, [ebx + 0x500]
call fcn.00404ef8
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x100c]
call fcn.00404ef8
push dword [ebp - 0x24]
push 0x641c98
push 0x641c18
push 0x641ca8
lea eax, [ebp - 4]
mov edx, 0x1c
call fcn.00405030
lea eax, [ebp - 8]
mov edx, 0x641cb4
call fcn.00404d2c
push dword [ebp - 4]
push 0x641cc4
push 0x641c18
push 0x641d14
push 0x641c18
push 0x641d24
push dword [ebp - 8]
push 0x641c04
push 0x641c18
push dword [ebp - 8]
push 0x641c24
push 0x641c18
push 0x641c34
push 0x641c40
push 0x641c18
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x500]
call fcn.00404ef8
push dword [ebp - 0x28]
push dword [ebp - 8]
push 0x641c54
push 0x641c18
push 0x641c64
push 0x641c70
push 0x641c18
push dword [ebp - 8]
push 0x641c88
push 0x641c18
push 0x641c34
push 0x641c40
push 0x641c18
lea eax, [ebp - 0x2c]
lea edx, [ebx + 0x500]
call fcn.00404ef8
push dword [ebp - 0x2c]
push dword [ebp - 8]
push 0x641c98
push 0x641c18
push 0x641ca8
lea eax, [ebp - 4]
mov edx, 0x21
call fcn.00405030
mov eax, dword [0x6f02e8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x60]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.0040558c
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x641b62
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.004d9b2c
mov bl, 1
mov eax, dword [0x6f02e8]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
mov dword [eax + 0xc], 0x3e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x641b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x641bd6
lea eax, [ebp - 0x38]
call fcn.00404c94
lea eax, [ebp - 0x34]
call fcn.00406bac
lea eax, [ebp - 0x30]
call fcn.004053e4
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00404cb8
ret
Function at 0x642324
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405160
mov ebx, 0x6f346c
xor eax, eax
push ebp
push 0x642412
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6e8e40], 0
je 0x6423fc
cmp dword [ebx], 0
ja 0x642396
push 0x642180
mov edx, 0x642420
mov ecx, dword [0x6f345c]
mov eax, dword [0x6f1668]
call fcn.00408738
mov dword [ebx], eax
push 5
mov eax, dword [ebx]
push eax
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetActiveWindow
mov dword [0x6f345c], eax
push 0
mov eax, dword [0x6f345c]
push eax
call sub.user32.dll_EnableWindow
push 0x3e9
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push 0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 4], 0
je 0x6423c7
mov eax, dword [ebp - 4]
call fcn.00405170
push eax
push 0xffff
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetDlgItemTextA
push 0x642428
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowTextA
push 0xffffffffffffffff
push 0xc
push 0x200
push 0xc
push 0xc
push 0xffff
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_MoveWindow
mov eax, dword [ebx]
push eax
call sub.user32.dll_UpdateWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x642419
lea eax, [ebp - 4]
call fcn.00404c94
ret

Function at 0x642438
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405160
xor eax, eax
push ebp
push 0x6424bb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x6e8e40], 0
je 0x6424a5
push 0x3e9
mov eax, dword [0x6f346c]
push eax
call sub.user32.dll_GetDlgItem
push 0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 4], 0
je 0x642495
mov eax, dword [ebp - 4]
call fcn.00405170
push eax
push 0xffff
mov eax, dword [0x6f346c]
push eax
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [0x6f346c]
push eax
call sub.user32.dll_UpdateWindow
call fcn.006421f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6424c2
lea eax, [ebp - 4]
call fcn.00404c94
ret
Function at 0x645d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x645e79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c94
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ClearCommError
cmp dword [ebp - 0x30], 0x15
jbe 0x645d9a
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_PurgeComm
jmp 0x645e56
mov eax, dword [ebp - 0x30]
test eax, eax
jbe 0x645e56
push 0
lea edx, [ebp - 0xc]
push edx
push eax
lea eax, [ebp - 0x25]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReadFile_1
lea eax, [ebp - 8]
call fcn.00404c94
cmp dword [ebp - 0xc], 0xb
jbe 0x645e56
push 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_PurgeComm
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x645e39
inc esi
xor edi, edi
lea ebx, [ebp - 0x25]
mov al, byte [ebx]
cmp al, 0x30
jb 0x645e0b
cmp al, 0x39
ja 0x645e0b
lea eax, [ebp - 0x38]
mov dl, byte [ebx]
call fcn.00404e7c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00404f78
jmp 0x645e34
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 0xc]
dec eax
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x645e25
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x645e34
jmp 0x645e29
pop edx
pop eax
jle 0x645e34
cmp byte [ebx], 0xd
jne 0x645e34
cmp byte [ebx + 1], 0xa
je 0x645e39
inc edi
inc ebx
dec esi
jne 0x645dea
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00409c78
mov eax, dword [ebp - 0x3c]
call fcn.0040a3c8
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.0040a2d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645e80
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404cb8
lea eax, [ebp - 8]
call fcn.00404c94
ret