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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jg 0x40c534
jl 0x40c52b
test edi, edi
jne 0x40c534
xor eax, eax
xor edx, edx
jmp 0x40c5f2
cmp dword [ecx + 0x38], 0
je 0x40c549
push esi
push edi
push dword [ebp + 8]
call fcn.0040d239
jmp 0x40c5f2
mov eax, dword [ecx + 0x1c]
push ebx
mov ebx, edi
mov edx, dword [eax]
test edx, edx
je 0x40c58d
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x40c58d
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push edx
push ebx
call fcn.006a09b0
mov ecx, dword [ebp - 4]
add ebx, esi
mov dword [ebp + 8], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
jmp 0x40c593
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
mov edx, ebx
je 0x40c5e8
call fcn.0040dd86
mov edx, ebx
jmp 0x40c5c6
push dword [ecx + 0x4c]
push eax
push 1
push dword [ebp + 8]
call fcn.006aa558
add dword [ebp + 8], eax
sub ebx, eax
add esp, 0x10
mov edx, ebx
cmp eax, 0xfff
jne 0x40c5f8
mov ecx, dword [ebp - 4]
mov eax, 0xfff
cmp ebx, eax
ja 0x40c5a4
test edx, edx
je 0x40c5e8
push dword [ecx + 0x4c]
push ebx
push 1
push dword [ebp + 8]
call fcn.006aa558
mov edx, ebx
add esp, 0x10
sub edx, eax
sub edi, edx
sbb esi, 0
mov eax, edi
mov edx, esi
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x40c5ea
Function at 0x4116c9
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41185f
mov edx, 0x10000000
cmp eax, 0x7c
je 0x41185f
cmp eax, 0x29
jne 0x411702
cmp dword [esi + 0x10], 0
jne 0x41185f
test dword [esi + 0x50], edx
je 0x411865
cmp eax, 0x2e
jne 0x41171d
push 5
lea ecx, [esi + 0x24]
call fcn.0041193f
mov ecx, esi
call fcn.004116a1
jmp 0x411849
cmp eax, 0x5c
jne 0x41176f
mov ecx, esi
call fcn.004116a1
test byte [esi + 0x50], 0x80
je 0x411763
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x41174c
push 4
lea ecx, [esi + 0x24]
call fcn.0041193f
mov ecx, esi
call fcn.004116a1
jmp 0x411850
cmp al, 0x42
jne 0x411763
push 4
lea ecx, [esi + 0x24]
call fcn.0041193f
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x411740
mov ecx, esi
call fcn.00412013
jmp 0x411849
cmp eax, 0x5b
jne 0x4117d2
mov ecx, esi
call fcn.004116a1
lea ecx, [esi + 0x24]
call fcn.00412787
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x41179c
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004116a1
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4117ba
cmp eax, 0x5d
jne 0x4117ba
push eax
lea ecx, [esi + 0x24]
call fcn.004127d9
mov ecx, esi
call fcn.004116a1
mov ecx, esi
call fcn.00412489
cmp dword [esi + 0x4c], 0x5d
je 0x411711
push 4
jmp 0x411867
cmp eax, 0x28
jne 0x4117ef
mov ecx, esi
call fcn.004116a1
mov ecx, esi
call fcn.004120f8
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x411865
jmp 0x41183e
cmp eax, 0x5e
jne 0x4117fb
push 2
jmp 0x411738
cmp eax, 0x24
jne 0x411807
push 3
jmp 0x411738
cmp eax, 0x2a
je 0x41185b
cmp eax, 0x2b
je 0x41185b
cmp eax, 0x3f
je 0x41185b
cmp eax, 0x7b
je 0x41185b
cmp eax, 0x7d
jne 0x411825
test dword [esi + 0x50], edx
je 0x411857
cmp eax, 0x5d
jne 0x41182f
test dword [esi + 0x50], edx
je 0x4117cb
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00412261
mov bl, 1
mov ecx, esi
call fcn.004116a1
test bl, bl
je 0x411850
mov ecx, esi
call fcn.00412179
mov cl, 1
jmp 0x4116d0
push 6
jmp 0x411867
push 0xa
jmp 0x411867
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00410a8c
int3
Function at 0x414118
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x7b6e84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x41
mov ebx, ecx
mov dword [ebp - 0x108], 1
pop ecx
mov dword [ebp - 0x104], ebx
lea esi, [ebp - 0x108]
lea edi, [ebp - 0x20c]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
push 0x41
pop ecx
lea esi, [ebp - 0x108]
mov dword [ebp - 0x31c], eax
lea edi, [ebp - 0x310]
rep movsd dword es:[edi], dword [esi]
push 4
pop edi
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x4141ae
call fcn.006a8f93
cmp dword [eax], edi
je 0x414177
test esi, esi
jne 0x4141b4
push 0xd
jmp 0x41421c
test esi, esi
jle 0x41421a
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea eax, [ebp - 0x108]
push eax
push ebx
call esi
test eax, eax
jne 0x4141da
lea eax, [ebp - 0x20c]
push eax
push ebx
call esi
test eax, eax
je 0x41421a
lea eax, [ebp - 0x318]
mov dword [ebp - 0x318], edi
push eax
lea eax, [ebp - 0x314]
xor esi, esi
push eax
push 0x1007
push 0xffff
push ebx
mov dword [ebp - 0x314], esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x414213
cmp dword [ebp - 0x314], esi
je 0x414216
push 2
pop esi
mov eax, esi
jmp 0x41421d
push 2
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00579020
leave
ret

