joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4865c4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x4866e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
xor eax, eax
call fcn.0048648c
pop ecx
test al, al
je 0x4866bc
mov eax, dword [ebp + 8]
push eax
call fcn.004862d0
pop ecx
test al, al
jne 0x4866bc
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4866bc
mov eax, dword [ebp + 8]
push eax
mov eax, 0x13
call fcn.00486310
pop ecx
test al, al
je 0x4866bc
lea eax, [ebp - 4]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404a48
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.0040912c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x188]
cmp esi, 0xc8
je 0x486687
mov eax, dword [ebp + 8]
cmp esi, 0xce
jne 0x4866bc
mov eax, dword [ebp + 8]
push eax
mov eax, 5
call fcn.00486310
pop ecx
test al, al
je 0x4866bc
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
add edx, 0xffffeffc
mov ecx, 0x1000
call fcn.00404a48
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040912c
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.004862d0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4866e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404804
ret
Function at 0x48b928
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48ba7d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x49cdcc]
call fcn.00404c90
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x48b9f0
mov dl, 1
mov eax, dword [0x414630]
call fcn.004039c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48b9e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x48ba8c
mov edx, 0x48ba8c
mov eax, dword [0x49c718]
call fcn.004843c0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00418938
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b9e7
mov eax, dword [ebp - 0x10]
call fcn.004039f0
ret
push 1
push dword [0x49cdcc]
push 0x48ba9c
lea edx, [ebp - 0x1c]
mov eax, dword [0x49b4b8]
mov eax, dword [eax]
call fcn.0045ffcc
push dword [ebp - 0x1c]
push 0x48baa8
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404b58
mov eax, dword [ebp - 0x18]
call fcn.00404c90
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x264], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1fa], 0
je 0x48ba5d
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1fc]
call dword [ebx + 0x1f8]
jmp 0x48ba62
call fcn.00484450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba84
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404804
ret

