joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bfd80
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f19c0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5bff27
mov ecx, dword [0x693ddc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x5bfe7c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.005beaa0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005ddf00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005dde13
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x690ec8
call fcn.005dde81
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.005bee60
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.005ddf00
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.005dde13
lea ecx, [esp + 0xc]
call fcn.005de2db
mov ecx, dword [esp + 0xc]
push 0x691904
push ecx
call fcn.005cb5a4
add esp, 8
test eax, eax
je 0x5bfea4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x5bfddd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.005dde13
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005dde13
jmp 0x5bff2b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005bfb20
test eax, eax
push 0
je 0x5bff0f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.005be1c0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5bfef5
cmp eax, 0x64
jg 0x5bfee3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5bfe80
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5bfe80
cmp eax, 0x64
jge 0x5bfe7c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x5bfe80
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.005be1c0
mov esi, eax
jmp 0x5bfe80
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x5bff35
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x5c80b0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x692254]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5c80c3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5c8104
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x6922fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5c8136
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5c813a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5c812b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5c8158
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5c815c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5c814d
xor ecx, ecx
mov eax, 0x692264
xor ebx, ebx
mov bl, byte [ecx + 0x69230c]
cmp byte [esp + ebx + 0x14], 0
je 0x5c8187
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x692324]
cmp byte [esp + ebx + 0x14], 0
je 0x5c819e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5c816e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5c80f7
lea edx, [esp + 0x84]
push edx
call fcn.005c81e0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5cd5f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5cd610
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005ccafa
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5cd633
test byte [esp + 8], 2
je 0x5cd633
call fcn.005ccb6d
mov dword [eax], 0xd
call fcn.005ccb76
mov dword [eax], 5
jmp 0x5cd60c
xor eax, eax
ret

Function at 0x5e021e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5e0256
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005de26e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005de246
jmp 0x5e0262
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5e1a1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5e1a5e
call fcn.005e8188
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5e1a5e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5e1a55
xor eax, eax
jmp 0x5e1a66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005e1a6c
pop edi
pop esi
pop ebx
ret 4

