joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0284
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404554
mov eax, dword [ebp - 8]
call fcn.00404554
mov eax, dword [ebp - 0xc]
call fcn.00404554
mov eax, dword [ebp + 0xc]
call fcn.00404554
xor eax, eax
push ebp
push 0x4a03f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404564
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4a0404
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404564
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a03d0
xor edx, edx
push ebp
push 0x4a03c9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404564
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404564
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404564
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4a03b2
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a03a9
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4a03ad
xor eax, eax
jmp 0x4a03af
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a03d0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a03fa
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004040c8
lea eax, [ebp + 0xc]
call fcn.004040a4
ret
Function at 0x4a040c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4a04d4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4a04d8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4a04d4
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a04cb
xor eax, eax
push ebp
push 0x4a04c4
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a04cb
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0744
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0958
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402790
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a07c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4a07ac
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040429c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a07c9
mov eax, dword [ebp - 8]
call fcn.004027b0
ret

Function at 0x4a1cfc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00402d44
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4a1d36
cmp byte [ebp - 0xa], 0x31
jne 0x4a1d34
mov bl, 1
jmp 0x4a1d36
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a3420
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00440238
test al, al
je 0x4a34de
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x4a34bc
cmp word [esi + 0x5f2], 0
je 0x4a3471
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x4a3493
cmp dword [ebp - 4], 0
jbe 0x4a348f
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4a3493
xor ebx, ebx
jmp 0x4a3495
mov bl, 1
test bl, bl
jne 0x4a34de
mov eax, dword [0x4a7f98]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4a34de
mov eax, dword [0x4a7f98]
mov eax, dword [eax]
call fcn.00458ed4
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x4a34de
cmp byte [esi + 0x588], 0
jne 0x4a34de
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0048257c
cmp eax, 4
jne 0x4a344e
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40abf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x40ac01
mov edx, dword fs:[edx + 0x30]
jmp 0x40ac10
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
nop
jmp 0x40ac25
mov esi, dword [edx + 0x28]
jmp 0x40ac37
xor edi, edi
nop
movzx ecx, word [edx + 0x26]
jmp 0x40ac4e
nop
jmp 0x40ac5b
xor eax, eax
nop
jmp 0x40ac6d
lodsb al, byte [esi]
cmp al, 0x61
nop
jl 0x40ac87
nop
nop
jmp 0x40ac85
sub al, 0x20
nop
jmp 0x40ac94
ror edi, 0xd
nop
add edi, eax
jmp 0x40aca5
dec ecx
nop
jne 0x40ac4e
jmp 0x40acba
jmp 0x40acc5
push edx
push edi
mov edx, dword [edx + 0x10]
nop
mov eax, dword [edx + 0x3c]
add eax, edx
jmp 0x40ace0
mov eax, dword [eax + 0x78]
jmp 0x40acf3
test eax, eax
jmp 0x40acff
je 0x40aede
jmp 0x40ad16
nop
jmp 0x40ad28
add eax, edx
nop
jmp 0x40ad3c
push eax
mov ecx, dword [eax + 0x18]
nop
jmp 0x40ad51
mov ebx, dword [eax + 0x20]
jmp 0x40ad5f
add ebx, edx
test ecx, ecx
nop
jmp 0x40ad70
je 0x40aecb
nop
dec ecx
xor edi, edi
nop
mov esi, dword [ebx + ecx*4]
nop
jmp 0x40ad8b
add esi, edx
nop
jmp 0x40ad9e
nop
jmp 0x40adae
xor eax, eax
ror edi, 0xd
nop
jmp 0x40adc5
lodsb al, byte [esi]
jmp 0x40add6
add edi, eax
nop
cmp al, ah
nop
jmp 0x40ade9
jne 0x40ad9e
nop
jmp 0x40adfd
nop
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40ae17
jne 0x40ad61
jmp 0x40ae2d
pop eax
nop
jmp 0x40ae3e
mov ebx, dword [eax + 0x24]
nop
jmp 0x40ae53
add ebx, edx
jmp 0x40ae66
mov cx, word [ebx + ecx*2]
jmp 0x40ae79
mov ebx, dword [eax + 0x1c]
add ebx, edx
jmp 0x40ae90
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
mov dword [esp + 0x24], eax
nop
pop ebx
nop
jmp 0x40aeab
pop ebx
nop
popal
nop
pop ecx
nop
pop edx
jmp 0x40aec6
push ecx
nop
jmp eax
pop eax
jmp 0x40aede
jmp 0x40aeec
pop edi
nop
pop edx
nop
mov edx, dword [edx]
jmp 0x40ac17

