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

Disassembly:
mov eax, dword [esi]
sub esp, 8
test al, 3
jne 0x429c30
add esp, 8
ret
test al, 1
je 0x429c52
mov ecx, dword [esi + 4]
lea eax, [esp]
push eax
push ecx
call fcn.00415662
mov edx, dword [esp + 8]
add esp, 8
or edx, dword [esp + 4]
jne 0x4109dd
mov eax, dword [esi]
test al, 0x20
je 0x429c78
mov eax, dword [esi + 4]
push eax
push 2
push 1
push 0x481c58
call fcn.00415832
mov dword [esi + 0xc], 1
add esp, 0x10
add esp, 8
ret
test al, 0x40
je 0x429c9c
mov ecx, dword [esi + 4]
push ecx
push 2
push 1
push 0x481c5c
call fcn.00415832
mov dword [esi + 0xc], 2
add esp, 0x10
add esp, 8
ret
test al, al
jns 0x4109dd
mov edx, dword [esi + 4]
push edx
push 3
push 1
push str.rb
call fcn.00415832
mov dword [esi + 0xc], 4
add esp, 0x10
add esp, 8
ret

Function at 0x410a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0x481c64
push eax
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
call fcn.0041553c
add esp, 8
test eax, eax
je 0x410a93
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00415c47
push esi
mov edi, eax
call fcn.0041592b
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x410a89
cmp al, 0xff
je 0x429bc0
cmp al, 0xfe
je 0x429bdb
cmp al, 0xef
je 0x429bf6
pop edi
pop esi
pop ebp
ret 4
cmp byte [esp + 0x11], 0xfe
jne 0x410a89
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x410a91
cmp byte [esp + 0x11], 0xff
jne 0x410a89
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x410a91
cmp edi, 3
jb 0x410a91
cmp byte [esp + 0x11], 0xbb
jne 0x410a91
cmp byte [esp + 0x12], 0xbf
jne 0x410a91
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x410a91

Function at 0x410aa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x47f878
or eax, 0xffffffff
call fcn.00411440
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00414c70
push esi
call fcn.00412979
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00410d10
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00410b50
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 0x18]
inc eax
add ecx, edx
cmp eax, 0x10
jl 0x410af8
mov eax, dword [ebp + 8]
push 0x481c64
push eax
mov dword [edi + 8], ecx
call fcn.0041553c
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42bc40
push edi
call fcn.004114b0
test eax, eax
je 0x42bc4a
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.0041592b
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x410b40
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00415c47
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044b4ef
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42bc7a
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00416d62
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x410b40
Function at 0x410d10
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414380
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4114b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00426240
push ebx
mov ebx, dword [esp + 0x10028]
push ebp
push esi
push edi
xor eax, eax
jmp 0x4114d0
mov cl, byte [eax + 0x48cf58]
mov dl, byte [eax + 0x48cf50]
mov byte [esp + eax + 0x1c], cl
mov byte [esp + eax + 0x24], dl
inc eax
cmp eax, 8
jl 0x4114d0
lea eax, [esp + 0x10]
push str.AU3_
push eax
call fcn.00414c70
push 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00412990
add esp, 0x14
mov dword [esp + 0x18], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00415c47
add esp, 0x10
cmp eax, 0x18
jl 0x41157e
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x411561
xor edx, edx
lea esp, [esp]
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x429973
cmp ecx, 0x14
je 0x4299f2
inc edx
cmp edx, edi
jl 0x411540
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 1
lea edx, [ecx + ebp - 0x14]
push 0xffffffffffffffec
push eax
mov dword [esp + 0x24], edx
call fcn.004155dd
add esp, 0xc
jmp 0x411515
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
jne 0x4299bf
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
jne 0x4299cc
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x4299db
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
mov ebx, dword [esp + 0x10034]
jne 0x4299ea
add ecx, 5
cmp ecx, 0x14
jge 0x411556
jmp 0x411546
mov ebx, dword [esp + 0x10034]
inc ecx
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 2
jmp 0x411553
mov ebx, dword [esp + 0x10034]
add ecx, 3
jmp 0x411553
add ecx, 4
jmp 0x411553
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.004155dd
mov ecx, dword [ebx]
push ecx
push 4
lea edx, [esp + 0x24]
push 1
push edx
call fcn.00415c47
lea eax, [esp + 0x2c]
push str.EA06
push eax
mov byte [esp + 0x38], 0
call fcn.00415290
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x411583

Function at 0x411770
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x48e910]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x48e910]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x48e908], eax
call esi
mov edx, dword [0x48e908]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x48e904], eax
call esi
mov eax, dword [0x48e908]
push 0
push eax
call esi
pop esi
ret
Function at 0x4119a0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov eax, 5
push ebx
push 0x5b
mov dword [0x49f660], eax
mov dword [0x49f664], eax
mov dword [0x49f6a0], ebx
mov byte [0x49f668], 1
mov byte [0x49f669], bl
mov dword [0x49f66c], ebx
mov dword [0x49f6b0], 0xa0
call esi
push ebx
push 0x10
mov byte [0x49f6ad], al
call esi
mov byte [0x49f6aa], al
mov eax, dword [0x49f6b0]
push ebx
push eax
call esi
push ebx
push 0xa1
mov byte [0x49f6ab], al
call esi
push ebx
push 0x11
mov byte [0x49f6ac], al
call esi
push ebx
push 0x12
mov byte [0x49f6a8], al
call esi
lea ecx, [esp + 0xc]
push ecx
mov byte [0x49f6a9], al
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov edi, dword [sym.imp.USER32.dll_VkKeyScanA]
mov esi, 1
mov bl, 0x20
jmp 0x411a40
movzx edx, byte [esi + 0x48da48]
push edx
call edi
cmp ax, 0xffff
je 0x411aaf
inc esi
cmp esi, 7
jle 0x411a40
lea eax, [esp + 0x10]
push str.0409
push eax
call fcn.00415290
add esp, 8
test eax, eax
je 0x429d6f
lea edx, [esp + 0x10]
push str.0809
push edx
call fcn.00415290
add esp, 8
test eax, eax
jne 0x429d9c
mov byte [0x48da4a], bl
mov byte [0x48da4d], bl
mov byte [0x48da4e], bl
mov byte [0x48da4b], bl
mov byte [0x48da4c], bl
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x48da48], bl
jmp 0x411a50
push 4
lea ecx, [esp + 0x10]
push str.0002
push ecx
call fcn.00415318
add esp, 0xc
mov byte [0x48da4a], bl
mov byte [0x48da4d], bl
test eax, eax
je 0x411aa8
jmp 0x411a96
lea eax, [esp + 0x12]
push 0x4804e0
push eax
call fcn.00415290
add esp, 8
test eax, eax
jne 0x429dbd
mov byte [0x48da4d], bl
jmp 0x411aa2
lea ecx, [esp + 0x12]
push 0x4804e4
push ecx
call fcn.00415290
add esp, 8
test eax, eax
je 0x411a8a
lea edx, [esp + 0x12]
push 0x4804e8
push edx
call fcn.00415290
add esp, 8
test eax, eax
je 0x411aa2
lea eax, [esp + 0x12]
push 0x4804ec
push eax
call fcn.00415290
add esp, 8
test eax, eax
jne 0x411aa8
jmp 0x411a90

Function at 0x411c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
lea eax, [esp]
push eax
xor edx, edx
push 1
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov word [esi], dx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411cca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x14], 0
je 0x411cc0
shr dword [esp + 0x14], 1
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x422edd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48bcf4]
jne 0x422ee7
repz ret
jmp fcn.0042690c
Function at 0x423338
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041835f
and dword [ebp - 4], 0
cmp dword [0x48e540], 0
mov ebx, eax
jne 0x4233e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42349a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47eda4
push edi
call esi
test eax, eax
je 0x42349a
push eax
call fcn.004182ed
mov dword [esp], 0x47ed94
push edi
mov dword [0x48e540], eax
call esi
push eax
call fcn.004182ed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48e544], eax
call esi
push eax
call fcn.004182ed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48e548], eax
call esi
push eax
call fcn.004182ed
pop ecx
mov dword [0x48e550], eax
test eax, eax
je 0x4233e9
push 0x47ed4c
push edi
call esi
push eax
call fcn.004182ed
pop ecx
mov dword [0x48e54c], eax
mov eax, dword [0x48e54c]
cmp eax, ebx
je 0x423441
cmp dword [0x48e550], ebx
je 0x423441
push eax
call fcn.00418368
push dword [0x48e550]
mov esi, eax
call fcn.00418368
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423441
test edi, edi
je 0x423441
call esi
test eax, eax
je 0x423438
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423438
test byte [ebp - 0xc], 1
jne 0x423441
or dword [ebp + 0x10], 0x200000
jmp 0x42347a
mov eax, dword [0x48e544]
cmp eax, ebx
je 0x42347a
push eax
call fcn.00418368
pop ecx
test eax, eax
je 0x42347a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42347a
mov eax, dword [0x48e548]
cmp eax, ebx
je 0x42347a
push eax
call fcn.00418368
pop ecx
test eax, eax
je 0x42347a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48e540]
call fcn.00418368
pop ecx
test eax, eax
je 0x42349a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42349c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4346a6
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax + 0x30]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
mov al, byte [esi]
push edi
test al, al
je 0x4347bf
lea ecx, [ecx]
cmp al, 0x5c
jne 0x434701
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4347bf
cmp al, 0x51
jne 0x434860
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4347bf
cmp al, 0x5c
jne 0x4346de
test al, al
je 0x4347bf
inc esi
cmp byte [esi], 0x45
jne 0x4346de
jmp 0x434860
cmp al, 0x5b
jne 0x4347a0
xor edi, edi
movzx eax, byte [esi + 1]
inc esi
cmp eax, 0x5c
jne 0x43473b
cmp byte [esi + 1], 0x45
lea eax, [esi + 1]
jne 0x434722
mov esi, eax
jmp 0x43470b
push 3
push 0x4870b0
push eax
call fcn.00415318
add esp, 0xc
test eax, eax
jne 0x434749
add esi, 3
jmp 0x43470b
test edi, edi
jne 0x434749
cmp eax, 0x5e
jne 0x434749
lea edi, [eax - 0x5d]
jmp 0x43470b
cmp byte [esi + 1], 0x5d
jne 0x43475d
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x40], 0x2000000
jne 0x43475d
inc esi
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
je 0x434860
test al, al
je 0x4347bf
cmp al, 0x5c
jne 0x434793
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4347bf
cmp al, 0x51
jne 0x434793
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4347bf
cmp al, 0x5c
jne 0x43477d
test al, al
je 0x4347bf
inc esi
cmp byte [esi], 0x45
jne 0x43477d
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
jne 0x434769
jmp 0x434860
cmp dword [esp + 0x24], 0
je 0x4347c7
cmp al, 0x23
jne 0x4347c7
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4347bf
cmp al, 0xa
jne 0x4347ab
test al, al
jne 0x434860
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
cmp al, 0x28
jne 0x434860
mov al, byte [esi + 1]
cmp al, 0x3f
je 0x4347f4
cmp al, 0x2a
je 0x4347f4
inc ebx
test ebp, ebp
jne 0x434860
cmp ebx, dword [esp + 0x20]
jne 0x434860
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
add esi, 2
cmp byte [esi], 0x50
jne 0x4347fd
inc esi
mov al, byte [esi]
cmp al, 0x3c
jne 0x434810
mov cl, byte [esi + 1]
cmp cl, 0x21
je 0x434810
cmp cl, 0x3d
jne 0x434814
cmp al, 0x27
jne 0x434860
inc ebx
test ebp, ebp
jne 0x43481f
cmp ebx, dword [esp + 0x20]
je 0x4347ed
movzx eax, al
inc esi
cmp eax, 0x3c
jne 0x43482d
mov eax, 0x3e
movzx edx, byte [esi]
mov ecx, esi
cmp edx, eax
je 0x43483f
movzx edx, byte [esi + 1]
inc esi
cmp edx, eax
jne 0x434836
test ebp, ebp
je 0x434860
mov eax, esi
sub eax, ecx
cmp dword [esp + 0x20], eax
jne 0x434860
mov edx, dword [esp + 0x20]
push edx
push ecx
push ebp
call fcn.00415318
add esp, 0xc
test eax, eax
je 0x4347ed
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4346c6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x4350a6
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
cmp word [eax], si
je 0x4351cf
push esi
push esi
push 3
push esi
push esi
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4350e9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push 0x47d9f0
push 0
push 0
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4350dd
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp], 0
mov eax, dword [esp + 0x44]
jne 0x4351a4
cmp dword [eax], 0
jne 0x4351a4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ebp], ecx
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x40]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4351d3
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4351e5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x40]
push eax
push 0
mov dword [esi + 0x50], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x435209
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [esp + 0xc]
test eax, 0x80000
je 0x435229
and eax, 0xfff7ffff
mov edx, dword [0x49f364]
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x43529c
cmp byte [esp + 0x34], 0
je 0x435281
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x178], 0
jl 0x43529c
cmp byte [edi + 0x184], 0
je 0x43529c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
ret 0x2c
Function at 0x435ab4
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a0898
call fcn.00414380
push 0x10
push 0
push 0x4a0888
call fcn.00414380
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a0888
push 0x4a0898
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a0898], 0x44
mov dword [0x4a08c4], 1
mov word [0x4a08c8], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x435b29
mov edx, dword [0x4a0888]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4