Function at 0x41422c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor eax, eax
mov edi, ecx
push eax
push eax
push eax
push eax
call fcn.0041402e
add esp, 0x10
test eax, eax
jne 0x414249
mov al, 1
jmp 0x414281
jns 0x414259
call fcn.006a8f93
cmp dword [eax], 9
jne 0x414259
xor al, al
jmp 0x414281
push ebx
push esi
lea ebx, [ebp - 1]
push 2
push 1
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x41427c
call fcn.006a8f93
cmp dword [eax], 4
je 0x41425e
test esi, esi
pop esi
setg al
pop ebx
pop edi
leave
ret
Function at 0x41439c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
push eax
push 0x8004667e
push ebx
mov edi, ecx
mov dword [ebp - 4], 1
call esi
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x414419
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4143f2
mov eax, dword [edi + 4]
mov dword [eax], 2
xor al, al
jmp 0x4144a5
mov eax, dword [edi + 0xc]
mov ecx, ebx
push dword [eax + 4]
push dword [eax]
mov eax, dword [edi + 8]
push dword [eax + 4]
push dword [eax]
call fcn.00414118
mov ecx, dword [edi + 4]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], 0
jne 0x4143eb
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0x8004667e
push ebx
call esi
mov eax, dword [edi + 0x14]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00579de0
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, eax
mov eax, dword [edi + 0x10]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
lea eax, [ebp + 8]
push eax
push 0x1006
push 0xffff
push ebx
mov dword [ebp + 8], ecx
call esi
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00579de0
mov ecx, eax
mov eax, dword [edi + 0x18]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push 0x1005
push 0xffff
push ebx
call esi
mov ecx, dword [edi + 4]
mov al, 1
and dword [ecx], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4144ac
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x7b6e84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 2
mov dword [ebp - 0x40c], eax
mov ebx, edx
pop ecx
movzx eax, word [esi]
cmp ax, cx
je 0x4144e2
cmp eax, 0x17
jne 0x41453e
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x40c]
movzx eax, ax
push 0x401
push 0
mov dword [ecx], eax
lea eax, [ebp - 0x408]
push eax
call fcn.006a0f30
add esp, 0xc
lea eax, [ebp - 0x408]
push 2
push 0
push 0
push 0x401
push eax
push ebx
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x41453e
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
call fcn.0040257a
mov al, 1
jmp 0x414540
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00579020
leave
ret
Function at 0x416851
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, SysReAllocString
push edi
mov edi, dword [ebp + 0xc]
cmp edi, eax
mov dword [ebp - 0xc], esi
mov ebx, dword [esi + 0x38]
cmova edi, eax
mov dword [ebp + 0xc], edi
cmp dword [esi + 0x34], ebx
jae 0x4168b2
mov eax, dword [esi + 0x28]
sub ebx, dword [esi + 0x34]
add eax, dword [esi + 0x34]
cmp edi, ebx
ja 0x41689b
push edi
push eax
push dword [ebp + 8]
call fcn.006a09b0
add esp, 0xc
add dword [esi + 0x34], edi
mov eax, edi
jmp 0x41693e
push ebx
push eax
push dword [ebp + 8]
call fcn.006a09b0
add esp, 0xc
add dword [esi + 0x34], ebx
mov eax, ebx
jmp 0x41693e
mov eax, dword [esi]
call dword [eax + 4]
test al, al
jne 0x4168c0
or eax, 0xffffffff
jmp 0x41693e
and dword [esi + 0x34], 0
and dword [esi + 0x38], 0
mov ecx, dword [esi + 4]
cmp edi, 0x1000
jae 0x416931
mov eax, dword [esi + 0x28]
mov edi, ecx
mov esi, eax
push 0
push 0x1000
push esi
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jns 0x4168fb
call fcn.006a8f93
cmp dword [eax], 4
je 0x4168da
test ebx, ebx
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
jle 0x4168ab
mov eax, dword [esi + 0x28]
cmp ebx, edi
jg 0x416919
push ebx
push eax
push dword [ebp + 8]
call fcn.006a09b0
add esp, 0xc
jmp 0x4168ab
push edi
push eax
push dword [ebp + 8]
call fcn.006a09b0
add esp, 0xc
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ebx
jmp 0x416894
mov edx, dword [ebp + 8]
push 0
push edi
call fcn.00413fff
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4169f9
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7b6e84]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x416a4b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edi
push esi
call fcn.004144ac
pop ecx
pop ecx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.00579020
mov esp, ebp
pop ebp
ret 8
Function at 0x41b3b4
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7b6e84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
lea esi, [ecx + 8]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x30], ecx
cmp dword [esi + 0x14], 0x10
mov eax, esi
push edi
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x24], ebx
jb 0x41b3e9
mov eax, dword [esi]
mov edi, dword [sym.imp.WS2_32.dll_inet_pton]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x17
call edi
test eax, eax
je 0x41b405
mov dword [ebp - 0x24], 0x10
jmp 0x41b421
cmp dword [esi + 0x14], 0x10
jb 0x41b40d
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push esi
push 2
call edi
test eax, eax
je 0x41b428
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 7
push ebx
push ebx
push 0x55
push dword [ebp - 0x1c]
call fcn.005bdfa0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b508
push esi
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x16], bl
call fcn.005bf8f0
mov dword [ebp - 0x34], eax
mov edi, ebx
pop ecx
test eax, eax
jle 0x41b508
mov al, bl
test al, al
jne 0x41b506
push edi
push esi
call fcn.005bfab0
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
cmp dword [ecx], eax
jne 0x41b4e6
push dword [ecx + 4]
call fcn.00588790
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
call fcn.005892f0
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
dec eax
sub eax, 1
je 0x41b4d5
sub eax, 5
jne 0x41b4ee
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push eax
call fcn.006a129e
add esp, 0xc
test eax, eax
je 0x41b4ce
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push eax
call fcn.006a129e
add esp, 0xc
test eax, eax
jne 0x41b4ee
mov cl, 1
mov byte [ebp - 0x16], cl
jmp 0x41b4f1
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
call fcn.0041b522
mov byte [ebp - 0x15], al
jmp 0x41b4e9
mov al, byte [ebp - 0x15]
mov cl, byte [ebp - 0x16]
jmp 0x41b4f4
mov cl, byte [ebp - 0x16]
mov al, byte [ebp - 0x15]
inc edi
cmp edi, dword [ebp - 0x34]
jl 0x41b45d
test al, al
jne 0x41b506
test cl, cl
je 0x41b508
mov bl, 1
push esi
call fcn.005bfce0
pop ecx
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00579020
leave
ret 4
Function at 0x41fc13
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x44
mov eax, 0x6d2e18
call fcn.00579a84
mov edi, dword [ebp + 8]
xor ebx, ebx
xorps xmm0, xmm0
mov dword [ebp - 4], ebx
mov esi, ebx
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ebx
cmp dword [edx + 0x10], ebx
je 0x41fc5b
cmp dword [edx + 0x14], 0x10
mov esi, edx
jb 0x41fc4f
mov esi, dword [edx]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], 4
jmp 0x41fc73
cmp dword [ecx + 0x10], ebx
je 0x41fc6a
cmp dword [ecx + 0x14], 0x10
mov esi, ecx
jb 0x41fc6a
mov esi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004045b6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x41fd56
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x41fd4f
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 0x81
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41fcea
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x41fd41
cmp byte [ebp + 0x14], 0
je 0x41fd02
push 4
xor ecx, ecx
lea eax, [ebp - 0x2c]
push eax
inc ecx
push ecx
push 6
push edi
mov dword [ebp - 0x2c], ecx
call ebx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x41fd15
mov dword [ebp - 0x2c], edi
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
cmp dword [esi + 4], 0x17
jne 0x41fd2c
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push 4
push eax
push 0x1b
push 0x29
push edi
call ebx
push esi
push edi
lea ecx, [ebp + 0x40]
call fcn.0041439c
test al, al
jne 0x41fd71
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x41fcb5
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402554
lea ecx, [ebp + 0x18]
call fcn.0040dffa
mov eax, edi
call fcn.00579a33
ret
push dword [ebp - 0x30]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x41fd59
Function at 0x420ea5
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 4]
call fcn.0041e1ed
push esi
call fcn.005888b0
push dword [ebp - 4]
mov esi, eax
call fcn.0057c197
pop ecx
pop ecx
test esi, esi
je 0x420f5d
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp - 4]
push eax
push 0x8004667e
push edi
mov dword [ebp - 4], 1
call ebx
push 0
push edi
call fcn.005becf0
push 0
push 1
push 0x66
push eax
mov dword [ebp - 4], eax
call fcn.005c1d30
mov eax, dword [ebp - 4]
push eax
push eax
push esi
call fcn.00588f90
mov eax, dword [ebp + 0x18]
add esp, 0x24
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x420f21
mov eax, dword [eax]
push eax
push 0
push 0x37
push esi
call fcn.00587d70
add esp, 0x10
lea ecx, [ebp + 0xc]
push esi
call fcn.0041b172
cmp al, 1
jne 0x420f64
push 0
push 0
push 0x66
push dword [ebp - 4]
call fcn.005c1d30
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 0x10
push eax
push 0x8004667e
push edi
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push esi
call fcn.00589240
pop ecx
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.0041e1ed
push esi
call fcn.00588190
push dword [ebp - 4]
call fcn.0057c197
and dword [ebp - 4], 0
lea eax, [ebp - 4]
pop ecx
pop ecx
push eax
push 0x8004667e
push edi
call ebx
xor eax, eax
jmp 0x420f5f
Function at 0x426450
Capabilities:
Create process on windows

