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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10027958]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100142f8
cmp word [ebx], dx
jne 0x100142f8
or byte [eax + edi + 0x28], 4
jmp 0x100142fd
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10014460
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10014440
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1001433e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10014374
cmp eax, edx
jae 0x10014382
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10014319
jmp 0x10014460
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001443b
cmp dword [ebp - 0x18], 0
je 0x1001443b
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10027958]
test byte [eax + edi + 0x28], 0x48
je 0x10014411
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100143d5
mov word [esi], cx
jmp 0x1001440c
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10027958]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10027958]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10027958]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10014460
pop eax
cmp word [ebp - 4], ax
jne 0x10014421
cmp esi, ebx
jne 0x10014421
mov word [esi], ax
jmp 0x1001445d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10014ceb
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10014460
push 0xd
pop eax
jmp 0x1001441c
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10027958]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1001445a
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10014460
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10017bcd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000de06
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10017c3c
cmp esi, dword [ebp - 4]
je 0x10017c37
cmp dword [ebp + 0xc], 0
je 0x10017c37
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10017c14
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1001771f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10017c3e
xor eax, eax
inc eax
jmp 0x10017c3e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10017ca3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1000de06
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1000de06
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10017d1a
cmp word [ecx], dx
je 0x10017d1a
mov eax, dword [0x1001f92c]
push edi
dec eax
push eax
push 0x1001f818
call fcn.10017c42
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10017d8d
cmp word [eax], dx
je 0x10017d8d
mov eax, dword [edi]
test eax, eax
je 0x10017d3e
cmp word [eax], dx
je 0x10017d3e
lea eax, [ebp - 0x10]
push eax
call fcn.10017625
jmp 0x10017d47
lea eax, [ebp - 0x10]
push eax
call fcn.100176c0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10017db7
mov eax, dword [0x1001f814]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1001f508
call fcn.10017c42
add esp, 0xc
test al, al
je 0x10017db7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10017d82
cmp word [eax], di
je 0x10017d82
lea eax, [ebp - 0x10]
push eax
call fcn.10017625
pop ecx
jmp 0x10017db9
lea eax, [ebp - 0x10]
push eax
call fcn.100176c0
jmp 0x10017d7f
mov eax, dword [edi]
test eax, eax
je 0x10017da4
cmp word [eax], dx
je 0x10017da4
lea eax, [ebp - 0x10]
push eax
call fcn.100175da
pop ecx
jmp 0x10017db7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10017e82
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10017ac7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10017e82
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10017e82
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10017e82
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10017e0f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100111b2
test ebx, ebx
je 0x10017e7d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100111b2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10017e82
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10017e82
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100190fc
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10017e84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002ff6
leave
ret
Function at 0x1001a9f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001aa1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001aa1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x100608c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100608cf
pop dword [ebp - 0x34]
mov eax, 0x100608cf
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x75570
push 0
mov eax, 0xbfc9c96c
add eax, 0x504567d8
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xe5be3b32
sub ecx, 0xe5bde520
mov ebx, eax
mov esi, 0x8bf87662
add esi, 0x8420999e
add esi, dword [ebp - 0x34]
mov edx, 0x529815ef
mov dword [ebp - 8], 0x2fb050ce
mov edi, dword [esi]
mov dword [ebp - 4], 0xeda7a608
add edi, edx
sub dword [ebp - 4], edi
mov dword [ebx], edi
xor dword [ebp - 0x28], ecx
add ebx, 4
add esi, 4
loop 0x10060923
add eax, 0x74d9d9f3
add eax, 0x8b277128
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa7b17279
sub ecx, 0x97b17279
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x348963d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x348963e8
pop dword [ebp - 0x30]
mov eax, 0x8497eaa0
add eax, 0xaff17948
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x543c3a68
sub dword [ebp - 0x40], 0x5e9f51d
mov dword [ebp - 0x3c], 0xd98c1daf
add dword [ebp - 0x3c], 0x58a72e96
mov dword [ebp - 0x38], 0x13540c0f
add dword [ebp - 0x38], 0x38f8381f
mov dword [ebp - 0x34], 0x15266ed0
add dword [ebp - 0x34], 0xead99130
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x949b9f3e
sub dword [ebp - 0x40], 0x202935e8
mov dword [ebp - 0x3c], 0x27a468b
add dword [ebp - 0x3c], 0x3ef21aea
mov dword [ebp - 0x38], 0x8f1946a6
sub dword [ebp - 0x38], 0x2ba9da3a
mov dword [ebp - 0x34], 0x38e4db8
add dword [ebp - 0x34], 0xfc71b248
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xc3c99975
sub eax, 0x8f4087a9
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3e898
push 0
call eax
mov ecx, 0x55e6
xor ebx, ebx
add ebx, eax
mov esi, 0x53b59b46
add esi, 0xe0d884ba
add esi, dword [ebp - 0x30]
mov edx, 0x52ef4b1f
add edx, 0xf463a7e1
mov dword [ebp - 0x28], 0x6fdd8929
mov edi, dword [esi]
xor edi, edx
add dword [ebp - 0x14], eax
mov dword [ebx], edi
sub dword [ebp - 0x24], 0x49108b27
add ebx, 0x1230d8fc
sub ebx, 0x1230d8f8
add esi, 0x64d7400f
sub esi, 0x64d7400b
loop 0x34896501
add eax, 0x3413b10
add eax, 0xfcc00f5b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xaf9badd1
sub ecx, 0x7b12add1
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40f22e
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2cb
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2cb
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2cb
push 4
push 0xffffffffffffffff
push esi
push 0x40f9e5
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2cb
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f296
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2cb
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2d1
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2cd

Function at 0x413ca1
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x413cb1
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x413cb7
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x413cdf
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x438830]
test ax, ax
jne 0x413cc6
mov esi, ecx
jmp 0x413ce2
movzx esi, si
pop edi
cmp cx, si
je 0x413cff
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x438830]
test cx, cx
jne 0x413ce3
mov eax, 0x437338
jmp 0x413d07
imul eax, edx, 0x1a
add eax, 0x438832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x425e66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x425e75
pop dword [ebp - 0x18]
mov eax, 0x425e75
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x409ab
push 0
mov eax, 0xddcbbc3a
sub eax, 0xdd88f93e
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x77da996c
sub ecx, 0x77da5a59
xor edi, edi
add edi, eax
mov ebx, 0x448800
add ebx, dword [ebp - 0x18]
mov esi, 0x27476b02
mov edx, dword [ebx]
add dword [ebp - 0xc], 0x2bbdd4c6
add edx, esi
xor dword [ebp - 4], 0xf313143d
mov dword [edi], edx
mov dword [ebp - 4], 0x5b5ebb56
add edi, 4
add ebx, 0x5850c670
add ebx, 0xa7af3994
loop 0x425ec5
add eax, 0xd4416c42
sub eax, 0xd4407d23
xor ebx, ebx
add ebx, eax
add eax, 0xa2f0ee73
add eax, 0x5d0f1192
mov ecx, 0x23ba3500
sub ecx, 0x237a3500
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x41db75
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528b46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5e1390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0050c82a
pop ecx
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41dbbf
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41edd4
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.0041f9be
lea edx, [ebx + 0x60]
xor eax, eax
mov byte [edx + 0x49], al
mov dword [edx + 0x50], 0x10
test al, al
jne 0x41ee05
mov eax, edx
mov byte [edx + 0x49], 1
neg eax
and eax, 0xf
add eax, edx
push 8
mov dword [edx + 0x54], eax
mov esi, 0x5bbda0
mov edi, dword [ebx + 0xb4]
mov eax, ebx
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx], vtable.CryptoPP::SHA256.0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4209b6
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x52a4aa
call fcn.004e49d2
push str.ConnectionManager::Start
push str._s:_enter
push 1
xor esi, esi
push esi
call fcn.0043a0a0
add esp, 0x10
mov edi, 0x5ea330
mov ecx, edi
push 1
call fcn.004208b6
push ecx
push dword [0x5ea340]
lea ecx, [ebp - 0x2c]
call fcn.0045c8f0
xor ecx, ecx
mov dword [ebp - 4], esi
cmp byte [ebp + 8], cl
movzx eax, byte [0x5ea630]
cmove eax, ecx
sub esp, 0x18
mov ecx, esp
mov byte [0x5ea630], al
call fcn.00458691
call fcn.00456a26
add esp, 0x18
mov dword [0x5ea620], eax
call fcn.004585ce
mov byte [0x5ea625], al
call fcn.00450017
push 0xe1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5ea344]
test eax, eax
jne 0x420a9e
cmp dword [0x5ea614], eax
jne 0x420a9e
push 1
mov ecx, edi
call fcn.0042077b
push esi
push esi
push edi
push 0x420b02
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x5ea614], eax
test eax, eax
jne 0x420a90
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Start:_CreateThread_failed___d_
push esi
push esi
call fcn.0043a0a0
add esp, 0x10
mov ecx, edi
push esi
call fcn.0042077b
push str.ConnectionManager::Start
push str._s:_exit
push 1
jmp 0x420aa5
push eax
push str.Invalid_connection_manager_state_in_Start___d_
push esi
push esi
call fcn.0043a0a0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0045c98b
call fcn.004e497c
ret 4
Function at 0x42bb24
Capabilities:
Get file version info

Disassembly:
push 0x98
mov eax, 0x52b99d
call fcn.004e49d2
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x84], edi
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x94], esi
mov ecx, dword [eax]
mov eax, dword [0x5ec57c]
cmp eax, dword [ecx + 0x139c]
jle 0x42bba8
push 0x5ec57c
call fcn.004e3f82
cmp dword [0x5ec57c], 0xffffffff
pop ecx
jne 0x42bba8
mov dword [ebp - 4], esi
mov dword [0x5ec580], esi
mov dword [0x5ec584], esi
call fcn.00430925
push 0x53b590
mov dword [0x5ec580], eax
call fcn.004e45f2
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x5ec57c
call fcn.004e3f43
pop ecx
push ebx
lea eax, [ebp - 0x7c]
mov ecx, 0x5ec580
push eax
call fcn.0042f53d
mov esi, dword [ebp - 0x7c]
cmp esi, dword [0x5ec580]
je 0x42bbd4
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
call fcn.004146f4
shr eax, 0x1f
test al, al
je 0x42bbda
mov esi, dword [0x5ec580]
cmp esi, dword [0x5ec580]
je 0x42bbf2
add esi, 0x28
mov ecx, edi
push esi
call fcn.0042669f
jmp 0x42bd24
cmp dword [ebx + 0x14], 0x10
jb 0x42bbfc
mov eax, dword [ebx]
jmp 0x42bbfe
mov eax, ebx
lea ecx, [ebp - 0x98]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x42bd18
push eax
call fcn.004e461a
mov esi, eax
mov dword [ebp - 0x84], esi
pop ecx
test esi, esi
jne 0x42bc4b
push str.GetDLLVersion:324:_memory_allocation_failed
lea ecx, [ebp - 0xa4]
call fcn.0040ea4b
push 0x5dd908
lea eax, [ebp - 0xa4]
push eax
call fcn.004fda0a
push esi
lea ecx, [ebp - 0x7c]
call fcn.0041ffcf
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
jb 0x42bc68
mov eax, dword [ebx]
jmp 0x42bc6a
mov eax, ebx
push esi
push dword [ebp - 0x78]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x42bd0b
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42bd0b
mov ecx, dword [ebp - 0x80]
xor esi, esi
test ecx, 0xfffffffc
jbe 0x42bd0b
mov eax, dword [ebp - 0x88]
movzx edx, word [eax + esi*4]
cmp dl, 9
jne 0x42bd01
movzx eax, word [eax + esi*4 + 2]
push eax
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.00431c6c
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x8c]
and dword [ebp - 0x8c], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x42bd2c
mov ecx, dword [ebp - 0x80]
mov eax, ecx
inc esi
shr eax, 2
cmp esi, eax
jb 0x42bcab
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x7c]
call fcn.004e3e1e
pop ecx
push 0x5ae894
mov ecx, edi
call fcn.00426582
mov eax, edi
call fcn.004e497c
ret
mov edi, dword [ebp - 0x78]
mov ecx, 0x5ec580
push ebx
call fcn.0042f1d6
push edi
mov esi, eax
call fcn.0042655b
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004264e2
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x90]
call fcn.00426582
push dword [ebp - 0x7c]
call fcn.004e3e1e
mov eax, dword [ebp - 0x90]
pop ecx
jmp 0x42bd26
Function at 0x430a11
Capabilities:
Print debug messages

Disassembly:
push 0xa4
mov eax, 0x52c38e
call fcn.004e49d2
mov edi, edx
mov esi, ecx
push 7
lea ecx, [ebp - 0xb0]
call fcn.004112f7
xor ebx, ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
call fcn.0045bbdb
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004264be
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x98], esp
push eax
call fcn.0041140f
push str.timestamp__timestamp
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.004126d5
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041163b
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00416ab1
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.00427ba9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.004113dd
push 0x5b1380
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.004126d5
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.0041163b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push edi
call fcn.00411451
push str.data
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.004126d5
mov ecx, eax
call fcn.0041163b
lea ecx, [ebp - 0x48]
call fcn.0041343f
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041345e
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0x550680
call esi
push ecx
push dword [0x5ea150]
lea ecx, [ebp - 0x94]
call fcn.0045c8f0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, 0x5ea158
call fcn.0041272d
lea ecx, [ebp - 0x94]
call fcn.0045c98b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00416ab1
lea ecx, [ebp - 0x48]
call fcn.0040f5b8
lea ecx, [ebp - 0xb0]
call fcn.0041159b
call fcn.004e497c
ret