joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ccd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042baba
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x430d3c
cmp esi, dword [ebp - 4]
je 0x430d37
cmp dword [ebp + 0xc], 0
je 0x430d37
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x430d14
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00430d96
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x430d3e
xor eax, eax
inc eax
jmp 0x430d3e
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4310e5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x45d010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x431130
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0043125b
test al, al
jne 0x43112a
sub edx, 2
cmp edx, edi
jne 0x431110
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x431152
lea eax, [edi + 2]
cmp edx, eax
je 0x431152
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00431031
add esp, 0x10
jmp 0x43124c
push esi
lea ecx, [ebp - 0x255]
call fcn.0043125b
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431195
push dword [ebp - 0x25c]
jmp 0x431142
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4311d2
cmp word [ebp - 0x226], 0
je 0x4311f3
cmp word [ebp - 0x226], ax
jne 0x4311d2
cmp word [ebp - 0x224], 0
je 0x4311f3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00431031
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x43123f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4311ac
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x431227
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x43124c
push 0x431280
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00438030
add esp, 0x10
jmp 0x43121c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417663
leave
ret
Function at 0x4323f6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x432407
pop esi
ret
push ebx
push edi
push esi
call fcn.00432444
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00410500
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43242f
push ebx
push esi
push edi
call fcn.0041a2d0
add esp, 0xc
push 0
call fcn.00410410
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x43247b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432486
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x70a310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x228000]
mov dword [edi + 0x2d2694], 0x203da121
push edi
jmp 0x70a33a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70a341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a330
mov eax, 1
add ebx, ebx
jne 0x70a353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70a364
jne 0x70a383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a383
dec eax
add ebx, ebx
jne 0x70a370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x70a348
add ebx, ebx
jne 0x70a37f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x70a3d5
xor ecx, ecx
sub eax, 3
jb 0x70a39b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70a40a
sar eax, 1
mov ebp, eax
jmp 0x70a3a6
add ebx, ebx
jne 0x70a3a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a374
inc ecx
add ebx, ebx
jne 0x70a3b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a374
add ebx, ebx
jne 0x70a3c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70a3b6
jne 0x70a3d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70a3b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70a3f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70a3e6
jmp 0x70a336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70a3f4
add edi, ecx
jmp 0x70a336
pop esi
mov edi, esi
mov ecx, 0xdfa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70a412
cmp byte [edi], 0x27
jne 0x70a412
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 0x70a417
lea edi, [esi + 0x2f5000]
mov eax, dword [edi]
or eax, eax
je 0x70a48f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30a784]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30a928]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70a444
mov ecx, edi
jns 0x70a473
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 + 0x30a930]
or eax, eax
je 0x70a489
mov dword [ebx], eax
add ebx, 4
jmp 0x70a461
call dword [esi + 0x30a92c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70a4c0
cmp al, 0xef
ja 0x70a4b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70a495
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70a4a2
mov ebp, dword [esi + 0x30a934]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
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 0x70a4f4
sub esp, 0xffffff80
jmp 0x54a1e7
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, word [esp + 4]
push ebx
push esi
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x401082
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 0x18]
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401082
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x401090
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x428b70]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push 0x104
lea eax, [esp + 8]
push 0
push eax
call fcn.0040ed10
mov ecx, dword [esp + 0x120]
push ecx
push 0
push esi
call fcn.0040ed10
add esp, 0x18
lea edx, [esp + 4]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x401116
push esi
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0040ecf4
add esp, 0x108
ret
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040ecf4
add esp, 0x108
ret

