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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
push esi
push edi
lea edi, [ebp - 0x630]
mov ecx, 0x18c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4607f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
push 0xff
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00438770
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00438770
lar eax, word [eax]
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.00438770
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call fcn.00416f60
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00417160
add esp, 0xc
push 0x455030
lea edx, [ebp - 0x210]
push edx
call fcn.004358ab
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x41789a
or eax, 0xffffffff
jmp 0x417960
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov esi, esp
call dword [0x44e0e0]
cmp esi, esp
call fcn.0044bb3e
push eax
mov esi, esp
call dword [0x44e0e4]
cmp esi, esp
call fcn.0044bb3e
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x455034
push 0xff
lea eax, [ebp - 0x61c]
push eax
call fcn.00435787
add esp, 0x20
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x624], ecx
mov edx, dword [ebp - 0x624]
add edx, 1
mov dword [ebp - 0x628], edx
mov eax, dword [ebp - 0x624]
mov cl, byte [eax]
mov byte [ebp - 0x629], cl
add dword [ebp - 0x624], 1
cmp byte [ebp - 0x629], 0
jne 0x417900
mov edx, dword [ebp - 0x624]
sub edx, dword [ebp - 0x628]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x630]
push ecx
push 1
lea edx, [ebp - 0x61c]
push edx
call fcn.00435a24
add esp, 0x10
mov eax, dword [ebp - 0x218]
push eax
call fcn.00435b1d
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x416d90]
call fcn.0044bb61
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434fc8
add esp, 0x630
cmp ebp, esp
call fcn.0044bb3e
mov esp, ebp
pop ebp
ret
Function at 0x417827
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
push esi
push edi
lea edi, [ebp - 0x630]
mov ecx, 0x18c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4607f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
push 0xff
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.00438770
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00438770
lar eax, word [eax]
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x61c]
push edx
call fcn.00438770
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call fcn.00416f60
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00417160
add esp, 0xc
push 0x455030
lea edx, [ebp - 0x210]
push edx
call fcn.004358ab
add esp, 8
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x41789a
or eax, 0xffffffff
jmp 0x417960
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov esi, esp
call dword [0x44e0e0]
cmp esi, esp
call fcn.0044bb3e
push eax
mov esi, esp
call dword [0x44e0e4]
cmp esi, esp
call fcn.0044bb3e
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xb
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x455034
push 0xff
lea eax, [ebp - 0x61c]
push eax
call fcn.00435787
add esp, 0x20
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x624], ecx
mov edx, dword [ebp - 0x624]
add edx, 1
mov dword [ebp - 0x628], edx
mov eax, dword [ebp - 0x624]
mov cl, byte [eax]
mov byte [ebp - 0x629], cl
add dword [ebp - 0x624], 1
cmp byte [ebp - 0x629], 0
jne 0x417900
mov edx, dword [ebp - 0x624]
sub edx, dword [ebp - 0x628]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x630]
push ecx
push 1
lea edx, [ebp - 0x61c]
push edx
call fcn.00435a24
add esp, 0x10
mov eax, dword [ebp - 0x218]
push eax
call fcn.00435b1d
add esp, 4
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x416d90]
call fcn.0044bb61
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434fc8
add esp, 0x630
cmp ebp, esp
call fcn.0044bb3e
mov esp, ebp
pop ebp
ret
Function at 0x40e042
Capabilities:
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40e04d
mov ecx, dword [eax + 4]
jmp 0x40e050
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
push esi
mov eax, 0x811c9dc5
lea edx, [ecx + edx*2]
jmp 0x40e06b
movzx esi, word [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jne 0x40e05e
mov esi, 0x7fffffff
and eax, esi
push 0x1f31d
push eax
call fcn.0048ad6e
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
pop ecx
sub edx, eax
pop ecx
mov eax, edx
jns 0x40e097
add eax, esi
pop esi
ret

Function at 0x431fce
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b194f
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0xc], esi
call dword [eax + 8]
push eax
lea ecx, [esp + 0x4c]
call fcn.00406315
xor ebx, ebx
mov dword [esp + 0x90], ebx
cmp dword [esp + 0x5c], ebx
je 0x432122
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call dword [eax]
mov byte [esp + 0x90], 1
lea eax, [esp + 0x14]
push eax
call fcn.00410a41
mov byte [esp + 0x90], 2
push 0x4c0624
lea ecx, [esp + 0x30]
call fcn.00404ee5
mov byte [esp + 0x90], 3
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x68]
push eax
lea esi, [esp + 0x1c]
call fcn.00440eb0
pop ecx
pop ecx
mov byte [esp + 0x90], 2
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00404f60
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 2
jne 0x4320fd
push ebx
call fcn.0040e563
push dword [esp + 0xc]
mov ecx, eax
call fcn.00431c15
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0xfc], eax
push 1
mov dword [ecx + 0x64], eax
call fcn.0040e563
push dword [esp + 0xc]
mov ecx, eax
call fcn.00431c15
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x100], eax
mov dword [ecx + 0x68], eax
mov byte [esp + 0x90], 1
lea eax, [esp + 0x14]
push eax
call fcn.00410a79
mov byte [esp + 0x90], bl
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.00404f60
or dword [esp + 0x90], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00404f60
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0048a70b
mov esp, ebp
pop ebp
ret 4
Function at 0x43eb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a5113
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4b891c
mov dword [esp + 0x14], 1
push esi
call fcn.00489e32
add esp, 4
mov byte [esp + 0x14], 0
cmp dword [esi + 0x30], 0x10
jb 0x43eb66
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048a700
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x4b88fc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x445c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac111
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov ebx, 1
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00447050
mov edx, dword [0x4e799c]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x4e799c
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
cmp ebx, esi
jle 0x445d42
mov ebp, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x445d12
lea ecx, [eax - 1]
test ecx, ecx
jl 0x445dc3
cmp ecx, eax
jg 0x445dc3
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5d
je 0x445d12
test eax, eax
jle 0x445d12
lea ecx, [eax - 1]
test ecx, ecx
jl 0x445dc3
cmp ecx, eax
jg 0x445dc3
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x445d12
push 0x5c
call fcn.00444db0
test esi, esi
jl 0x445dcd
cmp esi, ebx
jge 0x445dcd
mov eax, ebp
call fcn.00447970
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
call fcn.00434b6c
inc esi
add ebp, 4
cmp esi, ebx
jl 0x445cc4
xor esi, esi
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x445da5
cmp ebx, esi
jle 0x445d98
mov esi, eax
mov ebp, ebx
jmp 0x445d60
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445d8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub ebp, 1
jne 0x445d60
mov eax, dword [esp + 0x1c]
xor esi, esi
push eax
call fcn.0048af35
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.004048f1
push 0
push 0
push 1
push 0xc000008c
call dword [0x4b8364]
int3
Function at 0x44b6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae8c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
mov eax, dword [0x4e799c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e799c
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x24], ebp
fild dword [esp + 0x30]
cmp dword [esp + 0x30], 0x100000
mov dword [esp + 0x14], 1
jle 0x44b7b7
fmul qword [0x4cbfa0]
fld st(0)
call fcn.004a2c60
mov ebx, eax
mov dword [esp + 0x18], ebx
fisub dword [esp + 0x18]
fmul qword [0x4cbf40]
call fcn.004a2c60
mov edi, eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0044b860
mov dword [esp + 0x2c], 2
mov eax, dword [eax]
push 0x4c3438
push edi
push ebx
push eax
push esi
call fcn.0043a1e2
add esp, 0x1c
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44b833
fmul qword [0x4cbf18]
fld st(0)
call fcn.004a2c60
mov ebx, eax
mov dword [esp + 0x18], ebx
fisub dword [esp + 0x18]
fmul qword [0x4cbf40]
call fcn.004a2c60
mov edi, eax
cmp ebx, ebp
je 0x44b7f5
push 0x4be558
push ebx
push 0x4c3440
push esi
call fcn.0043a1e2
add esp, 0x10
jmp 0x44b83f
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0044b860
mov dword [esp + 0x2c], 4
mov eax, dword [eax]
push 0x4be558
push edi
push ebp
push eax
push esi
call fcn.0043a1e2
add esp, 0x1c
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44b83f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44b980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a46a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], 0x44
call fcn.0048afd0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0x7c], ebx
cmp byte [esp + 0x8c], bl
je 0x44ba02
call fcn.0044dc20
mov eax, dword [0x4e8910]
cmp eax, ebx
je 0x44ba02
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], 1
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x44ba17
mov edx, dword [eax + 4]
push edx
push esi
call fcn.00404755
mov eax, dword [esi]
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x90]
push ebx
push ebx
push edx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [0x4b8334]
mov esi, eax
cmp byte [esp + 0x8c], bl
je 0x44ba6b
cmp byte [esp + 0x10], bl
je 0x44ba6b
call fcn.0044dc20
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44ba6b
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], bl
cmp esi, ebx
jne 0x44baaa
mov dword [esp + 0x7c], 0xffffffff
cmp byte [esp + 0x10], bl
je 0x44ba96
call fcn.0044dc20
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44ba96
lea edx, [esp + 0xc]
push edx
call eax
mov byte [esp + 0x10], bl
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x74
ret
cmp edi, ebx
je 0x44bac7
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [0x4b834c]
mov ecx, dword [esp + 0x14]
push edi
push ecx
call dword [0x4b832c]
mov edx, dword [esp + 0x14]
push edx
call dword [0x4b8314]
mov dword [esp + 0x7c], 0xffffffff
cmp byte [esp + 0x10], bl
je 0x44baf9
call fcn.0044dc20
mov eax, dword [0x4e8914]
cmp eax, ebx
je 0x44baf9
lea ecx, [esp + 0xc]
push ecx
call eax
mov byte [esp + 0x10], bl
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x74
ret
Function at 0x481bc7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab1d0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
push 0x4ca28c
lea ecx, [esp + 0x30]
call fcn.00404ee5
xor ebx, ebx
mov dword [esp + 0x70], ebx
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x5c]
lea esi, [esp + 0x48]
call fcn.0043a270
mov byte [esp + 0x70], 1
mov ecx, dword [edi + 0xc4]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0xc]
mov byte [esp + 0x70], bl
push ebx
push 1
mov ecx, esi
call fcn.00404f60
or dword [esp + 0x70], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00404f60
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0xa8]
add eax, 0x8c
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x481c8a
cmp eax, dword [esp + 0x24]
je 0x481c8f
call fcn.0048a943
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
je 0x481cca
lea esi, [esp + 0x1c]
call fcn.004863fd
mov dword [esp + 0x18], eax
call fcn.004863fd
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc4]
mov edx, dword [ecx]
add esi, 0x1c
push esi
push eax
call dword [edx + 0xc]
lea esi, [esp + 0x1c]
call fcn.00405861
jmp 0x481c7c
mov esi, 0x4ca410
push esi
lea ecx, [esp + 0x30]
call fcn.00404ee5
mov dword [esp + 0x70], 2
mov ecx, dword [edi + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x4c]
push edx
call dword [eax]
mov byte [esp + 0x70], 3
cmp dword [eax + 0x14], ebx
sete byte [esp + 0x17]
mov byte [esp + 0x70], 2
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00404f60
or dword [esp + 0x70], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00404f60
cmp byte [esp + 0x17], bl
je 0x481d88
push 0x4ca42c
lea ecx, [esp + 0x4c]
call fcn.00404ee5
mov dword [esp + 0x70], 4
push esi
lea ecx, [esp + 0x30]
call fcn.00404ee5
mov byte [esp + 0x70], 5
mov edi, dword [edi + 0xc4]
mov eax, dword [edi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov byte [esp + 0x70], 4
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00404f60
or dword [esp + 0x70], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00404f60
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485bf9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7782
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0xec]
mov dword [esp + 0x1c], eax
inc dword [eax]
mov byte [esp + 0x20], 0
and dword [esp + 0x38], 0
lea edi, [ecx + 0xf0]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x24]
call fcn.0047060e
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x24]
call fcn.0047060e
mov esi, dword [esp + 0x14]
test esi, esi
je 0x485c7a
cmp esi, dword [esp + 0x24]
je 0x485c7f
call fcn.0048a943
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x28]
je 0x485cca
test esi, esi
jne 0x485cc2
call fcn.0048a943
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x485c9e
call fcn.0048a943
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax]
test esi, esi
jne 0x485cc6
call fcn.0048a943
cmp ebx, dword [esi + 0x10]
jb 0x485cb9
call fcn.0048a943
add ebx, 0x4c
mov dword [esp + 0x18], ebx
jmp 0x485c60
mov eax, dword [esi]
jmp 0x485c94
mov esi, dword [esi]
jmp 0x485caf
mov eax, edi
call fcn.00485ef0
or dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x1c]
dec dword [eax]
mov byte [esp + 0x20], 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x488b20
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x402aec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004042d4
test esi, esi
jne 0x402b22
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004043c4
jmp 0x402b40
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a0
mov edi, eax
test esi, esi
je 0x402b40
cmp dword [ebx], 0
je 0x402b40
dec esi
jmp 0x402b29
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x508020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032a8
xor eax, eax
push ebp
push 0x4032a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x508020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x508020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50e04c], 0
je 0x404115
cmp word [0x50e220], 0xd7b2
jne 0x4040dd
cmp dword [0x50e228], 0
jbe 0x4040dd
mov eax, 0x50e21c
call dword [0x50e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x50806c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40413c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x508030], 0
jne 0x404131
push 0
push 0x508064
push 0x50806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404288
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402764
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50e04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404250
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405bb8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405de8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c3b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405de8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405c3b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e04
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405cc4
xor eax, eax
push ebp
push 0x405cbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a00
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ca2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405e24
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ca2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405cc4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405dde
cmp byte [ebp - 0xd], 0
jne 0x405d0b
cmp byte [ebp - 0x12], 0
je 0x405dde
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405d24
dec ebx
cmp byte [ebx], 0x2e
je 0x405d33
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405d23
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405dde
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405d70
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405dde
cmp byte [ebp - 0xd], 0
je 0x405dde
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405dde
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret