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

Disassembly:
push 0xffffffffffffffff
push 0x491db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor ebp, ebp
mov dword [esi], ebp
mov dword [esi + 4], ebp
cmp dword [0x4a934c], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x433c06
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
push 0x20000
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], ebp
call fcn.004762c0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
mov byte [edx], 0x2f
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push esi
call fcn.004335b0
add esp, 0x10
test eax, eax
je 0x433bd5
mov eax, dword [esp + 0x10]
add eax, 1
push eax
call fcn.00433750
add esp, 4
test eax, eax
je 0x433bd5
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
add edx, 1
push ebp
push edx
call fcn.00444a30
add esp, 0xc
test eax, eax
je 0x433bd5
test byte [esp + 0x1c], 0x10
jne 0x433bd5
mov eax, dword [esp + 0x10]
add eax, 1
push ebp
push eax
call fcn.00444a80
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x433bd5
mov eax, dword [esp + 0x14]
mov ecx, eax
or ecx, dword [esp + 0x18]
je 0x433b46
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x433b46
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x433b46
push str.451_Transfer_aborted:_rest_error._r_n
push esi
call fcn.00433320
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433be3
push esi
call fcn.00433470
add esp, 4
test eax, eax
je 0x433bcc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea eax, [esp + 0x58]
push eax
push ecx
push edx
push edi
call ebx
test eax, eax
je 0x433ba6
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x433bb4
mov ecx, dword [esi + 0x39]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00446540
add esp, 0xc
test eax, eax
je 0x433bad
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebp
lea edx, [esp + 0x58]
push edx
push eax
push ecx
push edi
call ebx
test eax, eax
jne 0x433b71
push str.451_Transfer_aborted:_read_error._r_n
jmp 0x433bb9
push str.426_Connection_closed__transfer_aborted._r_n
jmp 0x433bb9
push str.226_Transfer_complete._r_n
push esi
call fcn.00433320
add esp, 8
push esi
call fcn.00433590
add esp, 4
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433be3
push str.550_File_not_found._r_n
push esi
call fcn.00433320
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
call fcn.00476730
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push str.550_File_not_found._r_n
push esi
call fcn.00433320
mov ecx, dword [esp + 0x44]
add esp, 8
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x435850
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
cmp dword [0x4a9338], 0
je 0x4358fe
mov eax, dword [0x4aa45c]
cmp eax, dword [0x4a9340]
jne 0x4358d3
mov ecx, dword [0x4a932c]
mov edx, dword [0x4aa56c]
push ecx
push edx
call fcn.00402f60
add esp, 8
test eax, eax
jne 0x4358d3
mov eax, dword [0x4a9330]
mov ecx, dword [0x4aa14c]
push eax
push ecx
call fcn.00402f60
add esp, 8
test eax, eax
jne 0x4358d3
mov edx, dword [0x4a9344]
mov eax, dword [0x4aa4e8]
push edx
push eax
call fcn.00402f60
add esp, 8
test eax, eax
jne 0x4358d3
mov ecx, dword [0x4aa54c]
cmp ecx, dword [0x4a9348]
jne 0x4358d3
movsx edx, byte [0x4aa515]
cmp edx, dword [0x4a934c]
je 0x4358fe
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 4]
push 0x24
push ecx
push edx
push eax
call fcn.004452d0
add esp, 0x10
cmp eax, 6
jne 0x4358fe
call fcn.004348d0
jmp fcn.00435590
ret
Function at 0x436cb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x491e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x78]
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 2
call fcn.00476850
mov esi, dword [esp + 0x7c]
cmp esi, ebx
je 0x436d0e
push esi
lea ecx, [esp + 0x18]
call fcn.00476850
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x10]
call fcn.00476850
push 0x3c
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00484170
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
neg esi
sbb esi, esi
and esi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x436de1
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecuteExW__:_GetLastError__:__d:_failed_to_execute__s_n
push str.mu::ShellExecuteExUTF8
push 0x32a
push str.d:deveverything_srcmu.h
call fcn.00430960
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
call fcn.00476730
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], bl
call fcn.00476730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
call fcn.00476730
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], bl
call fcn.00476730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x436e30
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.004847d0
mov eax, dword [esp + 0x1004]
push ebx
mov ebx, dword [esp + 0x1010]
push ebp
mov ebp, dword [esp + 0x1010]
push esi
push edi
push ebx
push ebp
push eax
push str._s__d_:__s__:_Fatal_error:
lea ecx, [esp + 0x20]
push 0x1000
push ecx
call fcn.0044e7a0
lea edx, [esp + 0x1038]
push edx
mov ecx, 0x1000
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x30]
push edx
call fcn.0044e1e0
add esp, 0x24
cmp byte [esp + 0x10], 0
lea eax, [esp + 0x10]
je 0x436e9a
add eax, 1
cmp byte [eax], 0
jne 0x436e92
lea ecx, [esp + 0x10]
sub eax, ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x436f01
push esi
mov edx, 0x1000
push str._nLast_Windows_Error__u:
sub edx, edi
push edx
lea eax, [esp + edi + 0x1c]
push eax
call fcn.0044e7a0
add esp, 0x10
cmp byte [esp + 0x10], 0
lea eax, [esp + 0x10]
je 0x436edc
add eax, 1
cmp byte [eax], 0
jne 0x436ed4
push 0
lea ecx, [esp + 0x14]
sub eax, ecx
mov edx, 0x1000
sub edx, eax
push edx
lea eax, [esp + eax + 0x18]
push eax
push 0
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0x1014]
lea ecx, [esp + 0x1020]
push ecx
push ebx
push ebp
push edx
call fcn.004308d0
push 0x494898
push str.everything_fatal2
push 0x3b
push str.._srceverything.cpp
call fcn.00430960
push 0x1010
push str.Everything_fatal_error
lea eax, [esp + 0x38]
push eax
push 0
call fcn.004452d0
add esp, 0x30
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
je 0x436f5e
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x436f70
Capabilities:
Accept command line arguments

