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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xc418c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc4176
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xc4176
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.00083acc
lea eax, [ebp - 4]
call fcn.00083968
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
call fcn.00086a00
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.000835cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc4193
lea eax, [ebp - 4]
call fcn.00083578
ret

Function at 0xc419c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.000840a8
xor eax, eax
push ebp
push 0xc426f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc4242
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xc4242
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00083acc
lea eax, [ebp - 0x10]
call fcn.00083968
mov ecx, dword [ebx]
mov edx, esi
call fcn.00086a00
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.00083968
push eax
lea eax, [ebp - 0x14]
call fcn.000c5c80
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000bc518
mov ebx, eax
test ebx, ebx
je 0xc4249
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc4276
lea eax, [ebp - 0x14]
call fcn.00083b48
lea eax, [ebp - 0x10]
call fcn.00083578
lea eax, [ebp - 4]
call fcn.00083b48
ret
Function at 0xc5160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
xor edx, edx
push ebp
push 0xc519e
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc5190
add eax, dword [edx + 0x3c]
cmp dword [eax], 0x4550
jne 0xc5190
test byte [eax + 0x17], 0x20
je 0xc5190
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc51a5
ret

Function at 0xc51ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0xc51b5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.000840a8
xor eax, eax
push ebp
push 0xc536a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xc5318
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0xc5318
mov esi, dword [edx + 0x50]
add esi, ecx
mov ebx, esi
add ebx, 4
mov edx, dword [esi]
lea eax, [ebp - 0x14]
call fcn.00083acc
lea eax, [ebp - 0x14]
call fcn.00083968
mov ecx, dword [esi]
mov edx, ebx
call fcn.00086a00
mov eax, dword [ebp - 0xc]
call fcn.000c5160
test al, al
je 0xc52b9
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea ecx, [ebp - 0x1c]
mov edx, 0xc5384
mov eax, 0xc5390
call fcn.000c681c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00083cc8
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
call fcn.00083968
mov ecx, eax
mov edx, dword [ebp - 4]
pop eax
call fcn.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc5318
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.00083968
push eax
lea eax, [ebp - 0x20]
call fcn.000c5c80
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
pop ecx
call fcn.000bc518
mov ebx, eax
jmp 0xc5318
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x28]
mov edx, 0xc5384
mov eax, 0xc5390
call fcn.000c681c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00083cc8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.000bc518
mov ebx, eax
test ebx, ebx
jne 0xc5318
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
call fcn.000c5c80
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.000bc518
mov ebx, eax
test ebx, ebx
je 0xc531f
mov dword [ebp - 0x10], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc5371
lea eax, [ebp - 0x2c]
call fcn.00083b48
lea eax, [ebp - 0x28]
call fcn.00083578
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00083b60
lea eax, [ebp - 0x1c]
call fcn.00083578
lea eax, [ebp - 0x18]
call fcn.00083b48
lea eax, [ebp - 0x14]
call fcn.00083578
lea eax, [ebp - 4]
call fcn.00083b48
ret
Function at 0xc5900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0xc59db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00083578
test esi, esi
je 0xc5952
mov eax, esi
and eax, 0xf
cdq
xor eax, edx
sub eax, edx
mov dl, byte [eax + 0xdb7d8]
lea eax, [ebp - 4]
call fcn.00083720
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov eax, ebx
call fcn.000837e4
shr esi, 4
test esi, esi
jne 0xc5927
cmp dword [ebx], 0
jne 0xc5974
jmp 0xc5967
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc59f0
call fcn.000837e4
mov eax, dword [ebx]
call fcn.00083798
cmp edi, eax
jg 0xc5959
jmp 0xc59c5
mov eax, dword [ebx]
call fcn.00083798
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x2d
jne 0xc59ba
mov eax, dword [ebx]
call fcn.00083798
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.000839e0
mov edx, ebx
mov ecx, 1
mov eax, 0xc59fc
call fcn.00083a28
jmp 0xc59ba
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0xc59f0
call fcn.000837e4
mov eax, dword [ebx]
call fcn.00083798
cmp edi, eax
jg 0xc59ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc59e2
lea eax, [ebp - 4]
call fcn.00083578
ret
Function at 0xce14c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0xce1f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00083b48
call fcn.000c6b20
mov edx, eax
cmp word [edx], 0x5a4d
jne 0xce1a7
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0xce1a7
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
mov esi, dword [edx + 0x50]
add esi, eax
add esi, 4
add esi, dword [ecx]
lea eax, [ebp - 4]
mov edx, esi
call fcn.00083c70
mov eax, dword [ebp - 4]
call fcn.00083ce8
cmp eax, 0xa
jge 0xce1ce
call fcn.000866bc
mov edx, eax
lea eax, [ebp - 8]
call fcn.00083c70
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.000c5744
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.000c5744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xce1fa
lea eax, [ebp - 8]
mov edx, 2
call fcn.00083b60
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x1ea3286c
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x1a9f3a58
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x401194
cmp word [eax], bx
je 0x401194
cmp edi, ebx
je 0x401194
cmp word [edi], bx
je 0x401194
push 0x2000
mov dword [ebp - 0x20], ebx
call fcn.0041ad8c
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401194
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [ebp - 0x38], vtable.CWininetFile.0
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [0x430208]
test eax, eax
je 0x4010d8
push edi
call dword [0x43011c]
test eax, eax
jne 0x4010d8
push 0x80
push edi
call dword [0x430118]
push edi
call dword [0x43011c]
push ebx
push 0x20
push 2
push ebx
push 2
push 0x40000000
push edi
call dword [0x430114]
mov edi, eax
cmp edi, 0xffffffff
je 0x40116e
mov eax, dword [ebp + 8]
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.00401230
test eax, eax
je 0x401167
lea ecx, [ebp - 0x14]
push ecx
push 0x2000
push esi
lea ecx, [ebp - 0x38]
call fcn.00401420
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x401159
lea ecx, [ecx]
add dword [ebp - 0x18], eax
push ebx
lea edx, [ebp - 0x1c]
push edx
push eax
push esi
push edi
call dword [0x430110]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jne 0x401167
push ebx
call dword [0x43010c]
lea ecx, [ebp - 0x14]
push ecx
push 0x2000
push esi
lea ecx, [ebp - 0x38]
call fcn.00401420
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x401120
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp eax, dword [ebp - 0x28]
sete dl
mov dword [ebp - 0x20], edx
push edi
call dword [0x430108]
push esi
call main
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00401200
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401230
Capabilities:
Check http status code
Check internet connectivity via wininet
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x437ad0
push 0x41da30
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x43b050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edx, ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], ecx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x60], ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], 4
cmp eax, ecx
jne 0x4012b2
xor eax, eax
jmp 0x401402
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], ebx
push 0
lea eax, [ebp - 0x60]
push eax
call dword [0x43026c]
test byte [ebp - 0x60], 0x20
je 0x4012dc
mov dword [ebp - 4], 0xfffffffe
jmp 0x4013f3
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x401308
mov eax, edx
lea ebx, [eax + 2]
jmp 0x4012f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4012f0
sub eax, ebx
sar eax, 1
je 0x401308
mov esi, 3
mov edi, edx
push 0
push 0
push edi
push esi
push str.Mozilla_5.0__compatible__MSIE_8.0__Windows_NT_6.1__QQPCMgr7.0_
call dword [0x430270]
mov ebx, eax
mov dword [ebp - 0x48], ebx
test ebx, ebx
je 0x4012d0
push 0
push 0x84000100
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push ebx
call dword [0x430274]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x4013d0
xor eax, eax
mov word [ebp - 0x274], ax
push 0x208
push eax
lea ecx, [ebp - 0x272]
push ecx
call fcn.0041ce00
add esp, 0xc
mov dword [ebp - 0x68], 0x208
push 0
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x274]
push eax
push 0x2f
push esi
mov edi, dword [0x430278]
call edi
mov dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x20000013
push esi
call edi
test eax, eax
je 0x4013d0
cmp dword [ebp - 0x5c], 0xc8
jne 0x4013d0
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0x20000005
push esi
call edi
test eax, eax
je 0x4013c9
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x10], edx
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x4013f6
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x54]
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret 8
Function at 0x4015f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ecab
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00401ab0
test eax, eax
je 0x401818
push 0x4324d0
call fcn.00407210
add esp, 4
test eax, eax
jne 0x401686
lea eax, [ebp - 0x124]
push eax
call dword [0x430098]
movzx esi, word [ebp - 0x124]
movzx ecx, word [ebp - 0x122]
imul esi, esi, 0x64
movzx edx, word [ebp - 0x11e]
add esi, ecx
imul esi, esi, 0x64
push str.Udte
add esi, edx
call fcn.00407210
xor ecx, ecx
add esp, 4
cmp eax, esi
setne cl
xor esi, esi
mov eax, ecx
cmp eax, esi
je 0x4016ad
jmp 0x401688
xor esi, esi
cmp dword [0x43e580], esi
ja 0x4016ad
push 0x43e580
push esi
push 0x2710
push 0x416eb0
push esi
push esi
call dword [0x4300a0]
mov dword [0x43e57c], eax
push esi
push 0x2710
push 1
push esi
call dword [0x43022c]
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], esi
lea edx, [ebp - 0x128]
push edx
mov ecx, str.SpesmarlIlnclzs
mov dword [ebp - 4], esi
call fcn.00409b90
mov ebx, dword [eax]
add esp, 4
push 0x80000001
lea eax, [ebp - 0x120]
push eax
mov eax, 0x20019
call fcn.004044b0
test eax, eax
mov eax, dword [ebp - 0x128]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x120]
test bl, bl
mov ebx, dword [0x430040]
je 0x401799
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x130]
push eax
xor esi, esi
push esi
push str.DelayMinutes
push edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], 4
call dword [0x430038]
cmp edi, esi
je 0x401777
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x120], edi
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], esi
cmp eax, 3
jbe 0x401799
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov dword [0x43e614], ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.00402820
mov eax, dword [eax]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
mov eax, dword [ebp - 0x12c]
setne cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4017d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x40180c
push 0x103
lea ecx, [ebp - 0x113]
push esi
push ecx
mov byte [ebp - 0x114], 0
call fcn.0041ce00
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0040c950
test eax, eax
je 0x40180c
mov dword [0x43e614], 0xf
test edi, edi
je 0x401813
push edi
call ebx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
Function at 0x402130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42df38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403300
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x40218d
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.00403ef0
mov edx, dword [ebp - 0x10]
mov eax, edx
cmp dword [edx - 8], esi
jge 0x40219e
push 0x80070057
call fcn.00401560
mov dword [edx - 0xc], esi
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push 0x5c
push eax
mov word [edx + 0x208], cx
call fcn.0041b048
mov esi, eax
add esp, 8
test esi, esi
jne 0x4021f7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x43e5a8]
lea edi, [ebp - 0x14]
call fcn.00411b20
mov ecx, dword [eax]
lea edx, [esi + 2]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x402210
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402240
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0041b407
add esp, 8
test eax, eax
js 0x402194
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x402194
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x10]
push eax
call dword [0x430208]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret