joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10147218
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x38]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov dword [0x1016f804], 0x1f19
mov dword [esp], eax
call fcn.101465cf
lea ecx, [0x10146ba5]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x88], 0x11ee00
mov edx, dword [0x1016f7f0]
mov dword [esp + 0x84], edx
mov edx, dword [0x1016f7f4]
mov dword [esp + 0x68], edx
mov edx, dword [0x1016f7f8]
mov dword [esp + 0x40], edx
mov edx, dword [0x1016f7fc]
mov dword [esp + 0x64], edx
mov edx, dword [0x1016f800]
mov dword [esp + 0x5c], edx
mov dword [0x1016f808], 0x4bf
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101472ce
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101472ce
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x101472df
jmp 0x101472a4
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x101472b8
jmp 0x101472a4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [0x1016f808], 0xe73
mov ecx, dword [esp + 0x14]
add ecx, 0x50
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx]
mov dword [esp + 0x50], edx
call fcn.10146bea
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10147354
lea eax, [esp + 0x38]
mov dword [0x1016f808], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10146d0b
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x410fa4
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
cmp byte [edx + 0x17d], 0
call fcn.00410fbf
Function at 0x4254bc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov esi, edx
mov ecx, dword [edx + 0x4c]
mov edx, dword [edx + 0x54]
push ebx
push edi
call fcn.004189ac
pop ecx
pop edx
test eax, eax
je 0x4255d8
mov edx, dword [eax + 0x44]
mov ebp, eax
lea ecx, [esp + 0x20]
push dword [eax + 0x4c]
call fcn.0041967c
pop eax
mov edx, dword [esi + 0x78]
mov edi, dword [esi + 0x70]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x40]
lea esi, [esp + 4]
mov dword [esp], ebp
mov dword [esp + 0x18], edx
imul edx, edx, 0x30
mov dword [esp + 0x1c], edi
mov dword [esi], edi
add edx, edi
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea ecx, [esp + 4]
call fcn.004216ab
test eax, eax
je 0x4255ac
mov esi, edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push eax
call fcn.004206c2
pop ecx
pop edx
mov ecx, eax
mov edx, 0x58373c
mov esi, eax
call fcn.004189fa
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x20]
lea eax, [edx + eax*8]
push eax
call fcn.0042562c
pop eax
cmp byte [esi + 0x2d], 0
jne 0x425525
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 8]
shl edi, 3
test edi, edi
je 0x425525
mov esi, dword [ebx]
mov ebp, dword [ebx + 4]
mov eax, dword [esp]
mov ecx, esi
mov edx, ebp
push dword [eax + 0x40]
push dword [eax + 0x3c]
call fcn.00418a14
pop ecx
pop edx
test al, al
jne 0x4255a4
lea ecx, [esp + 0x20]
mov edx, esi
push ebp
call fcn.0041cfc7
pop eax
add ebx, 8
add edi, 0xfffffff8
jmp 0x425576
mov eax, dword [esp]
lea esi, [esp + 0x20]
mov ecx, esi
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x58]
lea eax, [edx + eax*8]
push eax
call fcn.0042562c
pop eax
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov dword [esp + 0xc], eax
movsd qword [esp + 4], xmm0
jmp 0x42560f
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x78]
push ebx
push edi
call fcn.004206c2
pop ecx
pop edx
test eax, eax
je 0x4255fd
mov edx, dword [eax + 0x20]
lea ecx, [esp + 4]
push dword [eax + 0x28]
call fcn.0041967c
pop eax
jmp 0x42560f
mov dword [esp + 4], 4
and dword [esp + 8], 0
and dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 4]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x4402a0
cmp esi, edi
ja 0x440308
cmp edi, dword [esp + 0x1c]
ja 0x44031b
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x4402a2
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x440290
jmp 0x4402ff
ja 0x4402a8
cmp eax, edx
mov esi, edi
jne 0x440263
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x4402e0
mov ebp, esi
sub ecx, edx
jns 0x4402f7
jmp 0x440301
cmp esi, edi
je 0x440330
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x440301
xor al, 1
cmp ebp, edi
jne 0x4402c0
jmp 0x440301
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x5856d4
call fcn.00576d00
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x5856d4
call fcn.00576ab0
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x5856c4
call fcn.00576b20
add esp, 4
ud2
Function at 0x44329c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, edx
mov edx, dword [esp + 0x18]
mov ebx, ecx
not ebx
cmp edx, 0x40
jb 0x4433c3
push 4
pop edi
sub edi, 1
jb 0x4432ab
cmp edx, 0xf
jbe 0x4433d3
movzx ebp, byte [eax + 0xe]
movzx esi, byte [eax + 0xf]
mov ecx, ebx
mov dword [esp], edx
mov edx, 0xff
shr ecx, 0x18
mov ebp, dword [ebp*4 + 0x589f4c]
xor ebp, dword [esi*4 + 0x589b4c]
movzx esi, byte [eax + 0xd]
xor ebp, dword [esi*4 + 0x58a34c]
movzx esi, byte [eax + 0xc]
xor ebp, dword [esi*4 + 0x58a74c]
movzx esi, byte [eax + 0xb]
xor ebp, dword [esi*4 + 0x58ab4c]
movzx esi, byte [eax + 0xa]
xor ebp, dword [esi*4 + 0x58af4c]
movzx esi, byte [eax + 9]
xor ebp, dword [esi*4 + 0x58b34c]
movzx esi, byte [eax + 8]
xor ebp, dword [esi*4 + 0x58b74c]
movzx esi, byte [eax + 7]
xor ebp, dword [esi*4 + 0x58bb4c]
movzx esi, byte [eax + 6]
xor ebp, dword [esi*4 + 0x58bf4c]
movzx esi, byte [eax + 5]
xor ebp, dword [esi*4 + 0x58c34c]
movzx esi, byte [eax + 4]
xor ebp, dword [esi*4 + 0x58c74c]
movzx esi, byte [eax + 3]
xor ecx, esi
mov esi, ebx
xor ebp, dword [ecx*4 + 0x58cb4c]
movzx ecx, byte [eax + 2]
shr esi, 0x10
and esi, edx
xor esi, ecx
movzx ecx, byte [eax + 1]
xor ebp, dword [esi*4 + 0x58cf4c]
mov esi, ebx
and ebx, edx
shr esi, 8
and esi, edx
mov edx, dword [esp]
xor esi, ecx
movzx ecx, byte [eax]
xor ebp, dword [esi*4 + 0x58d34c]
xor ebx, ecx
mov ecx, eax
xor ebp, dword [ebx*4 + 0x58d74c]
push 0x589b3c
call fcn.0044382a
pop ecx
mov ebx, ebp
jmp 0x4432b7
mov cl, byte [eax]
inc eax
dec edx
xor cl, bl
shr ebx, 8
movzx esi, cl
xor ebx, dword [esi*4 + 0x589b4c]
test edx, edx
jne 0x4433b0
not ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop ecx
push 0x589b2c
call fcn.00576a40
pop eax
ud2
Function at 0x449c44
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x130
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x144]
call fcn.00449c61
Function at 0x45c20a
Capabilities:
Get system information on windows