Function at 0x435eae
Capabilities:
Parse url

Disassembly:
sub esp, 0x840
mov ecx, dword [esp + 0x858]
mov edx, dword [esp + 0x85c]
push ebx
mov ebx, dword [esp + 0x84c]
push esi
mov esi, dword [esp + 0x84c]
mov eax, 0x400
push edi
mov edi, dword [esp + 0x860]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x85c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
push 0
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
call fcn.004143fa
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x435f54
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x840
ret 0x1c
lea edx, [esp + 0x48]
push edx
push edi
call fcn.00412548
movzx eax, word [esp + 0x2c]
mov ecx, dword [esp + 0x860]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
add esp, 8
sub eax, 1
je 0x435fa6
sub eax, 1
je 0x435f92
pop edi
pop esi
mov dword [ebx], 3
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
pop edi
pop esi
mov dword [ebx], 2
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
pop edi
pop esi
mov dword [ebx], 1
mov al, 1
pop ebx
add esp, 0x840
ret 0x1c
Function at 0x436063
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4361a7
nop
lea edx, [esp + 0x3c]
push 0x481d50
push edx
call fcn.0041458e
add esp, 8
test eax, eax
je 0x4360e8
lea eax, [esp + 0x3c]
push 0x484b34
push eax
call fcn.0041458e
add esp, 8
test eax, eax
je 0x4360e8
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4361a0
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436093
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x436195
lea edx, [esp + 0x10]
push edx
push 0x484b2c
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x43618e
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x43617e
lea eax, [esp + 0x3c]
push 0x481d50
push eax
call fcn.0041458e
add esp, 8
test eax, eax
je 0x43617e
lea ecx, [esp + 0x3c]
push 0x484b34
push ecx
call fcn.0041458e
add esp, 8
test eax, eax
je 0x43617e
lea edx, [esp + 0x3c]
push edx
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00436063
test al, al
je 0x4361a0
push 0x484b34
call edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436123
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x436520
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x210]
push ecx
push 0
push 0x482224
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add esp, 0x20c
ret 4

Function at 0x4366c9
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x4366df
cmp eax, 0x10000
jne 0x436703
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00415c47
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4
Function at 0x43671d
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x43674c
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00415832
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4

Function at 0x436750
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x43679f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.00415832
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x436848
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x43686e
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00412990
add esp, 0xc
jmp 0x436883
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00415c47
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push str.EA06
push ecx
mov byte [esp + 0x10], 0
call fcn.00415290
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8

Function at 0x43692b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x49e930], eax
mov edx, 1
mov eax, 0x49e930
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x49f2ec
jl 0x43693f
mov dword [0x48caac], 1
mov dword [0x49f300], 1
pop edi
ret