Disassembly:
mov ecx, dword [0x4a9360]
sub esp, 0x18
test ecx, ecx
push ebp
push esi
je 0x436fb6
mov eax, ecx
cmp byte [eax], 0
je 0x436f8e
add eax, 1
cmp byte [eax], 0
jne 0x436f86
push 0
sub eax, ecx
push 1
push eax
push ecx
call fcn.004766d0
add esp, 0x10
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowW]
push esi
mov ebp, eax
call fcn.00441a60
add esp, 4
jmp 0x436fc5
push 0
push str.EVERYTHING_TASKBAR_NOTIFICATION
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, eax
test ebp, ebp
je 0x43708a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp word [eax], 0
mov ecx, eax
je 0x436fe9
jmp 0x436fe0
add ecx, 2
cmp word [ecx], 0
jne 0x436fe0
push edi
lea edx, [esp + 0xc]
push edx
sub ecx, eax
push 0
sar ecx, 1
push ecx
push eax
call fcn.00475360
add esp, 0x10
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00445340
mov edx, dword [esp + 0x10]
add edx, 5
push edx
call fcn.00441a20
mov esi, eax
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esi + 4]
push edi
push edx
call fcn.00483810
mov eax, dword [esp + 0x20]
add esp, 0x14
lea edx, [esp + 0x14]
push edx
push 0xbb8
mov byte [esi + eax + 4], 0
mov ecx, dword [esp + 0x14]
push 2
lea eax, [esp + 0x24]
push eax
push 0
push 0x4a
add ecx, 5
push ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
call fcn.00441a60
push edi
call fcn.00441a60
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x438a90
Capabilities:
Create thread

Disassembly:
push ecx
push 0x4a938c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4a93ac], 0
jne 0x438b1f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x4a93ac], eax
jne 0x438ad5
push str.Assertion_failed
push str.file_info_cache::start
push 0x22
push str.._src_file_info_cache.cpp
call fcn.00436e30
add esp, 0x10
lea eax, [esp]
push eax
push 0
push 0
push 0x438890
push 0
push 0
mov dword [0x4a9384], 0
call fcn.004840b5
add esp, 0x18
test eax, eax
mov dword [0x4a9388], eax
jne 0x438b1a
push str.Assertion_failed
push str.file_info_cache::start
push 0x26
push str.._src_file_info_cache.cpp
call fcn.00436e30
add esp, 0x10
call fcn.00438270
push 0x4a938c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ecx
ret
Function at 0x43b940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
mov ecx, dword [0x4a9354]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
movzx eax, bp
push 0x496fd0
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x43ba57
mov edx, dword [0x4a9354]
push edi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jle 0x43ba3f
mov eax, dword [0x4a9354]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x43ba28
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x43ba15
mov esi, dword [esp + 0x20]
mov eax, edi
cdq
push 1
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
push edx
push eax
push esi
call fcn.0043ac30
movzx ecx, byte [esi + 7]
movzx edx, byte [esi + 6]
movzx eax, byte [esi + 5]
push ebp
push ecx
movzx ecx, byte [esi + 4]
push edx
push eax
push ecx
push str.__d._d._d._d__Sending_resource__d_n
push 0
call fcn.0043b700
mov edx, dword [esi]
push edi
push ebx
push edx
call fcn.00446540
mov esi, dword [esp + 0x60]
add esp, 0x3c
test eax, eax
je 0x43ba15
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
push str.unable_to_loadresource_n
call fcn.00430350
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
push edi
push str.bad_resource_size__d_n
call fcn.00430350
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
push ebp
push str.resource__d_not_found_n
call fcn.00430350
add esp, 8
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x43c510
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x1a4
push edi
call fcn.0043c400
cmp dword [0x4a9414], 0
mov edi, 1
jne 0x43c561
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x43c55b
push str.WSAStartup_failed._n
push edi
call fcn.0043b700
add esp, 8
call fcn.0043c400
xor eax, eax
pop edi
add esp, 0x1a4
ret
mov dword [0x4a9414], edi
mov ecx, dword [0x4aa588]
push ecx
call fcn.0044dba0
mov edx, dword [0x4aa528]
push edx
mov dword [0x4a9428], eax
call fcn.0044dba0
mov edx, dword [0x4a9428]
mov ecx, edx
add esp, 8
mov dword [0x4a942c], eax
cmp byte [ecx], 0
je 0x43c59a
add ecx, edi
cmp byte [ecx], 0
jne 0x43c593
sub ecx, edx
jne 0x43c5ba
mov ecx, eax
cmp byte [ecx], 0
je 0x43c5ac
add ecx, edi
cmp byte [ecx], 0
jne 0x43c5a5
sub ecx, eax
mov dword [0x4a9430], 0
je 0x43c5c0
mov dword [0x4a9430], edi
push 6
push edi
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x4a618c], eax
jne 0x43c5f2
push str.socket_failed._n
push edi
call fcn.0043b700
add esp, 8
call fcn.0043c400
xor eax, eax
pop edi
add esp, 0x1a4
ret
movzx eax, word [0x4aa558]
push eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x4a618c]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edx
mov word [esp + 0x16], ax
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x43c672
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2740
jne 0x43c651
push 0x30
push str.Failed_to_start_HTTP_server
push str.HTTP_Port_in_use.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call esi
push eax
push str.bind_failed__d._n
push edi
call fcn.0043b700
add esp, 0xc
call fcn.0043c400
pop esi
xor eax, eax
pop edi
add esp, 0x1a4
ret
mov eax, dword [0x4a618c]
push bind
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x43c692
push str.listen_failed._n
jmp 0x43c5da
mov edx, dword [0x4a618c]
push 4
lea ecx, [esp + 8]
push ecx
push edi
push 0xffff
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.WS2_32.dll_setsockopt]
movsx ecx, byte [0x4aa52c]
mov eax, dword [0x4aa558]
mov dword [0x4a941c], edi
mov dword [0x4a9424], eax
mov dword [0x4a6190], ecx
call fcn.004392e0
cmp dword [0x4a9420], 0
jne 0x43c6e6
call fcn.0042cd90
mov dword [0x4a9420], edi
push str.HTTP_server_online._n
push 0
call fcn.0043b700
add esp, 8
mov eax, edi
pop edi
add esp, 0x1a4
ret
Function at 0x43c700
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
cmp dword [0x4a941c], 0
je 0x43c78d
mov eax, dword [0x4aa558]
cmp eax, dword [0x4a9424]
jne 0x43c75c
movsx ecx, byte [0x4aa52c]
cmp ecx, dword [0x4a6190]
jne 0x43c75c
mov edx, dword [0x4a942c]
mov eax, dword [0x4aa528]
push edx
push eax
call fcn.00402f60
add esp, 8
test eax, eax
jne 0x43c75c
mov ecx, dword [0x4a9428]
mov edx, dword [0x4aa588]
push ecx
push edx
call fcn.00402f60
add esp, 8
test eax, eax
je 0x43c78d
mov eax, dword [0x4aa7bc]
mov ecx, dword [eax + 0x1b4]
mov edx, dword [eax + 0x1b0]
mov eax, dword [esp + 4]
push 0x24
push ecx
push edx
push eax
call fcn.004452d0
add esp, 0x10
cmp eax, 6
jne 0x43c78d
call fcn.0043c400
jmp fcn.0043c510
ret