Function at 0x48bb50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x48bc3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x49b4b8]
mov eax, dword [eax]
call fcn.0045ffcc
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409510
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040ca50
lea eax, [ebp - 0x144]
mov edx, 0x48bc50
call fcn.00404aa0
mov eax, dword [ebp - 0x144]
call fcn.00404c90
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48bc1d
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404a48
mov eax, dword [ebp - 0x150]
call fcn.00409478
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x48bbe5
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bc42
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00404804
ret
Function at 0x49778c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], edx
mov ebx, eax
mov esi, 0x49cdd0
lea edi, [ebp - 0x100]
xor eax, eax
push ebp
push 0x497960
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x497921
push pe_nt_image_headers32
push edi
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x104]
mov edx, edi
mov ecx, pe_nt_image_headers32
call fcn.00404a48
mov eax, dword [ebp - 0x104]
mov edx, 0x497978
call fcn.00404bdc
jne 0x4978a2
mov eax, dword [esi]
cmp dword [eax + 0xc], 0x301b
je 0x497860
lea edx, [ebp - 0x108]
mov eax, dword [esi]
mov eax, dword [eax + 0x444]
call fcn.0043fae0
lea eax, [ebp - 0x108]
mov edx, dword [0x49cdd8]
call fcn.00404aa0
mov eax, dword [ebp - 0x108]
call fcn.00404c90
push eax
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
jmp 0x497889
lea edx, [ebp - 0x10c]
mov eax, dword [esi]
mov eax, dword [eax + 0x444]
call fcn.0043fae0
mov eax, dword [ebp - 0x10c]
call fcn.00404c90
push eax
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
mov eax, 0x3e8
call fcn.0048c928
push 0
push 0xd
push 0x290
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x110]
mov edx, edi
mov ecx, pe_nt_image_headers32
call fcn.00404a48
mov eax, dword [ebp - 0x110]
mov edx, 0x497994
call fcn.00404bdc
jne 0x497908
lea edx, [ebp - 0x114]
mov eax, dword [esi]
mov eax, dword [eax + 0x418]
call fcn.0043fae0
mov eax, dword [ebp - 0x114]
call fcn.00404c90
push eax
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
mov eax, 0x3e8
call fcn.0048c928
push 0
push 0xd
push 0x290
push ebx
call sub.user32.dll_SendMessageA
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
mov eax, ebx
call fcn.0049778c
test ebx, ebx
jne 0x4977e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497967
lea eax, [ebp - 0x114]
call fcn.004047e0
lea eax, [ebp - 0x110]
call fcn.004047e0
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404804
lea eax, [ebp - 0x104]
call fcn.004047e0
ret
Function at 0x403680
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, ebp
je 0x40371f
mov eax, dword [esp + 0x20]
push ebp
push 0x80000000
push ebp
push ebp
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebp
je 0x403723
push ebp
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 5
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x403723
mov eax, dword [esp + 0x10]
add eax, 1
push eax
call fcn.004719b5
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x403723
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x403723
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov dword [eax], edi
mov dword [ecx], edx
mov ebp, 1
jmp 0x403723
mov esi, dword [esp + 0x18]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x408880
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
push esi
mov esi, dword [esp + 0xc]
cmp esi, dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x18]
push edi
movzx edi, word [eax + 6]
jae 0x4088a8
pop edi
mov eax, esi
pop esi
ret 8
xor edx, edx
test edi, edi
push ebx
jle 0x4088ca
nop
mov eax, dword [ecx + 0xc]
cmp esi, eax
jb 0x4088c0
mov ebx, dword [ecx + 8]
add ebx, eax
cmp esi, ebx
jb 0x4088d2
add edx, 1
add ecx, 0x28
cmp edx, edi
jl 0x4088b0
pop ebx
pop edi
xor eax, eax
pop esi
ret 8
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop ebx
pop edi
add eax, esi
pop esi
ret 8
Function at 0x408a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x118
mov eax, dword [0x4d9d94]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
mov ebp, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x124]
test esi, esi
mov dword [esp + 0x10], ecx
jne 0x408a93
xor eax, eax
jmp 0x408bba
mov eax, dword [esi + 0x3c]
add eax, esi
push ebx
push edi
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x14], eax
add edi, esi
xor eax, eax
cmp ebp, 0x10000
jae 0x408ad5
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
add ecx, eax
cmp ebp, ecx
jae 0x408b7f
cmp ebp, eax
jb 0x408b7f
mov edx, dword [edi + 0x1c]
sub ebp, eax
lea eax, [edx + ebp*4]
mov eax, dword [eax + esi]
jmp 0x408b4e
mov ecx, dword [edi + 0x20]
add ecx, esi
cmp dword [edi + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jbe 0x408bb8
jmp 0x408af4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx + edx*4]
add ecx, esi
mov edx, ebp
nop
mov bl, byte [edx]
cmp bl, byte [ecx]
jne 0x408b20
test bl, bl
je 0x408b1c
mov bl, byte [edx + 1]
cmp bl, byte [ecx + 1]
jne 0x408b20
add edx, 2
add ecx, 2
test bl, bl
jne 0x408b00
xor ecx, ecx
jmp 0x408b25
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x10]
je 0x408b3b
add ecx, 1
cmp ecx, dword [edi + 0x18]
mov dword [esp + 0x10], ecx
jb 0x408af0
jmp 0x408bb8
mov eax, dword [edi + 0x24]
lea edx, [eax + ecx*2]
movzx eax, word [edx + esi]
mov ecx, dword [edi + 0x1c]
lea edx, [ecx + eax*4]
mov eax, dword [edx + esi]
add eax, esi
test eax, eax
je 0x408bb8
cmp eax, edi
jb 0x408bb8
mov ecx, dword [esp + 0x14]
add ecx, edi
cmp eax, ecx
jae 0x408bb8
mov cl, byte [eax]
test cl, cl
mov edi, eax
je 0x408b7f
lea ebx, [ebx]
cmp cl, 0x2e
je 0x408b83
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408b70
xor eax, eax
jmp 0x408bb8
mov esi, edi
sub esi, eax
test esi, esi
jle 0x408b7f
push esi
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00472a90
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov byte [esp + esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x18]
add edi, 1
push edi
push eax
call fcn.00408a60
pop edi
pop ebx
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
xor ecx, esp
call fcn.00471784
add esp, 0x118
ret 8
Function at 0x40dbc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a33c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d9d94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0044348e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40dc00
push 0x80004005
call fcn.00403c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x1c], 0
jge 0x40dc3e
push 0x104
lea ecx, [esp + 0x14]
call fcn.00405930
mov esi, dword [esp + 0x10]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x40dc52
xor eax, eax
jmp 0x40dc68
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40dc57
sub eax, edx
js 0x40dcea
cmp eax, dword [esi - 8]
jg 0x40dcea
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x18]
mov byte [eax + esi], 0
call fcn.0040da70
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40dcac
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x40dcac
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x60], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00403c00
int3

Function at 0x411130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x411149
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x411184
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x411180
lea ebx, [ebx]
cmp esi, eax
jae 0x411184
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x411170
cmp esi, eax
jb 0x41118a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x411c20
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3738
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d9d94]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x411c75
push eax
push eax
push str.GetModule_Fail_ffmpeg
call fcn.004475b6
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0xc]
lea ecx, [esp + 0x17]
add esi, eax
call fcn.004347b0
push esi
lea ecx, [esp + 0x1b]
mov dword [esp + 0x2c], 0
call fcn.00434850
mov ebp, dword [esp + 0x34]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push ebp
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x411cea
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [esp + 0x18]
push edi
jne 0x411ce4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x28], 0xffffffff
jmp 0x411e20
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 1
push eax
call fcn.004348a6
mov ecx, dword [esp + 0x1c]
push ecx
mov edi, eax
push 0
push edi
call fcn.004720a0
mov edx, dword [ebx + 8]
or byte [ebx + 0x565210c4], al
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x27]
call fcn.00434800
test eax, eax
push 0
je 0x411d56
push 0
push str.Depack_fail
call fcn.004475b6
lea ecx, [esp + 0x17]
mov dword [esp + 0x28], 0xffffffff
call fcn.004347c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
push 0
jne 0x411da7
push 0
push str.Create_ffmpeg_Fail
call fcn.004475b6
lea ecx, [esp + 0x17]
mov dword [esp + 0x28], ebx
call fcn.004347c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edx
push edi
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x411e08
push eax
push eax
push str.WriteffmpegFile_Fail
call fcn.004475b6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x411de5
push edi
call fcn.004348ab
add esp, 4
lea ecx, [esp + 0x17]
mov dword [esp + 0x28], ebx
call fcn.004347c0
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x411e1c
push edi
call fcn.004348ab
add esp, 4
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x17]
call fcn.004347c0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x41fc20
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push esi
call dword [0x4df848]
fld qword [esp + 0x30]
mov ecx, dword [esp + 0xc]
fld qword [esp + 0x28]
add esp, 8
cmp byte [ecx], 0
je 0x41fc54
fstp st(2)
mov eax, str.Expected_number_for__s_but_found:__s_n
jmp 0x41fcd4
fcom st(2)
fnstsw ax
test ah, 0x41
je 0x41fcc9
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x41fccd
mov eax, dword [esp + 0x1c]
cmp eax, 0x400
jne 0x41fc98
fld st(0)
call fcn.00476db6
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
fild qword [esp + 8]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x41fcc0
fstp st(0)
mov eax, str.Expected_int64_for__s_but_found__s_n
jmp 0x41fcd4
cmp eax, 0x80
jne 0x41fcc0
fld st(0)
call fcn.00476d80
mov dword [esp + 8], eax
fild dword [esp + 8]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x41fcc0
fstp st(0)
mov eax, str.Expected_int_for__s_but_found__s_n
jmp 0x41fcd4
fstp st(1)
pop esi
fstp st(1)
add esp, 0xc
ret
fstp st(2)
jmp 0x41fccf
fstp st(0)
mov eax, str.The_value_for__s_was__s_which_is_not_within__f____f_n
mov edx, dword [esp + 0x14]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
push esi
push edx
push eax
push 8
push 0
invalid
invalid
pushal
invalid

Function at 0x41fd00
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
push esi
lea eax, [esp + 0xc]
push edi
push eax
call dword [0x4df884]
add esp, 0xc
test eax, eax
jge 0x41fd4f
test esi, esi
mov eax, str.duration
jne 0x41fd2f
mov eax, str.date
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
push str.Invalid__s_specification_for__s:__s_n
push 8
push 0
invalid
invalid
pushal

Function at 0x4223a0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x7fffffff
push ebx
mov ebx, dword [esp + 0xc]
cdq
idiv ebx
push edi
mov edi, dword [esp + 0x18]
cmp edi, eax
jl 0x4223cf
push str.Array_too_big._n
push 0x10
push 0
call dword [0x4df760]
add esp, 0xc
push 1
call fcn.00476cf0
push ebp
mov ebp, dword [esp + 0x18]
cmp dword [ebp], edi
jge 0x422431
mov ecx, dword [esp + 0x10]
mov eax, ebx
imul eax, edi
push esi
push eax
push ecx
call dword [0x4df824]
mov esi, eax
add esp, 8
test esi, esi
jne 0x42240c
push str.Could_not_alloc_buffer._n
push 0x10
push eax
call dword [0x4df760]
add esp, 0xc
push 1
call fcn.00476cf0
mov eax, dword [ebp]
mov edx, edi
sub edx, eax
imul eax, ebx
imul edx, ebx
push edx
add eax, esi
push 0
push eax
call fcn.004720a0
add esp, 0xc
mov eax, esi
pop esi
mov dword [ebp], edi
pop ebp
pop edi
pop ebx
ret
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop ebx
ret
Function at 0x4252e0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x4d9d94]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x1bbfe8]
lea eax, [eax + eax*2]
shl eax, 4
cmp dword [eax + esi + 0x1bbf34], 0
push edi
lea edi, [eax + esi + 0x1bbf20]
je 0x425326
call fcn.00403e30
mov ecx, dword [edi + 0x14]
mov edx, dword [eax + 0x44]
push ecx
call edx
add esp, 4
push 0
call fcn.00424ea0
call fcn.00403e30
mov ecx, dword [0x4dcc84]
mov edx, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push 0x32315659
push edx
mov edx, dword [eax + 0x48]
push ecx
call edx
add esp, 0x14
test eax, eax
mov dword [edi + 0x14], eax
je 0x4253b4
mov eax, dword [eax + 0x10]
movzx ecx, word [eax]
cmp ecx, dword [edi + 0x18]
jl 0x4253b4
call fcn.00403e30
mov edx, dword [esi + 0x1bbfec]
mov eax, dword [eax + 0x24]
push edx
call eax
mov dword [edi + 0x28], 1
call fcn.00403e30
mov ecx, dword [esi + 0x1bbff0]
mov edx, dword [eax + 0x28]
push ecx
call edx
call fcn.00403e30
mov ecx, dword [esi + 0x1bbfec]
mov edx, dword [eax + 0x2c]
push ecx
call edx
mov ecx, dword [esp + 0x114]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00471784
add esp, 0x104
ret
push 0xfe
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.004720a0
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4afa50
push eax
call fcn.00471f0c
add esp, 0x1c
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call fcn.004475b6
mov eax, esi
jmp 0x424e20

Function at 0x4252f4
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x4d9d94]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x1bbfe8]
lea eax, [eax + eax*2]
shl eax, 4
cmp dword [eax + esi + 0x1bbf34], 0
push edi
lea edi, [eax + esi + 0x1bbf20]
je 0x425326
call fcn.00403e30
mov ecx, dword [edi + 0x14]
mov edx, dword [eax + 0x44]
push ecx
call edx
add esp, 4
push 0
call fcn.00424ea0
call fcn.00403e30
mov ecx, dword [0x4dcc84]
mov edx, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x18]
push 0x32315659
push edx
mov edx, dword [eax + 0x48]
push ecx
call edx
add esp, 0x14
test eax, eax
mov dword [edi + 0x14], eax
je 0x4253b4
mov eax, dword [eax + 0x10]
movzx ecx, word [eax]
cmp ecx, dword [edi + 0x18]
jl 0x4253b4
call fcn.00403e30
mov edx, dword [esi + 0x1bbfec]
mov eax, dword [eax + 0x24]
push edx
call eax
mov dword [edi + 0x28], 1
call fcn.00403e30
mov ecx, dword [esi + 0x1bbff0]
mov edx, dword [eax + 0x28]
push ecx
call edx
call fcn.00403e30
mov ecx, dword [esi + 0x1bbfec]
mov edx, dword [eax + 0x2c]
push ecx
call edx
mov ecx, dword [esp + 0x114]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00471784
add esp, 0x104
ret
push 0xfe
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.004720a0
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4afa50
push eax
call fcn.00471f0c
add esp, 0x1c
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call fcn.004475b6
mov eax, esi
jmp 0x424e20