joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414561
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004143d2

Function at 0x415938
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00405cf0
mov eax, dword [0x433070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004121aa
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41597a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x415ad6
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422520
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x434910]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041600a
mov ecx, dword [esi*4 + 0x434910]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x415acf
cmp eax, dword [edi + ecx + 0x24]
jne 0x415acf
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415acf
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041600a
add esp, 0x14
test edx, edx
jl 0x415acf
jg 0x415a45
test eax, eax
jb 0x415acf
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x415acf
jl 0x415a5f
cmp dword [ebp - 0x1008], eax
ja 0x415acf
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x415a7d
test ebx, ebx
je 0x415ab6
cmp ecx, edi
jae 0x415ab6
mov al, byte [ecx]
cmp al, 0xd
jne 0x415a97
lea eax, [edi - 1]
cmp ecx, eax
jae 0x415aa3
cmp byte [ecx + 1], 0xa
jne 0x415aa3
inc ecx
jmp 0x415aa3
movzx eax, al
movsx eax, byte [eax + 0x4339c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x415a7d
cmp edx, ebx
jne 0x415a7d
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x415ad4
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004053d5
leave
ret
Function at 0x41a41e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41a4bb
push ebx
push esi
call fcn.0041a3e7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004191c2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41a468
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a4ba
push edi
push eax
call fcn.0040e2a0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41a488
call fcn.0040eba5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a4b9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004191c2
add esp, 0x20
test eax, eax
jne 0x41a4a7
push edi
call fcn.0040eba5
jmp 0x41a4af
push ebx
call fcn.0040eba5
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41d6a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x434910]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d6e2
cmp byte [ebx], 0xa
jne 0x41d6e2
or byte [eax + edi + 0x28], 4
jmp 0x41d6e7
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d7e5
mov al, byte [edx]
cmp al, 0x1a
je 0x41d7c7
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d716
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d73b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d745
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d6f8
jmp 0x41d7e5
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d7c2
cmp dword [ebp - 0xc], 0
je 0x41d7c2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x434910]
test byte [eax + edi + 0x28], 0x48
je 0x41d79c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d787
mov byte [esi], dl
jmp 0x41d798
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x434910]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d7e5
cmp byte [ebp - 1], 0xa
jne 0x41d7ab
cmp esi, ebx
jne 0x41d7ab
mov byte [esi], 0xa
jmp 0x41d7e4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00416028
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d7e5
mov byte [esi], 0xd
jmp 0x41d7e4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x434910]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d7e1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d7e5
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d7ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x434910]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d831
cmp word [esi], dx
jne 0x41d831
or byte [edi + eax + 0x28], 4
jmp 0x41d836
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d96f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d94f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d878
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d8ae
cmp eax, edx
jae 0x41d8ba
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d850
jmp 0x41d96f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d94b
cmp dword [ebp - 0x14], 0
je 0x41d94b
mov eax, dword [ebx*4 + 0x434910]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d923
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x41d969
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x434910]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x434910]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x434910]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x41d96c
pop ebx
cmp word [ebp - 4], bx
jne 0x41d934
cmp esi, dword [ebp + 0xc]
jne 0x41d934
mov word [esi], bx
jmp 0x41d96c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00416028
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d96f
push 0xd
jmp 0x41d968
mov ecx, dword [ebx*4 + 0x434910]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d966
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d96f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421de5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421d61
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x421f5d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x421f5d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x421f0c
jg 0x421e3e
test eax, eax
je 0x421f02
push 1
push 0x1000
call fcn.0040dbb9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x421e64
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x421ef9
push 0x8000
push ebx
call fcn.00410241
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x421e90
jg 0x421e8b
cmp ecx, 0x1000
jb 0x421e90
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00413e68
add esp, 0x10
cmp eax, 0xffffffff
je 0x421ed5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x421e8b
jl 0x421ebc
test ecx, ecx
jne 0x421e7d
push dword [ebp - 0xc]
push ebx
call fcn.00410241
push esi
call fcn.0040eba5
add esp, 0xc
xor edi, edi
jmp 0x421f6e
cmp byte [edi + 0x24], 0
je 0x421eec
cmp dword [edi + 0x20], 5
jne 0x421eec
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x421ef7
mov edi, dword [edi + 0x18]
jmp 0x421ef9
xor edi, edi
push esi
call fcn.0040eba5
pop ecx
jmp 0x421f6e
test ecx, ecx
jg 0x421ece
jl 0x421f0c
test eax, eax
jae 0x421ece
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00416028
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x421f2f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x421ece
jmp 0x421f66
push ebx
call fcn.0041aaea
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x421ece
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x421f6e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x421f6b
mov edi, dword [edi + 0x18]
jmp 0x421f6e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00416028
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b3ed0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
or ebp, 0xffffffff
jmp 0x4b3ef2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3ee8
mov eax, 1
add ebx, ebx
jne 0x4b3f0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3f1c
jne 0x4b3f3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3f3b
dec eax
add ebx, ebx
jne 0x4b3f28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3f00
add ebx, ebx
jne 0x4b3f37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3f8d
xor ecx, ecx
sub eax, 3
jb 0x4b3f53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3fc2
sar eax, 1
mov ebp, eax
jmp 0x4b3f5e
add ebx, ebx
jne 0x4b3f5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3f2c
inc ecx
add ebx, ebx
jne 0x4b3f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3f2c
add ebx, ebx
jne 0x4b3f79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3f6e
jne 0x4b3f8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3f6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3f9e
jmp 0x4b3eee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3fac
add edi, ecx
jmp 0x4b3eee
pop esi
mov edi, esi
mov ecx, 0xd17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3fca
cmp byte [edi], 0xe
jne 0x4b3fca
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 0x4b3fcf
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b403e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb434c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb4388]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3ffc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb438c]
or eax, eax
je 0x4b4038
mov dword [ebx], eax
add ebx, 4
jmp 0x4b4019
call dword [esi + 0xb439c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4b406f
cmp al, 0xef
ja 0x4b4062
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4b4044
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4b4051
mov ebp, dword [esi + 0xb4390]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x4b40a3
sub esp, 0xffffff80
jmp 0x433d05
Function at 0x78ab0787
Capabilities:
Accept command line arguments
Get thread local storage value

Disassembly:
push 8
push 0x78ab0828
call fcn.78ab0690
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x78ab6b6d
xor edi, edi
cmp eax, edi
je 0x78ac6a59
cmp eax, 2
jne 0x78ab2439
call sym.MSVCR100.dll___set_flsgetvalue
push dword [0x78b528b4]
push dword [0x78b528b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
test eax, eax
jne 0x78ab0819
push 0x214
push 1
call sym.MSVCR100.dll__calloc_crt
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
je 0x78ac6a9f
push esi
push dword [0x78b528b4]
push dword [0x78b52e58]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
call eax
test eax, eax
je 0x78ad6434
push edi
push esi
call sym.MSVCR100.dll__initptd
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
or dword [esi + 4], 0xffffffff
call fcn.78ab0780
xor eax, eax
inc eax
call fcn.78ab06d5
ret
cmp eax, 3
jne 0x78ab0819
push edi
call fcn.78ab23cb
pop ecx
jmp 0x78ab0819
call fcn.78ab660c
test eax, eax
je 0x78ac6a9f
call fcn.78ab6cd0
test eax, eax
je 0x78ad63e7
call fcn.78ab668d
test eax, eax
js 0x78ad63f1
call fcn.78ab67b5
mov dword [0x78b53358], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [sym.MSVCR100.dll__acmdln], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [sym.MSVCR100.dll__wcmdln], eax
call fcn.78ab6b62
call fcn.78ab6be1
test eax, eax
js 0x78ac6aa6
push 0
call fcn.78ab7834
pop ecx
test eax, eax
jne 0x78ac6aa6
inc dword [0x78b53354]
jmp 0x78ab0819
cmp dword [0x78b53354], edi
jle 0x78ac6a9f
dec dword [0x78b53354]
mov dword [ebp - 4], edi
cmp dword [0x78b53ea4], edi
je 0x78ad63f8
call fcn.78ac69ef
cmp dword [ebp + 0xc], edi
je 0x78ad6402
mov dword [ebp - 4], 0xfffffffe
call fcn.78ac6a95
jmp 0x78ab0819
xor eax, eax
jmp 0x78ab0821
call fcn.78b26230
jmp 0x78ad63f1
call fcn.78b25b62
jmp 0x78ac6a9f
call fcn.78afa122
jmp 0x78ad63e7
call sym.MSVCR100.dll__cexit
jmp 0x78ac6a76
call fcn.78b26230
call fcn.78afa122
call fcn.78b25b62
jmp 0x78ac6a84
push esi
call sym.MSVCR100.dll_free
pop ecx
jmp 0x78ac6a9f
Function at 0x78ab0fdc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
je 0x78ad65a2
push esi
call sym.MSVCR100.dll___set_flsgetvalue
push 0x214
push 1
call sym.MSVCR100.dll__calloc_crt
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x78ad65c9
call sym.MSVCR100.dll__getptd
push dword [eax + 0x6c]
push esi
call sym.MSVCR100.dll__initptd
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x1c]
pop ecx
pop ecx
mov dword [esi + 0x54], edi
test eax, eax
je 0x78ad65b9
push eax
push dword [ebp + 0x18]
push esi
push 0x78ab1073
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x78ad65c1
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
xor eax, eax
jmp 0x78ab1055
lea eax, [ebp + 0x10]
jmp 0x78ab1036
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call sym.MSVCR100.dll_free
pop ecx
test ebx, ebx
je 0x78ad65db
push ebx
call sym.MSVCR100.dll__dosmaperr
pop ecx
xor eax, eax
jmp 0x78ab1054

Function at 0x78ab1180
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78b52610]
jne sym.MSVCR100.dll___report_gsfailure
repz ret
Function at 0x78ab67b5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x78ade6bb
cmp word [ebx], si
je 0x78ab67e6
add eax, 2
cmp word [eax], si
jne 0x78ab67d6
add eax, 2
cmp word [eax], si
jne 0x78ab67d6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
sub eax, ebx
push esi
sar eax, 1
inc eax
push eax
push ebx
push esi
push esi
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x78ab6839
push eax
call sym.MSVCR100.dll__malloc_crt
pop ecx
mov dword [ebp - 4], eax
cmp eax, esi
je 0x78ab6839
push esi
push esi
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push ebx
push esi
push esi
call edi
test eax, eax
je 0x78ade6c2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x78ade6d3
xor eax, eax
jmp 0x78ab6835
push dword [ebp - 4]
call sym.MSVCR100.dll_free
pop ecx
mov dword [ebp - 4], esi
jmp 0x78ab682a
xor eax, eax
jmp 0x78ab6834