Disassembly:
push esi
sub esp, 0x24
mov esi, esp
xorps xmm0, xmm0
and dword [esi + 0x20], 0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
push esi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esi + 0x1c]
add esp, 0x24
pop esi
ret
Function at 0x46959f
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], ecx
push 0x20
pop ebp
xor ebx, ebx
mov edi, dword [esp]
test bl, 1
jne 0x469608
mov esi, ebp
lea eax, [edi + ebp]
mov dword [esp], eax
push 2
push ebp
push edi
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor ebp, ebp
mov bl, 1
cmp eax, 0xc0000000
mov dword [esp + 4], eax
jb 0x4695ae
push esi
push edi
call dword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x4695ae
mov esi, dword [esp + 4]
xor esi, 0x80000000
je 0x469608
mov al, byte [0x640d9c]
push 4
pop ecx
mov edx, ecx
call fcn.00403fe0
test eax, eax
je 0x469612
mov dword [eax], esi
jmp 0x46960a
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop ecx
mov edx, ecx
call fcn.00576700
ud2

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x5e8
mov dword [esp + 0x194], ecx
mov ecx, dword [edx + 0x5c]
call fcn.0046963e
Function at 0x4ca41c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
call fcn.004ca430
Function at 0x4d95e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x562b70
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x640c40]
test al, al
je 0x4d97b1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d962c
cmp eax, 3
jne 0x4d97aa
mov ebx, dword [0x640c44]
test ebx, ebx
je 0x4d97aa
mov dword [ebp - 0x20], 0
jmp 0x4d9657
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4d9688
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d97fb
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4d9650
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x4d9650
test byte [ebp - 0x20], 1
je 0x4d97aa
mov ebx, dword [0x640c44]
test ebx, ebx
je 0x4d97aa
mov dword [ebp - 0x20], 0
jmp 0x4d96b7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4d96e8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d97fb
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4d96b0
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x4d96b0
test byte [ebp - 0x20], 1
je 0x4d97aa
mov ebx, dword [0x640c44]
test ebx, ebx
je 0x4d97aa
mov dword [ebp - 0x20], 0
jmp 0x4d9717
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4d9748
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d97fb
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4d9710
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x4d9710
test byte [ebp - 0x20], 1
je 0x4d97aa
mov ebx, dword [0x640c44]
test ebx, ebx
je 0x4d97aa
mov dword [ebp - 0x20], 0
jmp 0x4d9777
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4d97a4
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d97fb
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4d9770
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x4d9770
test byte [ebp - 0x20], 1
jne 0x4d97c4
movzx eax, byte [0x63a940]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0x640c44]
jmp 0x4d97cf
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4d97aa
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x4d97fb
dec esi
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4d97cc
push 0
push esi
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x4d97cc
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x5fd76c
call fcn.00576b20
add esp, 4
ud2
Function at 0x4da560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [0x640070]
test eax, eax
je 0x4da618
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4da58c
cmp dword [eax + 4], 0
mov edi, eax
je 0x4da58c
add edi, 8
jmp 0x4da613
mov eax, dword [0x640070]
test eax, eax
je 0x4da627
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4da611
mov esi, eax
test eax, eax
jne 0x4da5e7
movzx eax, byte [0x640d9c]
mov ecx, 0xc
mov edx, 4
call fcn.00403fe0
test eax, eax
je 0x4da642
mov dword [eax], 0x640070
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x640070]
test eax, eax
je 0x4da636
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi + 4], 0
lea edi, [esi + 8]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
je 0x4da613
test ecx, ecx
je 0x4da613
lock dec dword [ecx]
jne 0x4da613
call fcn.004da0e0
jmp 0x4da613
xor edi, edi
mov eax, edi
pop esi
pop edi
ret
mov ecx, 0x640070
call fcn.00579700
jmp 0x4da570
mov ecx, 0x640070
call fcn.00579700
jmp 0x4da59a
mov ecx, 0x640070
call fcn.00579700
jmp 0x4da5df
mov ecx, 4
mov edx, 0xc
call fcn.00576700
ud2

