joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421039
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x44fe28], ebx
push esi
push edi
jne 0x4210b9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4210f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4422e4
push edi
call esi
test eax, eax
mov dword [0x44fe28], eax
je 0x4210f4
push 0x4422d4
push edi
call esi
push 0x4422c0
push edi
mov dword [0x44fe2c], eax
call esi
cmp dword [0x44f9dc], 2
mov dword [0x44fe30], eax
jne 0x4210b9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x44fe38], eax
je 0x4210b9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x44fe34], eax
mov eax, dword [0x44fe34]
test eax, eax
je 0x4210fe
call eax
test eax, eax
je 0x4210e5
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x44fe38]
test eax, eax
je 0x4210e5
test byte [ebp - 8], 1
jne 0x4210fe
cmp dword [0x44f9e8], 4
jb 0x4210f8
or byte [ebp + 0x12], 0x20
jmp 0x42111d
xor eax, eax
jmp 0x42112d
or byte [ebp + 0x12], 4
jmp 0x42111d
mov eax, dword [0x44fe2c]
test eax, eax
je 0x42111d
call eax
mov ebx, eax
test ebx, ebx
je 0x42111d
mov eax, dword [0x44fe30]
test eax, eax
je 0x42111d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x44fe28]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422b87
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00417cc0
mov eax, dword [0x44c608]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041dda1
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x422cbc
push 2
push esi
push dword [ebp + 8]
call fcn.0041dda1
add esp, 0xc
cmp eax, ebx
je 0x422cbc
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x422c5c
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004175c0
push 0x8000
push dword [ebp + 8]
call fcn.0042351e
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x422c12
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0041e396
add esp, 0xc
cmp eax, 0xffffffff
je 0x422c32
sub edi, eax
test edi, edi
jg 0x422c0a
jmp 0x422c4a
call fcn.00418d93
cmp dword [eax], 5
jne 0x422c47
call fcn.00418d8a
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042351e
pop ecx
pop ecx
jmp 0x422ca4
jge 0x422ca4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041dda1
push dword [ebp + 8]
call fcn.00419aa6
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x422ca4
call fcn.00418d8a
mov dword [eax], 0xd
call fcn.00418d93
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0041dda1
add esp, 0xc
mov eax, esi
pop edi
jmp 0x422cbe
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret
Function at 0x42369f
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4236b8
or eax, 0xffffffff
jmp 0x423719
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x423715
push 0x3d
push esi
call fcn.00418d0f
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x423715
cmp esi, eax
je 0x423715
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x44f9fc]
sete cl
cmp eax, dword [0x44fa00]
mov dword [ebp - 4], ecx
jne 0x4236fb
mov edi, eax
call fcn.0042363e
mov dword [0x44f9fc], eax
cmp eax, ebx
jne 0x423754
cmp dword [ebp + 0xc], ebx
je 0x42371d
cmp dword [0x44fa04], ebx
je 0x42371d
call fcn.0042348e
test eax, eax
je 0x423754
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x423726
xor eax, eax
jmp 0x423718
push 4
call fcn.00417ffe
cmp eax, ebx
pop ecx
mov dword [0x44f9fc], eax
je 0x423715
mov dword [eax], ebx
cmp dword [0x44fa04], ebx
jne 0x423754
push 4
call fcn.00417ffe
cmp eax, ebx
pop ecx
mov dword [0x44fa04], eax
je 0x423715
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x44f9fc]
sub edi, esi
push esi
call fcn.004235f1
mov edi, eax
test edi, edi
pop ecx
jl 0x4237bb
cmp dword [ebx], 0
je 0x4237bb
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.00418010
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x42379b
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4237fc
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x423792
mov eax, edi
shl eax, 2
push eax
push dword [0x44f9fc]
call fcn.00418b47
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x4237fc
jmp 0x4237f7
cmp dword [ebp - 4], 0
jne 0x423863
test edi, edi
jge 0x4237cb
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x44f9fc]
call fcn.00418b47
test eax, eax
pop ecx
pop ecx
je 0x423715
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x44f9fc], eax
cmp dword [ebp + 0xc], 0
je 0x42384e
push esi
call fcn.00416100
inc eax
inc eax
push eax
call fcn.00417ffe
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x42384e
push esi
push edi
call fcn.00417170
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x423847
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.00418010
pop ecx
cmp dword [ebp - 4], 0
je 0x42385b
push esi
call fcn.00418010
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x423718
push esi
call fcn.00418010
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x423722
Function at 0x42557c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.004175c0
add esp, 0xc
call fcn.00436673
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x42564c
cmp dword [ebp - 8], ebx
je 0x425647
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x42544e
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004189e1
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x425656
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x42561f
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x425639
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x425651
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x425658
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x425656
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x426169
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x4261a0
call fcn.00436683
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4261b1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x4261ea
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x4261cf
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x4261d7
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x4261e8
test ax, ax
jne 0x4261e8
test si, si
je 0x4261ea
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x4261f9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x42644b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4397bc
call fcn.00416cd8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00436683
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x426499
call fcn.00436683
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4264aa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4264b6
or eax, 0xffffffff
jmp 0x4265b9
mov ecx, esi
call fcn.00425f8d
mov dword [ebp - 0x14], eax
call fcn.004281bb
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x4264f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4264f9
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4264f9
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00429825
push dword [ebp - 0x14]
call fcn.00428113
push edi
push eax
push ebx
mov ecx, esi
call fcn.0042623e
xor ebx, ebx
cmp eax, ebx
je 0x42656d
test byte [esi + 0x38], 0x10
je 0x42653b
push 4
pop edi
mov ecx, esi
call fcn.0042a4a2
test ah, 1
je 0x426533
push 5
pop edi
push edi
mov ecx, esi
call fcn.00427bb7
cmp dword [esi + 0x1c], ebx
je 0x42656d
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042a755
jmp 0x42656d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x426581
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x42659a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42659a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00425fc7
cmp dword [esi + 0x54], ebx
je 0x4265b6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4265f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00436683
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42662a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042623e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x428e32
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x428e6b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040badc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040b643
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42a192
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42a1d5
call fcn.00436683
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42a1d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42a1f0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004292ed
test ebx, ebx
mov esi, eax
je 0x42a1ee
test edi, edi
je 0x42a1ee
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42ac00
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4398f1
call fcn.00416cd8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x42ac1a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42ac66
call fcn.0042adf3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040114d
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x42b53c
Capabilities:
Get disk information

Disassembly:
mov eax, 0x439ba5
call fcn.00416cd8
sub esp, 0x154
mov eax, dword [0x44c608]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x158]
push eax
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x42b583
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x42b587
cmp eax, esi
jb 0x42b58e
xor eax, eax
jmp 0x42b672
call fcn.0042adf3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x154], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x154]
push eax
push edi
call fcn.0042b4fa
push dword [ebp - 0x154]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x42b65f
push eax
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x42b5ef
xor esi, esi
jmp 0x42b662
test byte [ebp - 0x15c], 2
jne 0x42b5ff
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x15c], 4
jne 0x42b65f
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x42b65f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x158], 0
je 0x42b5eb
cmp dword [ebp - 0x158], edi
jbe 0x42b5eb
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x158]
cmp eax, esi
jge 0x42b5eb
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x154]
add ecx, 0xfffffff0
call fcn.0040114d
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret 8
Function at 0x42d044
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.004175c0
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x43f628]
je 0x42d192
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42d0b4
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x42d0bb
cmp ebx, ebx
jne 0x42d0bb
xor eax, eax
jmp 0x42d195
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x42d0c8
mov byte [esi + 0x20], bl
jmp 0x42d0dc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
lea eax, [ebp - 8]
push eax
call fcn.0041515a
test eax, eax
je 0x42d103
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d50d
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
jmp 0x42d108
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0041515a
test eax, eax
je 0x42d130
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d50d
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
jmp 0x42d13a
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0041515a
test eax, eax
je 0x42d162
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d50d
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jmp 0x42d16c
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x42d17e
mov eax, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x42d192
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42fe7d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x44c608]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov eax, 0x100
cmp ebx, eax
ja 0x42fed0
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x42fed0
push edi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42fed8
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret 8

Function at 0x430e81
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44c608]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor eax, ebp
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
je 0x430ed2
push edi
call fcn.004368a8
mov esi, eax
test esi, esi
je 0x430ef6
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
jmp 0x430ef6
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x43e3c0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004160e8
leave
ret 0xc

Function at 0x43458f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4345b8
call fcn.00436683
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4345db
push eax
push dword [esi + 4]
call fcn.0043451c
push esi
push eax
mov ecx, 0x44f678
call fcn.004343a8
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x434770
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x434899
mov eax, dword [esi + 0x14]
test eax, eax
je 0x434899
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4347b7
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4347af
push 0
jmp 0x43489b
mov eax, dword [ebp - 4]
jmp 0x43487a
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x43480b
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x4347cf
xor ebx, ebx
jmp 0x4347d7
cmp ebx, edi
ja 0x43487f
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00416190
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4347a8
mov eax, dword [ebp - 4]
jmp 0x434876
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x434883
sub edx, eax
jns 0x43481d
xor ebx, ebx
jmp 0x434823
mov ebx, edx
cmp ebx, edi
ja 0x43487f
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00416190
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4347a8
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x43485c
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.00416190
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x434878
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00416190
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x434878
push 6
push dword [esi + 0x1c]
call fcn.0043451c
int3