Function at 0x78abae19
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
je 0x78ad6b42
test dword [ebp + 0xc], 0xfffffff9
jne 0x78ad6b42
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x78abbf62
test al, 0x10
jne 0x78abae5b
test al, 1
je 0x78abae5b
test byte [ebp + 0xc], 2
jne 0x78ad6b5f
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.MSVCR100.dll__dosmaperr
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78abae5d
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78abae5d
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78abbf6f
Function at 0x78abfbd0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x78ade6b7
cmp word [esi], cx
je 0x78abfbfa
add eax, 2
cmp word [eax], cx
jne 0x78abfbea
add eax, 2
cmp word [eax], cx
jne 0x78abfbea
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call sym.MSVCR100.dll__malloc_crt
mov edi, eax
pop ecx
test edi, edi
je 0x78abfc19
push ebx
push esi
push edi
call sym.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x78ac1435
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
call sym.MSVCR100.dll__getptd
lea edi, [eax + 0x9c]
mov eax, dword [ebp + 8]
test eax, eax
je 0x78adf76c
mov dword [edi], eax
add eax, 0x40
lea ebx, [edi + 4]
mov dword [ebx], eax
je 0x78ac1468
cmp byte [eax], 0
jne 0x78adf778
mov eax, dword [edi]
and dword [edi + 8], 0
test eax, eax
je 0x78ac147b
cmp byte [eax], 0
jne 0x78adf78d
mov ebx, dword [ebx]
test ebx, ebx
je 0x78ac148a
cmp byte [ebx], 0
jne 0x78adf7ed
mov dword [edi + 8], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
cmp dword [edi + 8], 0
je 0x78ac1575
mov esi, dword [ebp + 8]
mov eax, esi
sub eax, 0xffffff80
neg esi
sbb esi, esi
and esi, eax
call fcn.78ac1579
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x78ac1575
cmp esi, 0xfde8
je 0x78ac1575
cmp esi, 0xfde9
je 0x78ac1575
movzx eax, si
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x78ac1575
push 1
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x78ac1575
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x78ac151a
mov cx, word [edi + 0x18]
mov word [eax], cx
mov cx, word [edi + 0x1c]
mov word [eax + 2], cx
mov word [eax + 4], si
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x78ac156d
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, 0x814
cmp word [eax], cx
je 0x78adf81f
push 0x40
push ebx
push 0x1001
push dword [edi + 0x18]
call esi
test eax, eax
je 0x78ac1575
push 0x40
lea eax, [ebx + 0x40]
push eax
push 0x1002
push dword [edi + 0x1c]
call esi
test eax, eax
je 0x78ac1575
push 0xa
push 0x10
sub ebx, 0xffffff80
push ebx
push dword [ebp + 8]
call sym.MSVCR100.dll__itoa_s
add esp, 0x10
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x78ac1570
or dword [edi + 8], 0x104
jmp 0x78ac1491
push ebx
push 0x16
push 0x78adfa50
call fcn.78b2e3fa
add esp, 0xc
jmp 0x78ac1468
mov eax, dword [ebx]
test eax, eax
je 0x78adf7a1
cmp byte [eax], 0
je 0x78adf7a1
mov esi, edi
call fcn.78b2e877
jmp 0x78adf7a8
mov esi, edi
call fcn.78b2e8de
cmp dword [edi + 8], 0
jne 0x78ac14a7
push edi
push 0x40
push 0x78adf848
call fcn.78b2e3fa
add esp, 0xc
test eax, eax
je 0x78ac149d
mov ebx, dword [ebx]
test ebx, ebx
je 0x78adf7e1
cmp byte [ebx], 0
je 0x78adf7e1
mov esi, edi
call fcn.78b2e877
jmp 0x78ac149d
mov esi, edi
call fcn.78b2e8de
jmp 0x78ac149d
push ebx
call sym.MSVCR100.dll_strlen
sub eax, 3
neg eax
pop ecx
sbb eax, eax
push 1
inc eax
push 0x78b2e4e4
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
test byte [edi + 8], 4
jne 0x78ac149d
and dword [edi + 8], 0
jmp 0x78ac149d
push 0x78adfb08
push 0x40
push ebx
call sym.MSVCR100.dll_strcpy_s
add esp, 0xc
test eax, eax
je 0x78ac1546
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call sym.MSVCR100.dll__invoke_watson
int3
Function at 0x78ac1579
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
test esi, esi
je 0x78ac159d
cmp byte [esi], 0
je 0x78ac159d
push 0x78ac15c8
push esi
call sym.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x78adf71e
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x78adf75c
cmp dword [ebp - 4], 0
je 0x78adf760
mov eax, dword [ebp - 4]
leave
ret
push 0x78adf768
push esi
call sym.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x78adf74d
push 2
lea eax, [ebp - 4]
push eax
push 0x2000000b
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x78ac15c3
jmp 0x78adf75c
push esi
call sym.MSVCR100.dll_atol
pop ecx
mov dword [ebp - 4], eax
jmp 0x78ac15c3
xor eax, eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetACP]
leave
ret