Function at 0x5e86b8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5e86e6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5e8704
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005e861e
jmp 0x5e8704
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5e8704
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005e861e
test edi, edi
mov eax, edi
jne 0x5e86ee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10012b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x100160d4]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
push edi
mov ebx, ecx
mov eax, dword [esp + 0x34]
lea ebp, [ebx + ebx + 2]
cmp ebp, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ebx
jge 0x4085ed
mov esi, dword [esp + 0x30]
mov eax, ebp
imul eax, eax, 0x1c
mov ecx, dword [eax + esi - 4]
mov edi, dword [eax + esi - 8]
add eax, esi
cmp ecx, 0x10
mov dword [esp + 0x10], edi
jb 0x40856a
mov ecx, dword [eax - 0x18]
mov dword [esp + 0x14], ecx
jmp 0x408571
lea edx, [eax - 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x14]
mov ecx, edx
cmp ecx, edx
jae 0x40857a
test edx, edx
je 0x4085b1
cmp edx, edi
mov ecx, edx
jb 0x408586
mov ecx, edi
cmp dword [eax + 0x18], 0x10
jb 0x408591
mov eax, dword [eax + 4]
jmp 0x408594
add eax, 4
mov edi, dword [esp + 0x14]
mov esi, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4085a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [esp + 0x30]
jne 0x4085be
mov edi, dword [esp + 0x10]
cmp edx, edi
jb 0x4085c0
xor eax, eax
cmp edx, edi
setne al
test eax, eax
jge 0x4085c1
dec ebp
mov eax, ebp
imul eax, eax, 0x1c
mov ecx, ebx
imul ecx, ecx, 0x1c
push 0xffffffffffffffff
add eax, esi
push 0
add ecx, esi
push eax
call fcn.00405f30
mov eax, dword [esp + 0x34]
mov ebx, ebp
lea ebp, [ebp + ebp + 2]
cmp ebp, eax
jl 0x408545
jmp 0x4085f1
mov esi, dword [esp + 0x30]
cmp ebp, eax
jne 0x408614
imul eax, eax, 0x1c
mov ecx, ebx
imul ecx, ecx, 0x1c
push 0xffffffffffffffff
lea eax, [eax + esi - 0x1c]
push 0
add ecx, esi
push eax
call fcn.00405f30
mov eax, dword [esp + 0x34]
lea ebx, [eax - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x5c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00405f30
mov eax, dword [esp + 0x34]
push eax
push ebx
push esi
call fcn.00408760
mov eax, dword [esp + 0x78]
add esp, 0x28
cmp eax, 0x10
jb 0x408662
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040919b
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x14]
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ae82
add esp, 0x1c
ret
Function at 0x41160b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x411639
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x411640
cmp ebx, dword [eax + 4]
jae 0x411640
xor eax, eax
jmp 0x411830
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x411651
xor eax, eax
inc eax
jmp 0x41182f
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x411667
cmp ecx, edx
jae 0x4117ac
cmp dword [eax + 4], 0
je 0x411670
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x411658
cmp dword [ebp + 8], 0
je 0x411692
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4117ac
cmp eax, esi
jae 0x4117ac
mov eax, dword [0x100170b0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4116b7
cmp dword [esi*4 + 0x100170b8], edi
je 0x4117b0
inc esi
cmp esi, eax
jl 0x4116a5
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x100130a4]
test eax, eax
je 0x41182c
cmp dword [ebp - 8], 0x1000000
jne 0x41182c
test byte [ebp - 0xc], 0xcc
je 0x411735
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41182c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41182c
cmp word [eax + 0x18], 0x10b
jne 0x41182c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41182c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x411735
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x411735
test byte [ecx + 0x27], 0x80
jne 0x4117ac
push 1
push 0x100170f8
call dword [0x10013010]
test eax, eax
jne 0x411649
mov ecx, dword [0x100170b0]
test ecx, ecx
mov edx, ecx
jle 0x411769
lea eax, [ecx*4 + 0x100170b4]
cmp dword [eax], edi
je 0x411769
dec edx
sub eax, 4
test edx, edx
jg 0x41175d
test edx, edx
jne 0x41179a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x411776
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41178e
lea eax, [edx*4 + 0x100170b8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41177c
cmp ecx, 0x10
jge 0x41179a
inc ecx
mov dword [0x100170b0], ecx
push 0
push 0x100170f8
call dword [0x10013010]
jmp 0x411649
xor eax, eax
jmp 0x41182f
test esi, esi
jle 0x411649
mov ebx, dword [0x10013010]
push 1
push 0x100170f8
call ebx
test eax, eax
jne 0x411649
cmp dword [esi*4 + 0x100170b8], edi
je 0x411806
mov eax, dword [0x100170b0]
lea esi, [eax - 1]
test esi, esi
jl 0x4117f4
cmp dword [esi*4 + 0x100170b8], edi
je 0x4117f0
dec esi
jns 0x4117e4
test esi, esi
jge 0x411804
cmp eax, 0x10
jge 0x4117ff
inc eax
mov dword [0x100170b0], eax
lea esi, [eax - 1]
jmp 0x411806
je 0x41181e
xor ecx, ecx
test esi, esi
jl 0x41181e
lea eax, [ecx*4 + 0x100170b8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41180c
push 0
push 0x100170f8
call ebx
jmp 0x411649
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42d9b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x42d9e3
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42d9ea
cmp ebx, dword [eax + 4]
jae 0x42d9ea
xor eax, eax
jmp 0x42dbda
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42d9fb
xor eax, eax
inc eax
jmp 0x42dbd9
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42da11
cmp ecx, edx
jae 0x42db56
cmp dword [eax + 4], 0
je 0x42da1a
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42da02
cmp dword [ebp + 8], 0
je 0x42da3c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42db56
cmp eax, esi
jae 0x42db56
mov eax, dword [0x1000fcd0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42da61
cmp dword [esi*4 + 0x1000fcd8], edi
je 0x42db5a
inc esi
cmp esi, eax
jl 0x42da4f
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x1000c0b0]
test eax, eax
je 0x42dbd6
cmp dword [ebp - 8], 0x1000000
jne 0x42dbd6
test byte [ebp - 0xc], 0xcc
je 0x42dadf
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42dbd6
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42dbd6
cmp word [eax + 0x18], 0x10b
jne 0x42dbd6
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42dbd6
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42dadf
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42dadf
test byte [ecx + 0x27], 0x80
jne 0x42db56
push 1
push 0x1000fd18
call dword [0x1000c080]
test eax, eax
jne 0x42d9f3
mov ecx, dword [0x1000fcd0]
test ecx, ecx
mov edx, ecx
jle 0x42db13
lea eax, [ecx*4 + 0x1000fcd4]
cmp dword [eax], edi
je 0x42db13
dec edx
sub eax, 4
test edx, edx
jg 0x42db07
test edx, edx
jne 0x42db44
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42db20
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x42db38
lea eax, [edx*4 + 0x1000fcd8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x42db26
cmp ecx, 0x10
jge 0x42db44
inc ecx
mov dword [0x1000fcd0], ecx
push 0
push 0x1000fd18
call dword [0x1000c080]
jmp 0x42d9f3
xor eax, eax
jmp 0x42dbd9
test esi, esi
jle 0x42d9f3
mov ebx, dword [0x1000c080]
push 1
push 0x1000fd18
call ebx
test eax, eax
jne 0x42d9f3
cmp dword [esi*4 + 0x1000fcd8], edi
je 0x42dbb0
mov eax, dword [0x1000fcd0]
lea esi, [eax - 1]
test esi, esi
jl 0x42db9e
cmp dword [esi*4 + 0x1000fcd8], edi
je 0x42db9a
dec esi
jns 0x42db8e
test esi, esi
jge 0x42dbae
cmp eax, 0x10
jge 0x42dba9
inc eax
mov dword [0x1000fcd0], eax
lea esi, [eax - 1]
jmp 0x42dbb0
je 0x42dbc8
xor ecx, ecx
test esi, esi
jl 0x42dbc8
lea eax, [ecx*4 + 0x1000fcd8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42dbb6
push 0
push 0x1000fd18
call ebx
jmp 0x42d9f3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d930
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ca91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd58
push ebx
push esi
push edi
mov esi, ecx
push 1
lea ecx, [esp + 0x14]
call fcn.0043c010
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
push ecx
xor ebx, ebx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0xd74], ebx
call fcn.0043c050
lea ecx, [esp + 0x2c]
call fcn.0043c5e0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xd70], 1
call fcn.0043c650
lea ecx, [esp + 0x10]
call fcn.0043c5c0
cmp eax, ebx
je 0x43d9f3
lea ecx, [esp + 0x10]
call fcn.0043c070
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd6c], bl
call fcn.0043c640
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.0043c040
mov eax, 0x80004005
mov ecx, dword [esp + 0xd64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x2c]
call fcn.0043c700
cmp eax, 5
jne 0x43da47
lea ecx, [esp + 0x40]
call fcn.00440470
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xd70], 2
call fcn.00440520
lea ecx, [esp + 0x10]
call fcn.0043c5c0
cmp eax, ebx
lea ecx, [esp + 0x10]
je 0x43da87
call fcn.0043c070
lea ecx, [esp + 0x40]
mov byte [esp + 0xd6c], 1
call fcn.004404c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd6c], bl
call fcn.0043c640
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.0043c040
mov eax, 0x80004005
mov ecx, dword [esp + 0xd64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0043c070
mov edx, dword [esp + 0x58]
xor eax, eax
mov ecx, 0x334
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x64]
push 0x3f
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x9c], ecx
call fcn.00441bc0
mov ecx, dword [esp + 0x74]
push 0x3f
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.00441bc0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
push 0x207
push ecx
lea edx, [esp + 0x138]
push edx
mov dword [esp + 0x138], eax
call fcn.00441b7b
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x550], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x54c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x55c], ecx
add esp, 0x24
mov dword [esp + 0x534], eax
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x534], edx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
lea ecx, [esp + 0x40]
mov esi, eax
mov byte [esp + 0xd6c], 1
call fcn.004404c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd6c], bl
call fcn.0043c640
lea ecx, [esp + 0x10]
mov dword [esp + 0xd6c], 0xffffffff
call fcn.0043c040
mov ecx, dword [esp + 0xd64]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43dbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000cab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov ebx, ecx
push 0
lea ecx, [esp + 0x30]
call fcn.0043c010
mov eax, dword [esp + 0x60]
push 0
push 0
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0
call fcn.0043c610
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 1
call fcn.0043c080
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043c650
lea ecx, [esp + 0xc]
call fcn.004401b0
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
mov dword [esp + 0x18], edx
call fcn.00440140
lea ecx, [esp + 0x2c]
call fcn.0043c090
mov ebp, eax
push ebp
call fcn.004409ee
mov esi, eax
add esp, 4
test esi, esi
jne 0x43dca2
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 1
call fcn.004401d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 0
call fcn.0043c640
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call fcn.0043c040
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 0x10
push edi
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
push ebp
rep stosb byte es:[edi], al
push esi
lea ecx, [esp + 0x38]
call fcn.0043c050
lea ecx, [esp + 0x30]
call fcn.0043c0a0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0043c650
lea ecx, [esp + 0x30]
call fcn.0043c5c0
test eax, eax
je 0x43dd36
push esi
call fcn.00441ce4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.004401d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.0043c640
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call fcn.0043c040
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 0x10
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.00440140
lea ecx, [esp + 0x30]
call fcn.0043c5c0
test eax, eax
jne 0x43dce6
lea ecx, [esp + 0x30]
call fcn.0043c070
mov eax, dword [esp + 0x60]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx]
or edi, 0xffffffff
push edi
push ebp
push esi
push eax
mov eax, dword [esp + 0x6c]
push 0
push eax
call dword [edx + 0x1c]
test eax, eax
push esi
je 0x43ddc4
call fcn.00441ce4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.004401d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.0043c640
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], edi
call fcn.0043c040
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 0x10
call fcn.00441ce4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call fcn.004401d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
call fcn.0043c640
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], edi
call fcn.0043c040
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x10
Function at 0x43fe00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000cd11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd30
push ebx
push esi
push edi
mov esi, ecx
push 1
lea ecx, [esp + 0x10]
call fcn.0043c010
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xd4c], 0
call fcn.0043c050
lea ecx, [esp + 0x28]
call fcn.0043c5e0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd48], 1
call fcn.0043c650
lea ecx, [esp + 0xc]
call fcn.0043c5c0
test eax, eax
je 0x43fe87
lea ecx, [esp + 0xc]
call fcn.0043c070
jmp 0x43fedb
lea ecx, [esp + 0x28]
call fcn.0043c700
cmp eax, 2
jne 0x43fedb
lea ecx, [esp + 0x3c]
call fcn.00440210
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xd48], 2
call fcn.00440270
lea ecx, [esp + 0xc]
call fcn.0043c5c0
test eax, eax
lea ecx, [esp + 0xc]
je 0x43ff1c
call fcn.0043c070
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd44], 1
call fcn.00440240
lea ecx, [esp + 0x28]
mov byte [esp + 0xd44], 0
call fcn.0043c640
lea ecx, [esp + 0xc]
mov dword [esp + 0xd44], 0xffffffff
call fcn.0043c040
mov eax, 0x80004005
mov ecx, dword [esp + 0xd3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0043c070
mov edx, dword [esp + 0x50]
xor eax, eax
mov ecx, 0x334
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
push 0x207
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x70], edx
call fcn.00441b7b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], edx
add esp, 0xc
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jge 0x43ffe5
mov eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0xc]
push eax
push 6
push 6
push ecx
mov ecx, esi
call fcn.0043dbc0
mov edi, eax
test edi, edi
jge 0x43ffe5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd44], 1
call fcn.00440240
lea ecx, [esp + 0x28]
mov byte [esp + 0xd44], 0
call fcn.0043c640
lea ecx, [esp + 0xc]
mov dword [esp + 0xd44], 0xffffffff
call fcn.0043c040
mov eax, edi
mov ecx, dword [esp + 0xd3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x48]
push edx
push eax
mov ecx, esi
call fcn.0043f7d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd44], 1
call fcn.00440240
lea ecx, [esp + 0x28]
mov byte [esp + 0xd44], 0
call fcn.0043c640
lea ecx, [esp + 0xc]
mov dword [esp + 0xd44], 0xffffffff
call fcn.0043c040
mov ecx, dword [esp + 0xd3c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4