joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419700
Capabilities:
Get common file path

Disassembly:
sub esp, 0x3a8
mov eax, dword [0x46946c]
xor eax, esp
mov dword [esp + 0x3a4], eax
mov eax, dword [0x46970c]
test eax, eax
push ebx
push esi
je 0x419740
push 0x118
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov byte [esp + 0x120], 0
jmp 0x4197fb
call fcn.00410c80
test eax, eax
je 0x419794
lea ecx, [esp + 0x140]
push ecx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x140]
call fcn.00419430
mov esi, eax
test esi, esi
je 0x419912
push 0x118
lea edx, [esp + 0xc]
push esi
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
push esi
mov byte [esp + 0x130], 0
call dword [sym.imp.MSVCR71.dll_free]
jmp 0x4197f8
lea eax, [esp + 0x140]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x140]
push ecx
call fcn.00419490
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x419912
call fcn.00419430
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_free]
mov esi, eax
call ebx
add esp, 4
test esi, esi
je 0x419912
push 0x118
lea edx, [esp + 0xc]
push esi
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
push esi
mov byte [esp + 0x130], 0
call ebx
add esp, 0x10
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419802
sub eax, edx
test eax, eax
jle 0x41981f
lea ecx, [esp + 8]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x41981f
dec eax
test eax, eax
jg 0x419814
mov byte [esp + eax + 8], 0
push ebp
lea eax, [esp + 0xc]
push eax
push 0x460338
push edi
push 0x136
call fcn.004192d0
mov esi, edi
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x419842
sub esi, ecx
lea ebx, [edi + esi]
call fcn.00410f50
mov ebp, 0xf
call fcn.004160e0
mov byte [ebx], al
inc ebx
dec ebp
jne 0x419858
mov ecx, dword [0x4696f0]
dec ecx
push 0x4696d0
mov dword [0x4696f0], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 3
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
inc esi
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
inc esi
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
inc esi
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
inc esi
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], al
movzx eax, byte [edi + esi]
xor edx, edx
div ebx
inc esi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x419880
mov eax, edi
mov byte [edi + esi], 0
call fcn.00419670
test eax, eax
jne 0x419825
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x3a4]
xor ecx, esp
call fcn.00458c53
add esp, 0x3a8
ret
mov ecx, dword [esp + 0x3ac]
pop esi
pop ebx
xor ecx, esp
mov eax, 7
call fcn.00458c53
add esp, 0x3a8
ret
Function at 0x419930
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
jne 0x41993b
xor eax, eax
pop ebx
ret
call fcn.00410c80
test eax, eax
jne 0x419960
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419950
sub eax, edx
cmp eax, 0x104
ja 0x419937
push ebp
push esi
push edi
call fcn.00410c80
test eax, eax
mov ebp, dword [sym.imp.MSVCR71.dll_free]
je 0x41997b
call fcn.004193d0
mov esi, eax
jmp 0x419994
call fcn.004193d0
mov edi, eax
test edi, edi
je 0x419998
push edi
call fcn.00419500
push edi
mov esi, eax
call ebp
add esp, 8
test esi, esi
jne 0x4199a2
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
call fcn.00410c80
test eax, eax
push esi
je 0x4199b4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4199ba
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
mov ebx, eax
call ebp
add esp, 4
cmp ebx, 0xffffffff
jne 0x4199ce
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
and bl, 0x10
sub bl, 0x10
neg bl
pop edi
pop esi
pop ebp
sbb ebx, ebx
inc ebx
mov eax, ebx
pop ebx
ret