Disassembly:
push 0x80
mov eax, 0x6d3ade
call fcn.00579a84
push 0x786b70
mov ecx, str.Utils::StartPrcess
xor esi, esi
push ecx
push str.INFO:
push 0xd2
mov dword [ebp - 4], esi
mov eax, 0x7c9038
cmp dword [0x7c904c], 0x10
push ecx
cmovae eax, dword [0x7c9038]
push str.E:hongzhenqian03_JisuBrowser_Yindao_CodeQingHouInstallerUtilsSystemSystem.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b0
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.006a0f30
add esp, 0x30
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp - 0x50]
cmovae ecx, dword [ebp + 8]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4264be
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0x3c
movlpd qword [ebp - 0x68], xmm0
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movaps xmm0, xmmword [0x78a6b0]
push 0x789388
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x78], xmm0
call fcn.00413435
pop ecx
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [ebp + 8]
call fcn.00402554
mov al, 1
call fcn.00579a33
ret
Function at 0x42652c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d3b18
mov eax, dword fs:[0]
push eax
mov eax, 0x8074
call fcn.00579c00
mov eax, dword [0x7b6e84]
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
mov ebx, edx
mov esi, ecx
cmp dword [0x7c904c], 0x10
mov ecx, str.Utils::ExecutExeAtNewProcess
push 0x786b70
push ecx
push str.INFO:
push 0x123
push ecx
mov eax, 0x7c9038
cmovae eax, dword [0x7c9038]
push str.E:hongzhenqian03_JisuBrowser_Yindao_CodeQingHouInstallerUtilsSystemSystem.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b0
or dword [ebp - 0x802c], 0xffffffff
lea eax, [ebp - 0x8080]
push 0x44
pop edi
push edi
push 0
push eax
call fcn.006a0f30
mov dword [ebp - 0x8080], edi
xor eax, eax
lea edi, [ebp - 0x803c]
stosd dword es:[edi], eax
push 0x7fff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x8010]
xor edi, edi
push edi
push eax
call fcn.006a0f30
add esp, 0x3c
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4265e9
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x8010]
push 0x7893c8
push eax
call fcn.004299d5
xor ecx, ecx
lea eax, [ebp - 0x8010]
add esp, 0xc
cmp dword [ebx + 0x10], edi
cmove eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x426616
mov ecx, dword [esi]
lea edx, [ebp - 0x803c]
push edx
lea edx, [ebp - 0x8080]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4266c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x8028]
call fcn.004022fb
push 0x10
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], ecx
jb 0x42665a
mov eax, dword [eax]
cmp dword [ebx + 0x14], ecx
jb 0x426661
mov ebx, dword [ebx]
cmp dword [esi + 0x14], ecx
jb 0x426668
mov esi, dword [esi]
cmp dword [0x7c904c], ecx
mov ecx, 0x7c9038
push 0x786b70
cmovae ecx, dword [0x7c9038]
push eax
push 0x786c14
push ebx
push str._strArgv:
push esi
push str.CreateProcessA_failed__strExe:
push str.ERROR:
push 0x13d
push str.Utils::ExecutExeAtNewProcess
push str.E:hongzhenqian03_JisuBrowser_Yindao_CodeQingHouInstallerUtilsSystemSystem.cpp
push ecx
push str.MYSD_ErrMsg_JiSu
push 2
call fcn.004254b0
add esp, 0x38
lea ecx, [ebp - 0x8028]
call fcn.00402554
or eax, 0xffffffff
jmp 0x426702
push 0xffffffffffffffff
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x802c]
push eax
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x803c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x8038]
call esi
mov eax, dword [ebp - 0x802c]
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.00579020
leave
ret
Function at 0x42671c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x7c904c], 0x10
mov eax, 0x7c9038
push ebx
cmovae eax, dword [0x7c9038]
push esi
push edi
push 0x786b70
mov dword [ebp - 8], ecx
mov esi, edx
mov ecx, str.Utils::QueryValue
push ecx
push str.INFO:
push 0x150
push ecx
push str.E:hongzhenqian03_JisuBrowser_Yindao_CodeQingHouInstallerUtilsSystemSystem.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b0
mov eax, dword [ebp - 8]
xor ebx, ebx
add esp, 0x24
mov dword [ebp - 4], ebx
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x42686f
cmp dword [esi + 0x10], ebx
je 0x42686f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x42678e
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42686f
push 0x712404
push eax
call fcn.005797cb
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x426876
cmp dword [esi + 0x14], 0x10
jb 0x4267c3
mov esi, dword [esi]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x42685a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42685a
mov eax, dword [ebp - 0x14]
push 0x712404
push 0x80
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
or esi, eax
call fcn.005797cb
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42685a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0x10
jb 0x426822
mov eax, dword [eax]
push eax
push esi
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.00413594
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x426856
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
call fcn.0040257a
mov byte [ebp - 4], 1
push ebx
call fcn.00431752
pop ecx
test edi, edi
je 0x42686c
push edi
call fcn.00431752
pop ecx
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
xor ebx, ebx
jmp 0x42686f