Function at 0x401150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401169
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4011a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401190
cmp esi, eax
jb 0x4011aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x402790
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x428b70]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
mov edi, ecx
call fcn.0040ed10
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.00401090
lea eax, [esp + 0x1c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027d2
sub eax, edx
push eax
lea edx, [esp + 0xc]
lea esi, [edi + 0xa4]
push edx
mov ecx, esi
call fcn.00401700
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add edi, 0xa8
push esi
mov ecx, edi
call fcn.00402490
push 1
push 0x420480
mov ecx, edi
call fcn.00401890
push 0x10
push str.UpdateWizard.exe
mov ecx, edi
call fcn.00401890
mov ecx, dword [esi]
push ecx
call fcn.004020d0
mov edx, dword [esi]
push edx
call fcn.004022a0
mov eax, dword [esi]
push eax
call fcn.00402170
mov ecx, dword [esp + 0x118]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0040ecf4
add esp, 0x108
ret

Function at 0x40ecf4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428b70]
jne 0x40ecfe
repz ret
jmp fcn.004129cf

Function at 0x41a93f
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.004136f4
and dword [ebp - 4], 0
cmp dword [0x42c828], 0
mov ebx, eax
jne 0x41a9f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41aaa1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x423918
push edi
call esi
test eax, eax
je 0x41aaa1
push eax
call fcn.00413682
mov dword [esp], 0x423908
push edi
mov dword [0x42c828], eax
call esi
push eax
call fcn.00413682
mov dword [esp], 0x4238f4
push edi
mov dword [0x42c82c], eax
call esi
push eax
call fcn.00413682
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c830], eax
call esi
push eax
call fcn.00413682
pop ecx
mov dword [0x42c838], eax
test eax, eax
je 0x41a9f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413682
pop ecx
mov dword [0x42c834], eax
mov eax, dword [0x42c834]
cmp eax, ebx
je 0x41aa48
cmp dword [0x42c838], ebx
je 0x41aa48
push eax
call fcn.004136fd
push dword [0x42c838]
mov esi, eax
call fcn.004136fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41aa48
test edi, edi
je 0x41aa48
call esi
test eax, eax
je 0x41aa3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41aa3f
test byte [ebp - 0xc], 1
jne 0x41aa48
or dword [ebp + 0x10], 0x200000
jmp 0x41aa81
mov eax, dword [0x42c82c]
cmp eax, ebx
je 0x41aa81
push eax
call fcn.004136fd
pop ecx
test eax, eax
je 0x41aa81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41aa81
mov eax, dword [0x42c830]
cmp eax, ebx
je 0x41aa81
push eax
call fcn.004136fd
pop ecx
test eax, eax
je 0x41aa81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c828]
call fcn.004136fd
pop ecx
test eax, eax
je 0x41aaa1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41aaa3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e8e1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
cmp dword [edx], 0
mov edi, edx
je 0x40e90f
lea edx, [edi + 8]
mov eax, dword [edi + 0x30]
cmp dword [edi + 0x24], 0xffffffff
mov esi, dword [edi + 0x34]
mov ebx, dword [edi + 0x38]
mov edi, dword [edi + 0x3c]
je 0x40e9f6
push 0
jmp 0x40e9f8
mov dword [esp + 4], ecx
mov al, byte [edi + 0xe]
mov ebp, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov esi, dword [edi + 4]
mov bh, byte [edi + 0xc]
mov byte [esp + 3], al
mov dword [esp + 0x10], ecx
mov dword [esp + 8], ebp
xor ecx, ecx
cmp byte [esp + 3], 0
jne 0x40ea06
mov bl, bh
mov ecx, esi
mov edx, ebp
xor bl, 1
mov byte [edi + 0xc], bl
push 0xa3a4d4
push dword [esp + 0x14]
call fcn.004071bc
pop ecx
pop ecx
test edx, edx
je 0x40ea0c
mov dl, byte [eax]
movzx ecx, dl
test dl, dl
jns 0x40e9ba
movzx ebp, byte [eax + 1]
and ecx, 0x1f
and ebp, 0x3f
cmp dl, 0xdf
jbe 0x40e9a2
mov dword [esp + 0xc], esi
movzx esi, byte [eax + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp dl, 0xf0
jb 0x40e9ad
movzx eax, byte [eax + 3]
and ecx, 7
shl esi, 6
shl ecx, 0x12
and eax, 0x3f
or eax, esi
or ecx, eax
jmp 0x40e9b2
shl ecx, 6
or ecx, ebp
mov ebp, dword [esp + 8]
jmp 0x40e9ba
shl ecx, 0xc
or ecx, esi
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test bh, bh
jne 0x40ea10
cmp ecx, 0x110000
je 0x40ea1f
cmp ecx, 0x80
mov eax, 1
jb 0x40e9ea
cmp ecx, 0x800
push 2
pop eax
jb 0x40e9ea
cmp ecx, 0x10000
push 4
pop eax
sbb eax, 0
add esi, eax
mov bh, bl
mov dword [edi + 4], esi
jmp 0x40e92e
push 1
push edi
push ebx
push esi
push eax
call fcn.004952b8
add esp, 0x28
jmp 0x40ea2e
mov eax, dword [esp + 4]
jmp 0x40ea29
test bh, bh
je 0x40ea1f
mov eax, dword [esp + 4]
xor ecx, ecx
inc ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x40ea29
mov eax, dword [esp + 4]
mov byte [edi + 0xe], 1
xor ecx, ecx
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413720
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x340
mov esi, esp
mov dword [esi + 0x328], ebp
mov edi, ecx
lea ecx, [esi + 0x330]
mov dword [esi + 0xc], edx
mov dword [ecx - 4], esp
or dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x62c050
mov dword [esi + 4], edi
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
call fcn.00413767

Function at 0x4163dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x910
mov edi, ecx
mov ecx, dword [ebp + 0x10]
call fcn.004163f5
Function at 0x42a065
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
movzx eax, word [esp + 0x78]
cmp dword [edx + 0x348], 0
je 0x42a18c
lea eax, [edx + 0x348]
mov dword [esp], ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 8], edx
mov dword [esp + 4], 0
movsd xmm1, qword [eax + 8]
mov ecx, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd xmm2, qword [eax]
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xc]
movsd qword [esp + 0x28], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
mov dword [ecx + 0x10], eax
and dword [ecx + 0x18], 0
mov edi, dword [ecx + 0xc]
shr edi, 2
cmp edi, ebx
je 0x42a135
mov esi, ebx
inc ebx
lea ecx, [esp + 0x50]
lea edx, [esp + 0xc]
mov dword [esp + 0x20], ebx
push esi
call fcn.00613194
pop eax
cmp dword [esp + 0x50], 0
je 0x42a135
movzx eax, word [esp + 0x60]
movzx ecx, word [esp + 0x7c]
mov dword [esp + 0x24], ebx
cmp ax, cx
jb 0x42a112
cmp ax, bp
jb 0x42a12a
movzx ecx, word [esp + 0x7c]
cmp bp, cx
setb cl
cmp ax, bp
seta dl
and dl, cl
cmp dl, 1
jne 0x42a0d9
lea ebx, [esi + 1]
mov ebp, eax
mov dword [esp + 4], esi
jmp 0x42a0d9
lea ebx, [esp + 0x3c]
lea edx, [esp + 0x28]
mov ecx, ebx
push dword [esp + 4]
call fcn.00613194
pop eax
cmp dword [ebx], 0
je 0x42a180
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov ecx, dword [esp]
lea edx, [esp + 0xc]
mov dword [edx + 0x10], eax
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
push 0
movzx eax, word [esp + 0x7c]
push eax
call fcn.00612fbc
jmp 0x42a1df
movzx eax, word [esp + 0x78]
mov ecx, dword [esp]
mov edx, dword [esp + 8]
cmp dword [edx + 0x2d8], 0
je 0x42a19d
add edx, 0x2d8
jmp 0x42a1bd
cmp dword [edx + 0x308], 0
je 0x42a1ae
add edx, 0x308
jmp 0x42a1bd
cmp dword [edx + 0x2e8], 0
je 0x42a1e9
add edx, 0x2e8
movzx esi, word [esp + 0x7c]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
lea edx, [esp + 0xc]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
push esi
push eax
call fcn.0060e6b8
pop eax
pop ecx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ecx + 0x12], 9
jmp 0x42a1e1
Function at 0x43240c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
call fcn.00432420