Function at 0x4207d0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x4207dd
xor eax, eax
pop edi
ret
mov eax, dword [0x4696e8]
test eax, eax
push esi
je 0x4207fe
mov eax, dword [0x4696f0]
test eax, eax
jle 0x4207fe
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4696cc], eax
je 0x420814
push 0x44
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x420819
call fcn.004160b0
pop esi
xor eax, eax
pop edi
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
call fcn.0041ba20
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
call fcn.00420570
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004293e0
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
call fcn.0041ba20
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
call fcn.004293e0
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
call fcn.0041ba20
mov dword [esi + 0x1c], eax
mov cl, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
call fcn.004207d0
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
call fcn.004293e0
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call fcn.004293e0
mov dword [esi + 0x2c], eax
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
mov cl, byte [edi + 7]
add esp, 0x24
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov byte [esi + 8], 0
mov byte [esi + 9], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop edi
ret
Function at 0x430c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x46946c]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x88]
movzx ebx, word [ebp + 0x14]
push edi
push 0
mov edi, ecx
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x40]
push edx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
call fcn.0042fd00
add esp, 0x14
test eax, eax
jne 0x430e23
mov eax, dword [edi + 0x18]
push esi
push eax
push edi
lea esi, [esp + 0x30]
mov dword [esp + 0x1c], eax
call fcn.00411c20
mov ecx, dword [edi + 0x44]
movzx edx, byte [ecx]
movzx eax, word [esp + 0x4e]
mov esi, dword [esp + 0x18]
push edx
mov dword [esp + 0x30], eax
call fcn.004120f0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
push 1
push esi
call fcn.0041a8c0
mov byte [edi + 2], 0
mov dword [esi + 0x50], ebp
mov eax, dword [ebp + 0x48]
mov cx, word [eax + 0x22]
add esp, 0x1c
test cx, cx
jne 0x430cf6
call fcn.00411720
jmp 0x430cfb
inc ecx
mov word [eax + 0x22], cx
movzx ecx, word [edi + 0xe]
mov eax, dword [edi + 0x44]
movzx edx, word [edi + 0x14]
add ecx, eax
lea ecx, [ecx + edx*2]
xor edx, edx
mov dh, byte [ecx - 2]
lea esi, [esp + 0x28]
mov dl, byte [ecx - 1]
add eax, edx
push eax
push edi
call fcn.00411c20
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push ecx
push edx
push 0
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.00430620
add esp, 0x2c
test eax, eax
jne 0x430e22
push 4
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov edx, ebx
call fcn.00430a70
add esp, 0xc
test eax, eax
jne 0x430e22
mov ebx, dword [edi + 0x4c]
mov eax, dword [esp + 0x1c]
mov edi, ebp
call fcn.00411be0
mov edx, ebx
shr edx, 0x18
mov byte [eax], dl
mov byte [eax + 3], bl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 1], cl
mov edx, ebx
shr edx, 8
mov byte [eax + 2], dl
movzx eax, byte [ebp + 8]
mov ecx, dword [ebp + 0x44]
lea ecx, [eax + ecx + 8]
mov eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + 0x12]
test dl, dl
je 0x430e0b
mov ebx, dword [ebp + 0x4c]
push 5
call fcn.0042e820
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 4
test esi, esi
jne 0x430dee
call fcn.00411be0
call fcn.0042ea10
mov esi, eax
test esi, esi
je 0x430e0b
mov eax, dword [edi + 0x48]
call fcn.00427b20
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00458c53
add esp, 0x7c
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x48]
call fcn.00427b20
push 0
push ebp
call fcn.00431ef0
add esp, 8
pop esi
mov ecx, dword [esp + 0x84]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00458c53
add esp, 0x7c
ret
Function at 0x431d50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x4c]
push esi
mov esi, dword [ebp + 0x40]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x28], esi
call fcn.0042fd00
add esp, 0x14
test eax, eax
jne 0x431ee1
movzx eax, word [esi + 0x1a]
mov edx, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 8], ecx
movzx ecx, word [ebp + 0x14]
push ebx
movzx ebx, byte [ebp + 8]
push edi
movzx edi, word [ebp + 0xe]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x10]
sub ecx, ebx
mov dword [esp + 0x14], eax
lea esi, [ebx + edx]
mov ebx, ecx
xor eax, eax
mov ah, byte [esi + 5]
shr ecx, 2
push ebp
mov al, byte [esi + 6]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
sub ecx, eax
lea esi, [eax + edx]
mov edx, dword [esp + 0x14]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00411f80
mov esi, eax
add esp, 4
test esi, esi
jne 0x431ed1
movzx ecx, byte [ebp + 2]
shl ecx, 3
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x18]
lea edi, [ebx + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp + 2]
test al, al
mov byte [ebx + 2], al
je 0x431e27
mov word [ebx + 0x12], 0
mov eax, dword [ebx + 0x44]
movzx ecx, byte [eax]
and ecx, 0xfffffff7
push ecx
mov esi, ebp
call fcn.004120f0
movzx edx, byte [ebp + 8]
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + eax + 8]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x20]
mov byte [eax + 2], dl
mov al, byte [ecx + 0x12]
add esp, 4
test al, al
je 0x431eb4
mov eax, dword [esp + 0x24]
mov ebx, dword [ebp + 0x4c]
mov eax, dword [eax + 0x4c]
push 5
call fcn.0042e820
mov esi, eax
add esp, 4
test esi, esi
jne 0x431ed1
mov ecx, dword [esp + 0x24]
cmp word [ecx + 0x14], ax
jbe 0x431eb0
mov edi, dword [esp + 0x24]
mov eax, esi
call fcn.00411be0
call fcn.0042ea10
test eax, eax
jne 0x431edf
movzx edx, word [edi + 0x14]
inc esi
cmp esi, edx
jl 0x431e93
mov ebx, dword [esp + 0x24]
push ebx
call fcn.00430e40
mov esi, eax
mov eax, dword [ebx + 0x48]
add esp, 4
call fcn.00427b20
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x10
ret
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x48]
call fcn.00427b20
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x449c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [eax + 0x20]
test ebp, ebp
push esi
push edi
je 0x449e55
mov esi, dword [esp + 0x60]
lea ebx, [ebx]
movzx edx, byte [ebp + 8]
mov ecx, dword [esp + 0x64]
cmp edx, ecx
jne 0x449e4a
movzx eax, byte [ebp + 9]
cmp eax, dword [esp + 0x6c]
jne 0x449e4a
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x20]
je 0x449ce4
mov edx, dword [esi]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 0x2c]
jne 0x449e4a
cmp ecx, 0x64
jne 0x449d05
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x449d05
push eax
mov eax, dword [esp + 0x6c]
call fcn.00414460
add esp, 4
test eax, eax
je 0x449e4a
mov ecx, dword [esi + 0xac]
mov eax, ecx
test eax, eax
je 0x449d21
cmp ebp, dword [eax + 0x14]
je 0x449e4a
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x449d11
mov edx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x38], eax
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0xb0]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
mov dword [esi + 0xac], ecx
mov eax, dword [ebp]
mov dword [esp + 0x38], esi
mov dword [esi + 0xb0], eax
mov eax, dword [ebx + 0x18]
lea ecx, [eax + 1]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
jl 0x449dc3
mov edi, dword [ebx + 0x20]
lea eax, [ecx + ecx + 0xa]
mov dword [ebx + 0x1c], eax
shl eax, 2
call fcn.0041ddf0
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x449dd1
mov dword [ebx + eax*4], 0xffffffff
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
sub ecx, eax
push edx
mov dword [esp + 0x14], ecx
call fcn.004293e0
add esp, 4
mov ebx, eax
lea edi, [esp + 0x38]
call fcn.0042a0a0
test eax, eax
jne 0x449e5f
mov edi, dword [esp + 0x10]
push 1
push edi
push ebx
push esi
call fcn.00433b80
push ebx
call fcn.0041b910
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [ebp + 0x24]
mov ebx, esi
call fcn.00449ad0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x20]
add esp, 0x18
test eax, eax
je 0x449e4a
mov ecx, dword [ecx + 0xc]
lea edx, [edi*4 + 4]
sub eax, edx
mov dword [eax], ecx
mov ebp, dword [ebp + 0x28]
test ebp, ebp
jne 0x449cb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x34]
push ebx
mov dword [esi + 0xac], edx
call fcn.0041b910
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
Function at 0x4534c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0x462e70
push eax
mov esi, ecx
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x45357e
mov ecx, dword [esi + 0x2c0]
push 0
push ecx
push edi
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [esi + 0x2d4]
add esp, 0xc
test eax, eax
je 0x453511
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x2d4], 0
mov eax, dword [esi + 0x2bc]
test eax, eax
ja 0x45352d
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret 4
push eax
call fcn.00458ba5
mov edx, dword [esi + 0x2bc]
push edi
push 1
push edx
push eax
mov dword [esi + 0x2d4], eax
call dword [sym.imp.MSVCR71.dll_fread]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esi + 0x2d4]
mov ecx, dword [eax]
add esp, 0x18
cmp ecx, 0x2014b50
jne 0x45356b
pop edi
xor eax, eax
pop esi
ret 4
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x2d4], 0
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret 4
Function at 0x453b00
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_fopen]
push esi
push edi
push 0x462e88
push ebx
mov esi, ecx
call ebp
mov edi, eax
add esp, 8
test edi, edi
je 0x453b8b
lea eax, [esi + 0x2b0]
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
push edi
mov dword [edx + 0xc], ecx
push 1
mov dword [edx + 0x10], ecx
push 0x16
mov word [edx + 0x14], cx
push eax
mov dword [eax], 0x6054b50
call dword [sym.imp.MSVCR71.dll_fwrite]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov edi, dword [esp + 0x2c]
add esp, 0x14
test edi, edi
jne 0x453b6a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [esi + 0xc]
push 0x460374
push eax
call ebx
push 0x462e70
push edi
call ebp
add esp, 0x14
test eax, eax
jne 0x453b95
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 8
push edi
lea ecx, [esi + 0x138]
push 0x460374
push ecx
call ebx
add esp, 0xc
push 0
push edi
mov ecx, esi
call fcn.004535a0
neg al
pop edi
pop esi
pop ebp
pop ebx
sbb eax, eax
neg eax
dec eax
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x469890]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, 0x469890
mov dword [ebp - 0x10], esp
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 4], 0
call fcn.00454970
add esp, 4
push 1
push 0x45c238
lea ecx, [ebp - 0x14]
call fcn.00405320
push 0xd
push str.UpLoadFile.db
lea ecx, [ebp - 0x14]
call fcn.00405320
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x14]
jne 0x4540fd
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4540ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.00401550
mov esi, 1
jmp 0x454121
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4546d0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.03E619D5_2762_44b8_A22C_6D1E243E6C63
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi + 4], eax
je 0x454707
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45470b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
xor eax, eax
pop esi
ret
push str.4D938627_9388_4f9b_AB8E_FF9F7FBE8901
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 8], eax
je 0x454707
push edi
lea edi, [esi + 0x24]
push edi
push str.rising_antispyware_upfile
push 1
call fcn.0040eff0
add esp, 0xc
test eax, eax
jne 0x454740
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [edi]
push 0x454620
push ecx
call fcn.0040f130
add esp, 8
test eax, eax
mov dword [esi + 0x28], eax
je 0x45473b
lea ecx, [esi + 0x10]
call fcn.00454050
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret

Function at 0x454800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459c76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3f8
mov eax, dword [0x46946c]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0x3f4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.00453420
mov edx, dword [0x469890]
mov ecx, 0x469890
mov dword [esp + 0x40c], 0
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
mov byte [esp + 0x2f0], 0
mov ecx, 0x40
lea edi, [esp + 0x2f1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2f0]
push eax
push 0x104
mov byte [esp + 0x414], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x2f4]
push ecx
lea edx, [esp + 0x18]
push str._s_d.zak
push edx
call fcn.00405190
mov esi, dword [esp + 0x20]
add esp, 0x10
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.00453b00
mov ebx, dword [ebx]
push 0
push ebx
push esi
lea ecx, [esp + 0x24]
call fcn.00453bc0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.00404d60
lea eax, [esi - 0x10]
mov byte [esp + 0x40c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45490b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40c], 0xffffffff
call fcn.00453490
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3fc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458c53
mov esp, ebp
pop ebp
ret 8
Function at 0x4590fe
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4666c8
call fcn.00459304
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x45913e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45913e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x459156
cmp eax, 0x20b
je 0x459143
mov dword [ebp - 0x1c], ebx
jmp 0x45916a
cmp dword [ecx + 0x84], 0xe
jbe 0x45913e
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x459164
cmp dword [ecx + 0x74], 0xe
jbe 0x45913e
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4698c0], 0xffffffff
or dword [0x4698c4], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4698b8]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4698b4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4698bc], eax
call fcn.004593e0
call fcn.00459480
cmp dword [0x469470], ebx
jne 0x4591ca
push fcn.00459480
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0045946e
push 0x469040
push 0x46903c
call sub.MSVCR71.dll__initterm
push 0x459424
call fcn.00458e65
mov eax, dword [0x4698b0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4698ac]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x45921e
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x469038
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x45929c
cmp al, bl
je 0x459248
cmp dword [ebp - 0x20], ebx
jne 0x45929c
mov al, byte [esi]
cmp al, bl
je 0x459258
cmp al, 0x20
ja 0x459258
inc esi
mov dword [ebp - 0x24], esi
jmp 0x459248
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x459274
movzx eax, word [ebp - 0x54]
jmp 0x459277
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00453c50
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x459294
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4592f1
cmp al, 0x22
jne 0x4592ab
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x4592be
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x459236
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0045933f
ret