Function at 0x43cd10
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
push ebx
mov ebx, dword [esp + 0x16c]
lea eax, [ebx - 0x41]
cmp eax, 0x19
ja 0x43cd2b
sub ebx, 0x41
jmp 0x43cd36
lea ecx, [ebx - 0x61]
cmp ecx, 0x19
ja 0x43cdad
sub ebx, 0x61
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx*4 + 0x4a9438], 0xffffffff
jne 0x43cd93
push 0x4011
push 0x160
lea eax, [esp + 0x10]
push eax
mov dl, bl
push 0x10
lea ecx, [esp + 0x14]
add dl, 0x41
push ecx
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0x3a
mov byte [esp + 0x1a], 0x5c
mov byte [esp + 0x1b], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x43cd93
mov edx, dword [esp + 0xc]
mov dword [0x4a94ac], eax
mov dword [ebx*4 + 0x4a9438], edx
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx*4 + 0x4a9438]
pop ebx
add esp, 0x164
ret
or eax, 0xffffffff
pop ebx
add esp, 0x164
ret

Function at 0x43ce90
Capabilities:
Get file system object information

Disassembly:
cmp dword [esp + 8], 2
jne 0x43ceae
mov eax, dword [esp + 4]
cmp byte [eax + 1], 0x3a
jne 0x43ceae
movzx eax, byte [eax]
push eax
call fcn.0043cd10
add esp, 4
ret
jmp fcn.0043cdc0
Function at 0x43cec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x30]
cmp ebx, 4
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
jl 0x43cfa3
push 4
lea edi, [esi + ebx - 4]
push edi
push 4
push str..exe
call fcn.00403780
add esp, 0x10
test eax, eax
je 0x43cf8c
push 4
push edi
push 4
push str..ico
call fcn.00403780
add esp, 0x10
test eax, eax
je 0x43cf8c
push 4
push edi
push 4
push str..ani
call fcn.00403780
add esp, 0x10
test eax, eax
je 0x43cf8c
push 4
push edi
push 4
push str..cur
call fcn.00403780
add esp, 0x10
test eax, eax
je 0x43cf8c
push 4
push edi
push 4
push str..lnk
call fcn.00403780
add esp, 0x10
test eax, eax
je 0x43cf8c
push 4
push edi
push 4
push str..url
call fcn.00403780
add esp, 0x10
test eax, eax
jne 0x43cfa3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebx
push esi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00476540
jmp 0x43cff0
lea eax, [esi + ebx]
cmp eax, esi
jbe 0x43cfbc
lea ebx, [ebx]
sub eax, 1
cmp byte [eax], 0x2e
je 0x43cfe1
cmp eax, esi
ja 0x43cfb0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00476730
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
sub esi, eax
add esi, ebx
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.00476600
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0xc]
jne 0x43cfbc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
or edi, 0xffffffff
cmp eax, 4
jb 0x43d024
lea ebx, [ebx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x43d028
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x43d010
test eax, eax
je 0x43d084
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x43d077
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43d084
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x43d077
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43d084
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x43d077
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x43d084
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x43d084
test esi, esi
mov eax, 1
jg 0x43d086
mov eax, edi
jmp 0x43d086
xor eax, eax
test eax, eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0xc]
jne 0x43cfc8
call fcn.00476730
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x43d6b0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4a94e4], 0
jne 0x43d705
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4a94e4], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x43d490
push 0
push 0
mov dword [0x4a94d0], 0
call fcn.004840b5
add esp, 0x18
mov dword [0x4a94e0], eax
call fcn.0043d1c0
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ecx
ret
Function at 0x43d970
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
cmp edi, 4
jl 0x43da04
push 4
lea esi, [edi + ebp - 4]
push esi
push str..exe
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
push 4
push esi
push str..ico
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
push 4
push esi
push str..ani
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
push 4
push esi
push str..cur
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
push 4
push esi
push str..lnk
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
push 4
push esi
push str..url
call fcn.0044da00
add esp, 0xc
test eax, eax
je 0x43da2c
lea eax, [edi + ebp]
cmp eax, ebp
jbe 0x43daeb
nop
sub eax, 1
cmp byte [eax], 0x2e
je 0x43da24
cmp eax, ebp
ja 0x43da10
pop edi
pop esi
pop ebp
jmp fcn.0043ce20
sub ebp, eax
add ebp, edi
mov edi, ebp
mov ebp, eax
push ebx
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
push ebp
call fcn.0043c8f0
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x43daf3
call fcn.0043cc80
mov eax, dword [0x4a94d8]
lea edx, [edi + 0x1e]
lea ecx, [eax + edi + 0x1e]
push edx
mov dword [0x4a94d8], ecx
call fcn.00441a20
mov esi, eax
push edi
lea eax, [esi + 0x1d]
push ebp
push eax
call fcn.00483810
mov ecx, dword [esp + 0x24]
mov byte [esi + edi + 0x1d], bl
push esi
mov dword [esi + 0x14], edi
mov byte [esi + 0x18], bl
mov dword [esi + 0x19], ecx
call fcn.0043c9e0
push esi
call fcn.0043cc30
add esp, 0x18
cmp dword [0x4a94b4], ebx
je 0x43dab3
mov edx, dword [0x4a94a8]
mov dword [edx + 8], esi
mov eax, dword [0x4a94a8]
mov dword [esi + 0xc], eax
jmp 0x43dabc
mov dword [0x4a94b4], esi
mov dword [esi + 0xc], ebx
mov dword [0x4a94a8], esi
mov dword [esi + 8], ebx
cmp dword [0x4a94e4], ebx
jne 0x43dad2
call fcn.0043d6b0
mov ecx, dword [0x4a94e4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x4a94b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
jmp fcn.0043ce20
mov al, byte [esi + 0x18]
cmp al, 1
push 0x4a94b8
jne 0x43db11
mov byte [esi + 0x18], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
jmp fcn.0043ce20
cmp al, bl
jne 0x43db24
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
jmp fcn.0043ce20
cmp al, 3
jne 0x43db37
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
pop ebp
jmp fcn.0043ce20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret