joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413770
Capabilities:
Parse url

Disassembly:
sub esp, 0x83c
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0x838], eax
mov eax, dword [esp + 0x844]
push ebx
mov ebx, dword [esp + 0x844]
test ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
je 0x4138a2
test edi, edi
je 0x4138a2
push ebp
push esi
mov esi, eax
and eax, 0xc0000000
and esi, 0x3e000000
push esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esp + 0x1c], 0x824
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x41383d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x413821
mov edx, dword [esp + 0xc]
push edx
call fcn.0041688f
add esp, 4
mov ebp, eax
push esi
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x24], 1
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
jne 0x413841
push ebp
call fcn.00416894
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.00432a13
add esp, 0x83c
ret 8
lea ebp, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push 0
push ebp
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp dword [esp + 0x14], 0
mov esi, eax
je 0x413862
push ebp
call fcn.00416894
add esp, 4
test esi, esi
jne 0x413874
mov edx, dword [esp + 0x10]
mov dword [edx], 0xffffffff
mov eax, esi
jmp 0x413823
mov ax, word [ebx + 0x18]
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
mov ebx, dword [ebx + 0xc]
lea edx, [ebx - 1]
cmp edx, 6
ja 0x413894
mov eax, dword [esp + 0x10]
mov dword [eax], ebx
mov eax, esi
jmp 0x413823
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0xffffffff
mov eax, esi
jmp 0x413823
mov ecx, dword [esp + 0x83c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00432a13
add esp, 0x83c
ret 8
Function at 0x414a10
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
imul eax, eax, 0x128
push esi
mov esi, ecx
mov ecx, dword [eax + esi + 0x9a4]
mov edx, dword [eax + esi + 0x9a0]
add eax, esi
push ecx
mov ecx, dword [eax + 0x99c]
push edx
mov edx, dword [eax + 0x998]
push ecx
push edx
push ebx
push str.OnAntWorkOver__d____d__d_
push 1
push 0
call fcn.004145e0
mov ecx, dword [esi + 0xf58]
add esp, 0x20
cmp ecx, 1
jne 0x414aac
push 0
lea eax, [esi + 0x834]
push eax
lea ecx, [esi + 0x9b0]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esi + 0xf80]
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414a9a
mov edx, dword [esi + 0x938]
push 6
push 2
push 0
push edx
call eax
mov eax, dword [esi + 0x118c]
pop esi
pop ebx
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
xor edi, edi
test ecx, ecx
jle 0x414add
lea eax, [esi + 0x9a0]
mov edx, ecx
push ebp
lea esp, [esp]
mov ebp, dword [eax + 8]
cmp ebp, dword [eax]
jne 0x414ad2
mov ebp, dword [eax + 0xc]
cmp ebp, dword [eax + 4]
jne 0x414ad2
add edi, 1
add eax, 0x128
sub edx, 1
jne 0x414ac0
pop ebp
cmp edi, ecx
pop edi
jne 0x414b09
mov eax, dword [esi + 0xf80]
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414b09
mov ecx, dword [esi + 0x938]
push 6
push 2
push 0
push ecx
call eax
mov edx, dword [esi + ebx*4 + 0x118c]
pop esi
pop ebx
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_SetEvent]
Function at 0x414b20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x11a0]
xor ebp, ebp
cmp eax, ebp
push edi
jne 0x414bc4
lea eax, [esi + 0x834]
push 0x44cb00
push eax
call fcn.004339bc
add esp, 8
cmp eax, ebp
jne 0x414b86
mov eax, dword [esi + 0xf80]
cmp eax, ebp
mov dword [esi + 0xc], 7
mov dword [esi + 8], 3
je 0x414d08
mov ecx, dword [esi + 0x938]
push 7
push 3
push ebp
push ecx
call eax
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 0x14
ret
push eax
call fcn.004336d5
mov eax, dword [esi + 0xf80]
add esp, 4
cmp eax, ebp
mov edi, 1
mov dword [esi + 0xc], 5
mov dword [esi + 8], edi
je 0x414bb5
mov edx, dword [esi + 0x938]
push 5
push edi
push ebp
push edx
call eax
mov dword [esi + 0x11a0], edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret
cmp eax, 1
jne 0x414d08
lea eax, [esi + 0x834]
push 0x44cb00
push eax
call fcn.004339bc
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x14], edi
je 0x414b50
mov edx, dword [esi + 0x9a4]
mov eax, dword [esi + 0x9a0]
push ebx
push ebp
push 0x1000
push edx
push eax
call fcn.00434b40
mov dword [esp + 0x1c], eax
add eax, 0x20
push eax
mov dword [esp + 0x24], edx
call fcn.0041688f
add esp, 4
cmp dword [esi + 0xf58], ebp
mov ebx, eax
mov dword [esp + 0x14], ebp
jle 0x414c98
lea ecx, [esi + 0x9b0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0x44cb3c
push edx
call fcn.004339bc
mov edi, eax
add esp, 8
test edi, edi
je 0x414c81
mov eax, dword [esp + 0x1c]
push edi
push eax
push 1
push ebx
call fcn.00433c2c
add esp, 0x10
test eax, eax
jle 0x414c78
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 1
push ebx
call fcn.0043386b
add esp, 0x10
add dword [esp + 0x14], 1
push edi
call fcn.004336d5
add esp, 4
add dword [esp + 0x10], 0x128
add ebp, 1
cmp ebp, dword [esi + 0xf58]
jl 0x414c35
mov edi, dword [esp + 0x18]
push ebx
call fcn.00416894
push edi
call fcn.004336d5
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xf80]
add esp, 8
cmp edx, dword [esi + 0xf58]
pop ebx
jne 0x414ce7
test eax, eax
mov dword [esi + 0xc], 6
mov dword [esi + 8], 2
je 0x414cdb
mov ecx, dword [esi + 0x938]
push 6
push 2
push 0
push ecx
call eax
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 0x14
ret
test eax, eax
mov dword [esi + 0xc], 7
mov dword [esi + 8], 3
je 0x414d08
mov edx, dword [esi + 0x938]
push 7
push 3
push 0
push edx
call eax
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 0x14
ret
Function at 0x414d28
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
cmp dword [esp + 0x20], 0
push esi
mov esi, ecx
je 0x414e66
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [esi + 0xf58]
test eax, eax
jne 0x414d55
mov eax, 1
push 1
push 1
lea ecx, [esi + 0x118c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x414d90
mov eax, 1
cmp dword [esi + 0xf58], eax
jle 0x414e4d
mov dword [0x462bb0], eax
mov dword [esi + 0x11a0], 0
jmp 0x414d99
cmp dword [0x462bb0], 0
je 0x414daa
mov ecx, esi
call fcn.00414b20
cmp eax, 3
je 0x414de6
cmp eax, 4
je 0x414e16
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
je 0x414d46
lea ecx, [ecx]
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call edi
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
jne 0x414dc0
jmp 0x414d46
xor edi, edi
cmp dword [esi + 0xf58], edi
jle 0x414e4d
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [esi + 0x9b0]
lea esp, [esp]
push ebx
call ebp
add edi, 1
add ebx, 0x128
cmp edi, dword [esi + 0xf58]
jl 0x414e00
jmp 0x414e4d
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, 1
cmp dword [esi + 0xf58], edi
jle 0x414e44
lea ebx, [esi + 0xad8]
nop
push ebx
call ebp
add edi, 1
add ebx, 0x128
cmp edi, dword [esi + 0xf58]
jl 0x414e30
add esi, 0x834
push esi
call ebp
pop edi
pop ebp
pop ebx
mov dword [0x462bb0], 0
mov eax, 1
pop esi
add esp, 0x1c
ret 4
push 0
add esi, 0x118c
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
add eax, 1
pop esi
add esp, 0x1c
ret 4
Function at 0x414eb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa3c
mov eax, dword [0x460df4]
xor eax, esp
mov dword [esp + 0xa38], eax
mov eax, dword [esp + 0xa40]
push ebx
mov ebx, dword [esp + 0xa48]
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x44d3d0
lea edi, [esi + 0x10]
push 0x824
push edi
call fcn.00434f67
push ebx
push 0x44d3d0
lea ebp, [esi + 0x834]
push 0x104
push ebp
call fcn.00434f67
mov eax, dword [esp + 0xa7c]
mov ecx, dword [esp + 0xa78]
mov dword [esi + 0x938], eax
mov eax, edi
add esp, 0x20
mov dword [esi + 0xf80], ecx
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414f27
sub eax, edx
je 0x415032
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414f40
sub eax, edx
je 0x415032
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.004138c0
test eax, eax
je 0x415016
cmp dword [esp + 0x10], 0xffffffff
je 0x415016
mov eax, dword [esi + 0xf80]
cmp eax, ebx
mov dword [esi + 0xc], 1
mov dword [esi + 8], ebx
je 0x414fa5
mov ecx, dword [esi + 0x938]
push 1
push ebx
push ebx
push ecx
call eax
lea edx, [esp + 0x1c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esi + 0x1088]
push eax
push 0x104
push 0x4507c8
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esi + 0x11a4]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [esp + 0x18]
push eax
push 0x49
push ebx
mov dword [esp + 0x24], 6
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 0x4a
push ebx
call edi
lea ecx, [esi + 0x93c]
call fcn.004160f0
mov eax, 1
jmp 0x41506e
push edi
push 0x4507b4
lea edx, [esi + 0xf84]
push 0x104
push edx
call fcn.00434f67
add esp, 0x10
jmp 0x41504b
push 0x450408
lea edx, [esi + 0xf84]
push 0x104
push edx
call fcn.00434f67
add esp, 0xc
mov eax, dword [esi + 0xf80]
cmp eax, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 2
je 0x41506c
mov ecx, dword [esi + 0x938]
push 2
push ebx
push ebx
push ecx
call eax
xor eax, eax
mov ecx, dword [esp + 0xa48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00432a13
add esp, 0xa3c
ret 0x10
Function at 0x4160f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a1c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x460df4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [esi + 4], 0
jne 0x4161e9
xor ebx, ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dword [ebp - 0x14], ebx
jne 0x41613a
xor eax, eax
jmp 0x416142
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jge 0x4161b5
push 8
mov dword [ebp - 4], 0
call fcn.00416864
add esp, 4
lea ecx, [eax + 4]
push ecx
push 4
push eax
push 0x415f60
push 0
push 0
mov dword [eax], esi
call fcn.00434109
mov edi, eax
add esp, 0x18
test edi, edi
je 0x416195
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41618a
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41618f
call fcn.004334ac
mov edx, dword [esi + 0xc]
mov dword [edx + ebx*4], edi
mov dword [ebp - 4], 0xffffffff
add ebx, 1
jmp 0x41612c
mov ebx, dword [esi + 0x10]
cmp ecx, ebx
jbe 0x4161c1
call fcn.004334ac
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x4161ce
call fcn.004334ac
cmp edi, ebx
je 0x4161e2
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
add edi, 4
cmp edi, ebx
jne 0x4161d2
mov dword [esi + 4], 1
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x416204
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
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
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 0x416600
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov esi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
push edi
lea edi, [ebp + 8]
jbe 0x416616
call fcn.004334ac
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x416623
call fcn.004334ac
test edi, edi
je 0x41662b
cmp edi, edi
je 0x416630
call fcn.004334ac
cmp esi, ebx
je 0x416670
push 4
call fcn.00416864
add esp, 4
test eax, eax
je 0x41664a
mov dword [eax], vtable.DOWNANT::CThreadPool::SuicidePill.0
jmp 0x41664c
xor eax, eax
push eax
mov ecx, ebp
call fcn.00416520
test eax, eax
je 0x416670
test edi, edi
jne 0x416661
call fcn.004334ac
cmp esi, dword [edi + 8]
jb 0x41666b
call fcn.004334ac
add esi, 4
jmp 0x416616
mov dword [ebp + 4], 0
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x416684
call fcn.004334ac
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ebx, [ebx]
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x41669d
call fcn.004334ac
test edi, edi
je 0x4166a5
cmp edi, edi
je 0x4166aa
call fcn.004334ac
cmp esi, ebx
je 0x416706
test edi, edi
jne 0x4166b7
call fcn.004334ac
cmp esi, dword [edi + 8]
jb 0x4166c1
call fcn.004334ac
mov eax, dword [esi]
push 0xa
push eax
call ebp
cmp eax, 0x102
jne 0x4166e4
cmp esi, dword [edi + 8]
jb 0x4166d9
call fcn.004334ac
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp esi, dword [edi + 8]
jb 0x4166ee
call fcn.004334ac
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [edi + 8]
jb 0x416701
call fcn.004334ac
add esi, 4
jmp 0x416690
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x416713
call fcn.004334ac
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x416720
call fcn.004334ac
cmp esi, ebx
je 0x416749
mov eax, dword [edi + 8]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + esi]
jle 0x416746
push ecx
push ebx
push ecx
push esi
call fcn.004325f1
add esp, 0x10
mov dword [edi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x416750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a216
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x460df4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 8]
xor edi, edi
mov dword [esi], vtable.DOWNANT::CThreadPool.0
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [esp + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, dword [esp + 0x2c]
push edi
push eax
mov byte [esp + 0x2c], 1
mov dword [esi + 4], edi
call fcn.00416460
mov eax, dword [esp + 0x30]
push edi
push eax
push edi
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp eax, edi
mov dword [esi + 0x30], eax
jne 0x4167ef
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], str.Cant_Create_QueueAccessSemaphone
call fcn.00433253
push 0x459d00
lea edx, [esp + 0x14]
push edx
call fcn.00433338
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x4c], eax
jne 0x416830
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], str.Cant_Create_QueueNotFullEvent
call fcn.00433253
push 0x459d00
lea edx, [esp + 0x14]
push edx
call fcn.00433338
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8

Function at 0x41b03b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41b081
call fcn.0041cf10
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41b081
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41b0c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41b0ad
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41b0ad
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41b0c1
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4205c2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4205fb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00418ae1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00418abc
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42211c
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 0x42215f
call fcn.0041cf10
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42215f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42217a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00421cd3
test ebx, ebx
mov esi, eax
je 0x422178
test edi, edi
je 0x422178
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x423421
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42344f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42346d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042338b
jmp 0x42346d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42346d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042338b
test edi, edi
mov eax, edi
jne 0x423457
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x464724]
test ecx, ecx
je 0x423530
jmp 0x423420
ret 8

Function at 0x432a13
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x460df4]
jne 0x432a1d
repz ret
jmp fcn.0043ca3c

Function at 0x434d8d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x434dba
call fcn.00434e74
mov dword [eax], esi
call fcn.00434e61
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00433488
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434dd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00434e87
pop ecx
jmp 0x434db5
test byte [esp + 0xc], 0x80
je 0x434de4
and eax, 0xfffffffe
jmp 0x434de7
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x434dc9
xor eax, eax
pop esi
ret
Function at 0x434ea5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x434ed2
call fcn.00434e74
mov dword [eax], esi
call fcn.00434e61
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00433488
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x434eae
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00434e87
pop ecx
call fcn.00434e61
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x434f28
test al, 1
je 0x434f28
test byte [esp + 0xc], 2
je 0x434f28
call fcn.00434e74
mov dword [eax], 5
call fcn.00434e61
mov dword [eax], 0xd
jmp 0x434ef8
xor eax, eax
pop esi
ret
Function at 0x44578f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043aef1
xor ebx, ebx
cmp dword [0x4654e0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x445864
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4457cf
xor eax, eax
jmp 0x445928
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4552a8
push edi
call esi
cmp eax, ebx
je 0x4457c8
push eax
call fcn.0043ae8e
mov dword [esp], 0x455298
push edi
mov dword [0x4654e0], eax
call esi
push eax
call fcn.0043ae8e
mov dword [esp], 0x455284
push edi
mov dword [0x4654e4], eax
call esi
push eax
call fcn.0043ae8e
mov dword [0x4654e8], eax
lea eax, [ebp - 8]
push eax
call fcn.0043712e
test eax, eax
pop ecx
pop ecx
je 0x445832
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043338c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x445864
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043ae8e
cmp eax, ebx
pop ecx
mov dword [0x4654f0], eax
je 0x445864
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043ae8e
pop ecx
mov dword [0x4654ec], eax
mov eax, dword [0x4654ec]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4458dd
cmp dword [0x4654f0], esi
je 0x4458dd
push eax
call fcn.0043aefa
pop ecx
call eax
cmp eax, ebx
je 0x4458aa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4654f0]
call fcn.0043aefa
pop ecx
call eax
test eax, eax
je 0x4458aa
test byte [ebp - 0x18], 1
jne 0x4458dd
lea eax, [ebp - 0xc]
push eax
call fcn.00437165
test eax, eax
pop ecx
je 0x4458c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043338c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4458d4
or dword [ebp + 0x10], 0x200000
jmp 0x44590e
or dword [ebp + 0x10], 0x40000
jmp 0x44590e
mov eax, dword [0x4654e4]
cmp eax, esi
je 0x44590e
push eax
call fcn.0043aefa
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44590e
mov eax, dword [0x4654e8]
cmp eax, esi
je 0x44590e
push dword [ebp - 4]
push eax
call fcn.0043aefa
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4654e0]
call fcn.0043aefa
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448c48
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x460df4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00448bdd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00432a30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x448c97
cmp dword [ebp - 0x1c], 5
jb 0x448caf
jmp 0x448cab
cmp dword [ebp - 0x10], 1
jne 0x448caf
cmp dword [ebp - 0x1c], 4
ja 0x448cab
jne 0x448caf
cmp dword [ebp - 0x18], 0
jbe 0x448caf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x455b54
call fcn.00448ace
test eax, eax
jge 0x448cd0
mov byte [0x462354], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00432a13
add ebp, 0x78
leave
ret