Function at 0x40295b
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4121c4], 0
jne 0x402969
call fcn.00402931
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x402996
test cl, 7
je 0x402996
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
dec esi
inc ecx
jmp 0x402977
cmp esi, 8
jb 0x402a1a
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4121c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4121c0]
dec edi
jne 0x4029a0
xor edx, edx
test esi, esi
jbe 0x402a3a
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4121c0]
inc edx
cmp edx, esi
jb 0x402a21
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x560a50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x107000]
push edi
jmp 0x560a6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x560a71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560a60
mov eax, 1
add ebx, ebx
jne 0x560a83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x560a94
jne 0x560ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560ab3
dec eax
add ebx, ebx
jne 0x560aa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x560a78
add ebx, ebx
jne 0x560aaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x560b05
xor ecx, ecx
sub eax, 3
jb 0x560acb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x560b3a
sar eax, 1
mov ebp, eax
jmp 0x560ad6
add ebx, ebx
jne 0x560ad6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560aa4
inc ecx
add ebx, ebx
jne 0x560ae4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560aa4
add ebx, ebx
jne 0x560af1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x560ae6
jne 0x560b02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x560ae6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x560b24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x560b16
jmp 0x560a66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x560b24
add edi, ecx
jmp 0x560a66
pop esi
mov edi, esi
mov ecx, 0x4b54
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x560b42
cmp byte [edi], 0x13
jne 0x560b42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x560b47
lea edi, [esi + 0x15d000]
mov eax, dword [edi]
or eax, eax
je 0x560bbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x171634]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x171738]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x560b74
mov ecx, edi
jns 0x560ba3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17173c]
or eax, eax
je 0x560bb9
mov dword [ebx], eax
add ebx, 4
jmp 0x560b91
call dword [esi + 0x17174c]
mov ebp, dword [esi + 0x171740]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x560bf3
sub esp, 0xffffff80
jmp 0x487960
Function at 0x40cc12
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001b2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0040c512
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0040c592
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0040c592
lea ecx, [esi + 0xc]
call fcn.0041c031
lea ecx, [esi + 0x10]
call fcn.0041c031
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0040f202
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0040f202
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0040f202
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0041c0a6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041c0a6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x408420
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x466a9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045eb70
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4084a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004593eb
mov eax, dword [eax]
push 0x4a9b9c
push eax
call fcn.0044c04a
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045edfb
test bl, bl
je 0x4084a2
push 0x4a9b9c
lea ecx, [esp + 0xc]
call fcn.0045f18b
push 0x4a9ba8
lea ecx, [esp + 0xc]
call fcn.0045f18b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4084de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045edfb
jmp 0x4085a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x408562
lea edx, [esp + 0x7c]
push 0x4a9ba4
push edx
call fcn.0044c04a
add esp, 8
test eax, eax
je 0x408562
lea eax, [esp + 0x7c]
push 0x4a9ba0
push eax
call fcn.0044c04a
add esp, 8
test eax, eax
je 0x408562
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4084f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045edfb
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409830
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409892
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4098a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x466bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b05a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4099d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409906
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045edfb
xor eax, eax
jmp 0x409a4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045ef38
push esi
lea ecx, [esp + 0xc]
call fcn.0045f1c7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x409a2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409830
test eax, eax
jne 0x409a2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00409830
test eax, eax
jne 0x409a2d
lea eax, [esp + 0x14]
push 0x4a9bc0
push eax
call fcn.0044c4e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409a0c
lea ecx, [esp + 0x14]
push 0x4a9bbc
push ecx
call fcn.0044c460
mov esi, eax
add esp, 8
test esi, esi
jne 0x409a0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409a0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045eee8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40991e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045edfb
xor eax, eax
jmp 0x409a4f
mov byte [esi], 0
push 0x4a9bb8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045edfb
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41c600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x467b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041d180
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41c6a9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041c290
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.00462912
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.004325c0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00462984
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x41cbe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041a7e0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x41cc39
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00424230
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00424220
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0041c290
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.00462912
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.004325c0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a240
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.004241a0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x41cd04
push edi
mov ecx, esi
call fcn.0041a350
push eax
push ebp
mov ecx, esi
call fcn.0041a510
cmp eax, dword [esp + 0x40]
jg 0x41cd00
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x41ccde
mov eax, ebx
jmp 0x41cd0a
cmp edi, ebx
jl 0x41cd08
mov eax, ebx
jmp 0x41cd0a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x41cd1b
mov dword [esp + 0x30], eax
jmp 0x41cd26
cmp edi, ebx
jl 0x41cd21
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00424160
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x41cd6d
push edi
mov ecx, esi
call fcn.0041a270
push eax
push ebx
mov ecx, esi
call fcn.0041a640
cmp eax, dword [esp + 0x44]
jg 0x41cd65
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x41cd3f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41cd77
cmp edi, ebp
jl 0x41cd71
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x41cd77
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x41cd80
mov ecx, eax
jmp 0x41cd89
cmp edi, ebp
jl 0x41cd86
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0041a260
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00462984
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc