joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e510
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ecx + 8]
test esi, esi
je 0x43e5e0
xor eax, eax
cmp dword [ecx], 0
jne 0x43e60a
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x6d44c02c]
xor ebx, eax
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + eax + 0x6d44c02c], bl
inc eax
cmp eax, 0x92bb3fd8
jne 0x43e580
mov eax, dword [esp]
mov esi, dword [0x450374]
test esi, esi
je 0x43e60a
xor edi, edi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xef01f5a1
je 0x43e613
inc edi
cmp esi, edi
jne 0x43e5d0
jmp 0x43e60a
mov dword [esp + 4], 0x43020108
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x40
xor cl, byte [esp + eax + 4]
add cl, 0xc0
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x43e5f0
mov eax, dword [esp + 4]
add esp, 0x24
pop esi
pop edi
pop ebx
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43e60a
lea eax, [esp + 0x1c]
lea edi, [esp + 4]
push eax
push edi
push edx
push ecx
push 4
push dword [0x45037c]
push esi
call fcn.00440f10
add esp, 0x1c
jmp 0x43e60a

Function at 0x43e650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x43e6fa
push ebx
push edi
push esi
push eax
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x6d44c02c]
xor ebx, edx
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + edx + 0x6d44c02c], bl
inc edx
cmp edx, 0x92bb3fd8
jne 0x43e670
mov edx, dword [0x450374]
test edx, edx
je 0x43e6ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x43e6d0
inc edi
cmp edx, edi
jne 0x43e6c0
jmp 0x43e6ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x43e6ee
push eax
push 1
push dword [0x45037c]
push edx
mov esi, ecx
call fcn.00440f10
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x43e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43ea5e
push 0xbbf966b4
push dword [0x450368]
call fcn.00443a90
add esp, 8
test eax, eax
je 0x43ea29
mov ecx, dword [esi]
test ecx, ecx
je 0x43ea5b
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43ea37
cmp dword [esp], 0
je 0x43ea37
mov dword [esi + 4], 3
jmp 0x43ea5b
mov dword [esi + 4], 1
mov ecx, dword [esi]
jmp 0x43eae7
lea eax, [esp + 4]
push eax
call fcn.00444320
add esp, 4
test al, al
je 0x43ea5b
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x43ea58
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, 2
jne 0x43eae7
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x43ea80
mov eax, dword [esp]
mov edx, dword [0x450374]
test edx, edx
je 0x43eb94
mov ebp, ebx
xor esi, esi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc3cdc4a6
je 0x43eb70
inc esi
cmp edx, esi
jne 0x43ead0
jmp 0x43eb94
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x43eb00
mov eax, dword [esp]
mov edx, dword [0x450374]
test edx, edx
je 0x43eb94
xor esi, esi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xae6e2b0b
je 0x43eb60
inc esi
cmp edx, esi
jne 0x43eb50
jmp 0x43eb94
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43eb94
push ebp
push edi
push dword [esp + 0x28]
jmp 0x43eb7e
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43eb94
push dword [esp + 0x28]
push edi
push ebp
push dword [esp + 0x28]
push ecx
push 5
push dword [0x45037c]
push edx
call fcn.00440f10
add esp, 0x20
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x43eeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x43eec9
lea edi, [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x43eeda
cmp eax, 2
je 0x43ef4c
jmp 0x43ef79
push 0xbbf966b4
push dword [0x450368]
call fcn.00443a90
add esp, 8
test eax, eax
je 0x43ef17
mov ecx, dword [esi]
test ecx, ecx
je 0x43ef44
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43ef20
cmp dword [esp], 0
je 0x43ef20
mov dword [esi + 4], 3
jmp 0x43ef44
mov dword [esi + 4], 1
jmp 0x43ef79
lea eax, [esp + 4]
push eax
call fcn.00444320
add esp, 4
test al, al
je 0x43ef44
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x43ef41
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43ef79
mov ebx, dword [ebp + 0x18]
push 0x732f71fd
push dword [0x458390]
call fcn.00443a90
add esp, 8
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call eax
jmp 0x43f014
mov ecx, dword [esi]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x43ef90
mov eax, dword [esp]
mov edx, dword [0x450374]
test edx, edx
je 0x43f014
xor esi, esi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xfd743ac4
je 0x43eff0
inc esi
cmp edx, esi
jne 0x43efe0
jmp 0x43f014
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43f014
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0x45037c]
push edx
call fcn.00440f10
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x43ff20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp + 0x30], 0x9f6a996a
mov dword [esp + 0x34], 0xa34e9d78
mov dword [esp + 0x38], 0xa794a14c
mov dword [esp + 0x3c], 0xab46a540
mov dword [esp + 0x40], 0xafaea944
mov word [esp + 0x44], 0
mov eax, 0xb14c8dda
mov ecx, 0x58a646da
movzx edx, byte [esp + eax + 0x4eb37256]
mov esi, eax
and esi, edx
or edx, ecx
xor edx, esi
add dl, 0xbe
mov byte [esp + eax + 0x4eb37256], dl
inc eax
inc ecx
cmp eax, 0xb14c8df0
jne 0x43ff60
lea eax, [esp + 0x30]
push eax
call fcn.004435f0
add esp, 4
mov dword [0x458390], eax
mov dword [esp + 0x2c], 0x669f9faa
test eax, eax
je 0x43ffa9
mov dword [esp + 0x2c], 0x7fe12f90
lea edi, [esp + 0x22]
mov ebp, 0x468f45ac
xor eax, eax
cmp ebp, 0x53945b5
setl al
mov eax, dword [eax*4 + 0x44e134]
mov ecx, 0xd8077768
xor ecx, dword [0x44e13c]
add eax, ecx
inc eax
jmp eax
Function at 0x4424e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc eax, 0
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, eax
mov esi, dword [esp + 0x28]
jb 0x442550
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
test bl, 1
je 0x4426ee
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x4426ee
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
nop
nop
nop
nop
mov ebp, edx
shr ebp, 1
and ebp, 1
movzx ecx, byte [esp + edx]
mov edi, edx
and edi, 5
mov eax, edx
or eax, 0xfffffffd
inc eax
imul eax, edi
mov edi, edx
or edi, 2
imul edi, ebp
add edi, edi
sub eax, edi
add eax, edx
add eax, 0x3773c848
xor eax, ecx
mov ecx, eax
not ecx
and ecx, 1
xor eax, 0xfe
lea eax, [eax + ecx*2]
add al, 0x6c
mov byte [esp + edx], al
inc edx
cmp edx, 5
jne 0x442560
mov eax, dword [esp]
mov ecx, dword [0x450374]
test ecx, ecx
je 0x4425e0
xor edx, edx
mov edi, dword [0x450378]
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x89c57e52
je 0x4425e6
inc edx
cmp ecx, edx
jne 0x4425d0
jmp 0x442610
mov ebp, dword [esp + 0x20]
jmp 0x442610
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x442610
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x45037c]
push ecx
call fcn.00440f10
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0x4426ee
push 0x732f71fd
push dword [0x458390]
call fcn.00443a90
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
xor edx, edx
nop
mov edi, edx
shr edi, 1
and edi, 1
movzx esi, byte [esp + edx]
mov ebx, edx
and ebx, 5
mov ebp, edx
or ebp, 0xfffffffd
inc ebp
imul ebp, ebx
mov ebx, edx
or ebx, 2
imul ebx, edi
add ebx, ebx
sub ebp, ebx
lea edi, [edx + ebp]
add edi, 0x3773c848
xor edi, esi
mov esi, edi
not esi
and esi, 1
xor edi, 0xfe
lea ebx, [edi + esi*2]
add bl, 0x6c
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0x442650
mov edx, dword [0x450374]
test edx, edx
je 0x4426ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x450378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x4426d0
inc edi
cmp edx, edi
jne 0x4426c0
jmp 0x4426ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x4426ee
push ecx
push 1
push dword [0x45037c]
push edx
mov esi, eax
call fcn.00440f10
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44390f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x717e7f8c
mov word [esp + 4], 0
mov eax, esp
mov edx, 0x4e93f7ea
nop
movzx edi, byte [eax]
mov ebx, edx
or ebx, edi
not ebx
lea esi, [edx - 0x4e93f700]
and esi, edi
or esi, ebx
mov edi, esi
and edi, 0x16
mov ebx, esi
xor ebx, 0x96
lea ebx, [ebx + edi*2]
and esi, 1
xor ebx, 1
or ebx, esi
add ebx, esi
mov byte [eax], bl
inc eax
dec edx
cmp edx, 0x4e93f7e4
jne 0x4438e0
mov eax, dword [esp]
mov eax, dword fs:[eax]
mov edx, dword [case.0x443869.8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x4439c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0x191a1bec
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x7b
xor dl, byte [esp + eax]
add dl, 0x99
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne case.default.0x443a01
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x44eeb4]
Function at 0x443a90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
mov dword [esp], 0x1065d53
mov word [esp + 4], 0
mov ecx, 0x13da8e83
mov edx, 0x7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x13da8e83]
mov edi, esi
not edi
or edi, edx
lea esi, [esi + edi*2]
add esi, ecx
mov edi, esi
and edi, 0x7a
xor esi, 0x7a
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + ecx - 0x13da8e83], bl
inc ecx
dec edx
cmp ecx, 0x13da8e89
jne 0x443ac0
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x44eef4]
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x407c80
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf5b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x358
mov eax, dword [0x474010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2fc], esi
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x2fc], esi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x407d01
push pe_nt_image_headers32
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x407d28
call dword [sym.imp.WS2_32.dll_WSACleanup]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x46b344
mov dword [esi + 0x14], 0
call fcn.0041a540
jmp 0x407e88
lea eax, [ebp - 0x2fc]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 0x130]
movups xmmword [ebp - 0x168], xmm0
push eax
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x160], 2
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x407cfb
xorps xmm0, xmm0
mov dword [ebp - 0x138], eax
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2fc]
test eax, eax
je 0x407e50
mov eax, dword [eax + 0x18]
lea ecx, [ebp - 0x2c]
push 0x16
push ecx
add eax, 4
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea ecx, [ebp - 0x368]
call fcn.00413a10
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407dd0
sub ecx, edi
lea eax, [ebp - 0x2c]
add eax, ecx
mov ecx, edx
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004163c0
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x148]
call fcn.004142c0
mov ecx, dword [ebp - 0x304]
cmp ecx, 8
jb 0x407e3f
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407e35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ea8
push ecx
push edx
call fcn.00436385
add esp, 8
lea ecx, [ebp - 0x368]
call fcn.00413950
mov eax, dword [ebp - 0x2fc]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x148]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x138]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00436030
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004432a9
int3
Function at 0x4181d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cea0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x474010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00436240
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0042328c
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fa3c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0041fa18
pop esi
leave
ret 8
Function at 0x420a5a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x420a7b
jl 0x420a72
test edi, edi
jne 0x420a7b
xor eax, eax
xor edx, edx
jmp 0x420b3c
cmp dword [ebx + 0x38], 0
je 0x420a90
push eax
push edi
push dword [ebp + 8]
call fcn.00420b42
jmp 0x420b3c
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x420ad7
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x420ad7
cmp eax, edi
jb 0x420ab1
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00437650
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x420add
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x420b31
mov ecx, ebx
call fcn.0042030e
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x420b1c
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00443fbb
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x420b31
jmp 0x420aef
test edx, edx
je 0x420b31
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00443fbb
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x435ae9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00445836
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x435b28
sub eax, 1
je 0x435b23
sub eax, 1
je 0x435b1f
xor eax, eax
leave
ret
push 3
jmp 0x435b2a
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x436e90
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x436ecf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x436ecf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x436ecf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x436ecf
cmp dword [ecx + 0x74], 0xe
jbe 0x436ecf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44d74b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463f88
push 0x463f80
push str.FlsAlloc
push 0x1f
call fcn.0044d5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44d77f
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f188]
call esi
jmp 0x44d785
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x44d7c9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463f98
push 0x463f90
push str.FlsGetValue
push 0x21
call fcn.0044d5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44d800
push dword [ebp + 8]
mov ecx, esi
call dword [0x45f188]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44d808
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463fa0
push 0x463f98
push str.FlsSetValue
push 0x22
call fcn.0044d5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44d842
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45f188]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44f194
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00436fa0
mov eax, dword [0x474010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0044bd66
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x44f1d6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44f332
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0045b2a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x476850]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0045036a
mov ecx, dword [esi*4 + 0x476850]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x44f32b
cmp eax, dword [ecx + edi + 0x24]
jne 0x44f32b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44f32b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045036a
add esp, 0x14
test edx, edx
jl 0x44f32b
jg 0x44f2a1
test eax, eax
jb 0x44f32b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x44f32b
jl 0x44f2bb
cmp dword [ebp - 0x1008], eax
ja 0x44f32b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x44f2d9
test ebx, ebx
je 0x44f312
cmp ecx, edi
jae 0x44f312
mov al, byte [ecx]
cmp al, 0xd
jne 0x44f2f3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44f2ff
cmp byte [ecx + 1], 0xa
jne 0x44f2ff
inc ecx
jmp 0x44f2ff
movzx eax, al
movsx eax, byte [eax + 0x474280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x44f2d9
cmp edx, ebx
jne 0x44f2d9
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44f330
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00436030
leave
ret