Function at 0x4dab80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x640080]
test eax, eax
je 0x4dac04
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4dab9f
cmp byte [eax + 4], 0
mov esi, eax
jne 0x4dabf9
mov eax, dword [0x640080]
test eax, eax
je 0x4dac13
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4dabfe
mov esi, eax
test eax, eax
jne 0x4dabf3
movzx eax, byte [0x640d9c]
mov ecx, 8
mov edx, 4
call fcn.00403fe0
test eax, eax
je 0x4dac2b
mov dword [eax], 0x640080
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x640080]
test eax, eax
je 0x4dac1f
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov word [esi + 4], 1
add esi, 5
jmp 0x4dac00
xor esi, esi
mov eax, esi
pop esi
ret
mov ecx, 0x640080
call fcn.00579700
jmp 0x4dab8b
mov ecx, 0x640080
call fcn.00579700
jmp 0x4daba9
mov ecx, 0x640080
call fcn.00579700
jmp 0x4dabeb
mov ecx, 4
mov edx, 8
call fcn.00576700
ud2
Function at 0x4db2f0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x4db344
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0x103
je 0x4db367
test eax, eax
js 0x4db353
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov al, 4
jmp 0x4db35f
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
xor eax, eax
mov byte [esi], al
add esp, 0x34
pop esi
pop edi
ret
mov eax, esp
mov dword [esp + 0x1c], 0x5fcff4
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.004d9bf0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.004d9d20
mov ecx, 7
int 0x29
ud2
Function at 0x4db970
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x640060]
test eax, eax
je 0x4dba08
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x4db996
cmp dword [eax + 4], 0
je 0x4db996
add eax, 8
pop esi
ret
mov eax, dword [0x640060]
test eax, eax
je 0x4dba17
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 1
je 0x4dba04
mov esi, eax
test eax, eax
jne 0x4db9ed
movzx eax, byte [0x640d9c]
mov ecx, 0x10
mov edx, 4
call fcn.00403fe0
test eax, eax
je 0x4dba32
mov dword [eax], 0x640060
mov dword [eax + 4], 0
mov esi, eax
mov eax, dword [0x640060]
test eax, eax
je 0x4dba26
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [esi + 4], 1
mov dword [esi + 8], 0
lea eax, [esi + 8]
mov byte [esi + 0xc], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x640060
call fcn.00579700
jmp 0x4db97f
mov ecx, 0x640060
call fcn.00579700
jmp 0x4db9a0
mov ecx, 0x640060
call fcn.00579700
jmp 0x4db9e5
mov ecx, 4
mov edx, 0x10
call fcn.00576700
ud2

Function at 0x4dc930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x562d00
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
lea eax, [esi + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4dca48
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [esi], eax
call fcn.004dccd0
mov ecx, eax
or ecx, edx
je 0x4dca2f
push edx
push eax
push ebx
push dword [esi]
mov edi, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x1c], eax
call fcn.00565710
mov ecx, edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 0x24], eax
imul ecx, eax
mul edi
add edx, ecx
mov ecx, edi
imul ecx, dword [esi + 4]
add ecx, edx
mov edx, dword [esi]
sub edx, eax
sbb ebx, ecx
mov eax, edx
imul ecx, ebx, 0x3b9aca00
mov ebx, 0x3b9aca00
mul ebx
add edx, ecx
push dword [esi + 0x20]
push edi
push edx
push eax
call fcn.00565710
mov ebx, eax
mov eax, dword [esi + 0x24]
mov ecx, edx
mov edx, 0x3b9aca00
mul edx
mov edi, eax
imul eax, dword [esi + 4], 0x3b9aca00
add eax, edx
add edi, ebx
adc eax, ecx
push 0
push 0x3b9aca00
push eax
push edi
call fcn.00565710
imul ecx, eax, 0xc4653600
add ecx, edi
mov edi, dword [esi + 0x30]
mov dword fs:[0], edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.attempt_to_divide_by_zeroreentrant_init
mov edx, 0x19
push 0x5fc8dc
call fcn.00576b20
add esp, 4
ud2
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x14]
mov ecx, 0x62e67f
mov edx, 0x2b
push 0x5fd868
push 0x5fb84c
push eax
call fcn.00576e10
add esp, 0xc
ud2
Function at 0x4ddcd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x562d40
mov dword [ebp - 0x28], ecx
mov esi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x30], 0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp esi, 0x201
jae 0x4ddd60
jmp 0x4ddd4e
jbe 0x4dddec
cmp esi, 0x201
jae 0x4ddd60
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov edi, esi
jmp 0x4ddd9b
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4ddd8c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, edi
push esi
call fcn.005799b0
add esp, 4
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x4dddbb
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4dde24
cmp esi, edi
jne 0x4ddd40
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4dde5f
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4ddd4e
jmp 0x4ddd60
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0
cmp esi, edx
ja 0x4dde7f
lea ecx, [ebp - 0x4c]
mov edx, ebx
push esi
call fcn.004de520
add esp, 4
movsd xmm0, qword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x44]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x4dde37
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov byte [ecx + 0xc], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4dde4b
mov ecx, dword [ebp - 0x24]
mov edx, 2
call fcn.00404040
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x440
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, 0x62cbee
mov edx, 0x28
push 0x5fd8b0
call fcn.00576b20
add esp, 4
jmp 0x4dde8e
mov ecx, esi
push 0x5fd8a0
call fcn.00576ab0
add esp, 4
ud2
Function at 0x4e38d0
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x103
lea edx, [esp + 4]
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x4e391d
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
cmp eax, 0xc0000011
jne 0x4e392d
mov dword [esi + 4], 0
jmp 0x4e393f
cmp eax, 0x103
je 0x4e3957
test eax, eax
js 0x4e3948
mov eax, dword [esp + 8]
mov dword [esi + 4], eax
mov byte [esi], 4
add esp, 0x34
pop esi
pop edi
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x4e3942
mov eax, esp
mov dword [esp + 0x1c], 0x5fcff4
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
push eax
push ecx
push edx
call fcn.004d9bf0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.004d9d20
mov ecx, 7
int 0x29
ud2