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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004e7be2
xor ebx, ebx
cmp dword [0x52b6f8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4ee63d
push 0x5232a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4ee71d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x523298
push edi
call esi
cmp eax, ebx
je 0x4ee71d
push eax
call fcn.004e7b74
mov dword [esp], 0x523288
push edi
mov dword [0x52b6f8], eax
call esi
push eax
call fcn.004e7b74
mov dword [esp], 0x523274
push edi
mov dword [0x52b6fc], eax
call esi
push eax
call fcn.004e7b74
mov dword [0x52b700], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004e3820
test eax, eax
pop ecx
pop ecx
je 0x4ee60b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e34eb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4ee63d
push 0x523258
push edi
call esi
push eax
call fcn.004e7b74
cmp eax, ebx
pop ecx
mov dword [0x52b708], eax
je 0x4ee63d
push 0x523240
push edi
call esi
push eax
call fcn.004e7b74
pop ecx
mov dword [0x52b704], eax
mov eax, dword [0x52b704]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4ee6c2
cmp dword [0x52b708], ecx
je 0x4ee6c2
push eax
call fcn.004e7beb
push dword [0x52b708]
mov esi, eax
call fcn.004e7beb
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4ee6c2
cmp edi, ebx
je 0x4ee6c2
call esi
cmp eax, ebx
je 0x4ee68f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ee68f
test byte [ebp - 0x18], 1
jne 0x4ee6c2
lea eax, [ebp - 0x10]
push eax
call fcn.004e3857
test eax, eax
pop ecx
je 0x4ee6aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e34eb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4ee6b9
or dword [ebp + 0x10], 0x200000
jmp 0x4ee6fd
or dword [ebp + 0x10], 0x40000
jmp 0x4ee6fd
mov eax, dword [0x52b6fc]
cmp eax, dword [ebp - 8]
je 0x4ee6fd
push eax
call fcn.004e7beb
cmp eax, ebx
pop ecx
je 0x4ee6fd
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4ee6fd
mov eax, dword [0x52b700]
cmp eax, dword [ebp - 8]
je 0x4ee6fd
push eax
call fcn.004e7beb
cmp eax, ebx
pop ecx
je 0x4ee6fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52b6f8]
call fcn.004e7beb
cmp eax, ebx
pop ecx
je 0x4ee71d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ee71f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00406860
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
and esp, 0xfffffff0
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
leave
shl edx, 5
add eax, edx
ret
Function at 0x101605d7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101f6acc], 0
mov byte [0x101f6ad0], 0
mov dword [0x101f6ac4], 0xdd8
mov dword [0x101f6ac0], 0x1867
mov dword [0x101f6ac8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1016072f
xor eax, eax
mov ecx, 0x1c52
mov dword [0x101f6ac0], 0x1c52
mov dword [0x101f6ac8], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10160663
mov eax, dword [ebp - 0x28]
add eax, 0xffffef7b
mov dword [0x101f6ac0], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x2c]
add edi, 0xfffff22e
mov dword [0x101f6ad4], 0
mov ebx, dword [0x101f6acc]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x101f6ad4], esi
mov dword [0x101f6ac0], edi
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x101f6acc], edx
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x101f6ad0], bl
mov dword [0x101f6ac0], 0x1300
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x101f6ad0]
mov ecx, dword [0x101f6acc]
mov byte [edi + ecx], bl
mov ecx, dword [0x101f6ac4]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x101f6ac0], edx
mov esi, dword [0x101f6ac8]
add esi, 1
mov dword [0x101f6ac8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jl 0x10160663
jmp 0x1016064e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f6ac8]
add eax, 1
mov dword [0x101f6ac8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1016072f
jmp 0x1016062b
Function at 0x10160fad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101f6ac4], 0xbaf
mov dword [0x101f6ac0], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101610bc
mov eax, dword [ebp - 0x30]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101f6ac0]
add ecx, 0xffffee8b
mov dword [0x101f6ac0], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.101609b5
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101f6ac4], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101f6ac0], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0xc], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x101610e8
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [0x101f6ac4], 0x8c2
mov dword [0x101f6ac0], 0x2310
mov dword [ebp - 0x3c], eax
call fcn.10160b0a
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10160355
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x10161072
jmp 0x10160fdd
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101eb7b4]
mov dh, byte [eax + 0x101eb785]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x1016107a
jmp 0x101610bc
mov eax, dword [0x101f6ac4]
mov ecx, dword [ebp - 0x34]
add ecx, 0x1f9f
add eax, 0xfffff237
mov dword [0x101f6ac0], eax
mov dword [ebp - 0x38], ecx
jmp 0x10161072
Function at 0x10161194
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101615e7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101f6ac0], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101f6ac4], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x101612cb
jmp 0x10161218
mov al, byte [ebp - 0x25]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x2c]
add edx, 1
mov ah, byte [ebp - 0x2d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x10161244
jmp 0x1016126d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x25], bh
mov byte [ebp - 0x2d], cl
jne 0x101611ed
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x1016129c
jmp 0x10161276
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
jb 0x1016122a
jmp 0x101612cb
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101f6ac0], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101f6ac4], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101612d6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f6ac4]
add eax, 0xfffffd5c
mov dword [0x101f6ac4], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101f6ac0], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f6ac4], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1016139b
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1016139b
jmp 0x101613b5
mov eax, 1
mov dword [0x101f6ac4], 0xfa2
mov dword [ebp - 0x1c], eax
jmp 0x10161460
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x24], eax
je 0x10161438
jmp 0x10161453
mov eax, 0x29da
mov dword [0x101f6ac0], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
je 0x10161355
jmp 0x10161453
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x10161325
mov eax, dword [ebp - 0x18]
mov ecx, 0x35f0
mov dword [0x101f6ac0], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x10161453
mov eax, 0x199d
mov dword [0x101f6ac0], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x10161453
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x10161453
mov eax, 0xfffff9e7
mov dword [0x101f6ac0], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
je 0x10161375
jmp 0x10161453
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x1016133e
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [0x101f6ac0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
Function at 0x1016177b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101f6ac8], 0
mov dword [0x101f6acc], 0
mov dword [0x101f6ad8], 0
mov dword [0x101f6ac0], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101618d7
jmp 0x101617f7
mov eax, dword [0x101f6ac8]
mov ecx, dword [0x101f6acc]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101f6ac8], edx
mov dword [0x101f6ac0], 0x97e
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101f6acc], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101f6ad0], cl
mov ebx, dword [0x101f6ac4]
add ebx, 0xfffff27d
mov dword [0x101f6ac0], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101f6ad0]
mov edx, dword [0x101f6acc]
mov byte [ebx + edx], cl
mov edx, dword [0x101f6ac8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101f6acc]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101f6ad8], ecx
mov dword [0x101f6ac0], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101f6ac0], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x2c], edi
jne 0x101617e0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101618df
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101f6ac0], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10160c89
lea ecx, [0x10160588]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x7c], 0x168a00
mov dword [0x101f6ac4], 0x894
mov edx, dword [0x101f6aac]
mov dword [esp + 0x78], edx
mov edx, dword [0x101f6ab0]
mov dword [esp + 0x40], edx
mov edx, dword [0x101f6ab4]
mov dword [esp + 0x44], edx
mov edx, dword [0x101f6ab8]
mov dword [esp + 0x74], edx
mov edx, dword [0x101f6abc]
mov dword [esp + 0x24], edx
mov dword [0x101f6ac0], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10161996
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101619aa
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10161973
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [0x101f6ac4], 0xe2d
mov dword [0x101f6ac0], 0xf67
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
call fcn.101612d6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10161a1b
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10160fad
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101f6ac4], 0x5b1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401486
Capabilities:
Terminate process

Disassembly:
push eax
mov ax, 0x5eb
xor eax, eax
je 0x401447
jmp 0x40144e
call 0x46458d5
add bl, byte [eax - 0x3d]
push eax
mov ax, 0x5eb
xor eax, eax
je 0x401458
add dword [esp + 4], 2
pop eax
ret
jmp 0x40145f
call 0x244497bb
add eax, ebx
push eax
mov ax, 0x5eb
xor eax, eax
je 0x401468
pop eax
add dword [esp], 3
ret
jmp 0x40146f
call 0x244497cb
add al, 0xc3
push eax
mov ax, 0x5eb
xor eax, eax
je 0x401478
pop eax
add dword [esp], 4
ret
jmp 0x40147f
call 0x4645906
add eax, 0xd3bc358
cmp ecx, dword [0x40e004]
jne 0x401490
add dword [esp + 4], 5
pop eax
ret
repz ret

Function at 0x403997
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4039be
call fcn.00401aab
mov dword [eax], esi
call fcn.00401a98
push 0x16
pop esi
mov dword [eax], esi
call fcn.004024c5
mov eax, esi
jmp 0x403a13
test dword [ebp + 0xc], 0xfffffff9
jne 0x4039a4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4039eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401abe
pop ecx
call fcn.00401a98
mov eax, dword [eax]
jmp 0x403a13
test al, 0x10
jne 0x403a11
test al, 1
je 0x403a11
test byte [ebp + 0xc], 2
je 0x403a11
call fcn.00401aab
mov dword [eax], 5
call fcn.00401a98
mov dword [eax], 0xd
jmp 0x4039e2
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4050cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040445b
and dword [ebp - 0x14], 0
cmp dword [0x40fb18], 0
mov dword [ebp - 0x18], eax
jne 0x40517e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405226
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405226
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40fb18], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40fb1c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40fb20], eax
call edi
push eax
call esi
mov dword [0x40fb28], eax
test eax, eax
je 0x40517e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40fb24], eax
mov eax, dword [0x40fb24]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4051d7
cmp dword [0x40fb28], ecx
je 0x4051d7
push eax
call esi
push dword [0x40fb28]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4051d7
test ebx, ebx
je 0x4051d7
call edi
test eax, eax
je 0x4051ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4051ce
test byte [ebp - 8], 1
jne 0x4051d7
or dword [ebp + 0x10], 0x200000
jmp 0x40520a
mov eax, dword [0x40fb1c]
cmp eax, dword [ebp - 0x18]
je 0x40520a
push eax
call esi
test eax, eax
je 0x40520a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40520a
mov eax, dword [0x40fb20]
cmp eax, dword [ebp - 0x18]
je 0x40520a
push eax
call esi
test eax, eax
je 0x40520a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40fb18]
call esi
test eax, eax
je 0x405226
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405228
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401486
leave
ret
Function at 0x401623
Capabilities:
Check http status code

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov esi, dword [esp + 0x268]
lea eax, [esp + 0x28]
push edi
push 0x3c
pop ebp
xor edi, edi
mov ebx, 0x84600200
push ebp
push edi
push eax
mov dword [esp + 0x20], edi
call fcn.004034f5
lea eax, [esp + 0x74]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], eax
add esp, 0xc
lea eax, [esp + 0x168]
mov dword [esp + 0x58], eax
mov eax, 0x100
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x2c]
push eax
push 0x10000000
push edi
lea eax, [esi + 0x6e8]
push eax
call dword [esi + 0x98]
test eax, eax
je 0x401842
xor eax, eax
cmp dword [esp + 0x38], 4
push edi
push edi
sete al
push edi
mov dword [esp + 0x24], eax
mov eax, 0x84e03200
push edi
push edi
cmove ebx, eax
call dword [esi + 0x9c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x401842
push edi
push edi
push 3
push edi
push edi
push dword [esp + 0x58]
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [esi + 0xa0]
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4017e2
push edi
push ebx
push edi
push edi
push edi
lea eax, [esp + 0x17c]
push eax
lea eax, [esi + 0x7e8]
push eax
push ecx
call dword [esi + 0xb0]
mov ebp, eax
test ebp, ebp
je 0x4017d8
cmp dword [esp + 0x18], edi
je 0x401734
test ebx, 0x1000
je 0x401734
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x3380
push eax
push 0x1f
push ebp
call dword [esi + 0xa4]
push edi
push edi
push edi
push edi
push ebp
call dword [esi + 0xb4]
test eax, eax
je 0x4017d1
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
push 0x20000013
push ebp
call dword [esi + pe_nt_image_headers32]
test eax, eax
je 0x4017d1
cmp dword [esp + 0x14], 0xc8
jne 0x4017d1
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea ebx, [esi + 0x918]
push ebx
push 0x20000005
push ebp
mov dword [ebx], edi
mov dword [ebx + 4], edi
call dword [esi + pe_nt_image_headers32]
test eax, eax
je 0x4017d1
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x4017d1
push 4
push 0x3000
push dword [ebx]
push edi
call dword [esi + 0x3c]
mov dword [esi + 0x920], eax
test eax, eax
je 0x4017d1
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], edi
push ecx
push dword [ebx]
push eax
push ebp
call dword [esi + 0xa8]
mov edi, eax
push ebp
call dword [esi + 0xac]
push dword [esp + 0x24]
call dword [esi + 0xac]
push dword [esp + 0x28]
call dword [esi + 0xac]
test edi, edi
je 0x40183e
cmp dword [esi + 0x234], 3
jne 0x40183e
push dword [esi + 0x918]
mov ebx, dword [esi + 0x920]
lea eax, [esi + 0x908]
push ebx
push eax
lea eax, [esi + 0x8f8]
push eax
call fcn.004031aa
push dword [esi + 0x2c]
lea eax, [esi + 0x7f0]
push dword [esi + 0x28]
push eax
call fcn.00403049
add esp, 0x1c
cmp eax, dword [ebx + 0x518]
jne 0x401842
cmp edx, dword [ebx + 0x51c]
jne 0x401842
mov eax, edi
jmp 0x401844
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret