joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47be6c
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 4
pushal
mov esi, eax
mov ebp, edx
mov ebx, dword [ebx + 0x2a7]
cmp ebx, 0
pushfd
movzx edi, cx
popfd
je 0x47bed3
mov eax, edi
cmp eax, 0x67
jne 0x47be9b
mov eax, esi
mov ecx, str.Getting_Connection_timeout_for
mov dl, 1
call fcn.0047d67c
jmp 0x47bed3
cmp eax, 0x6c
jne 0x47beb0
mov eax, esi
mov ecx, str.Getting_Transaction_Isolation_level
mov dl, 1
call fcn.0047d67c
jmp 0x47bed3
cmp eax, 0x66
jne 0x47bec5
mov eax, esi
mov ecx, str.Getting_Commit_state
mov dl, 1
call fcn.0047d67c
jmp 0x47bed3
mov eax, esi
mov ecx, str.Getting_Connection_Information_for
mov dl, 1
call fcn.0047d67c
push ebp
push edi
mov eax, dword [esi + 0xd]
push eax
call dword [0x59fa18]
cmp ebx, 0
je 0x47bfc0
mov edx, 0x59f3ac
mov esi, ebx
call fcn.0040fbf0
mov edi, eax
sub edi, dword [0x52169c]
mov eax, esi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47bf1d
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47bf22
mov ebx, 0
mov eax, esi
mov ecx, edx
lea ebp, [esp + 0x20]
mov edx, ebp
call fcn.0051a40c
mov eax, esi
mov edx, ebp
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, edi
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, esi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47bf8b
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47bf90
mov ebx, 0
mov eax, esi
mov edx, ebp
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, esi
mov edx, ebp
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47bfc0
push esi
call sub.KERNEL32.dll_FlushFileBuffers
popal
add esp, 4
ret

Function at 0x47c054
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 8
pushal
mov esi, eax
mov eax, dword [esi + 0xc]
mov ebp, dword [eax + 0x2a7]
cmp ebp, 0
je 0x47c078
mov eax, esi
mov ebx, ebp
mov ecx, str.Closing
mov dl, 1
call fcn.0047cc4c
push 0
mov eax, dword [esi + 4]
push eax
call dword [0x59f9b8]
mov bx, ax
mov eax, esi
call fcn.0047cd04
cmp ebp, 0
je 0x47c171
mov edx, 0x59f984
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x20], eax
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47c0cc
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47c0d1
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edi, [esp + 0x24]
mov edx, edi
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x20]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47c13c
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47c141
mov ebx, 0
mov eax, ebp
mov edx, edi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47c171
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
mov eax, dword [esi + 0x10]
and dword [eax], 0xfffffffb
popal
add esp, 8
ret
Function at 0x47cd2c
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x2c
pushal
mov esi, eax
mov dword [esi], fcn.0047e92c
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edx
mov byte [esi + 0x14], 0
mov dword [esi + 0x15], 0
mov eax, 9
call fcn.004dbf88
mov ecx, eax
cmp ecx, 0
je 0x47cd64
mov ebx, ecx
call fcn.004f32b8
mov dword [esi + 0x19], ecx
mov eax, 9
call fcn.004dbf88
mov ecx, eax
cmp ecx, 0
je 0x47cd7f
mov ebx, ecx
call fcn.004f32b8
mov dword [esi + 0x1d], ecx
mov eax, dword [esi + 0xc]
mov ebp, dword [eax + 0x2a7]
cmp ebp, 0
je 0x47cde3
mov edx, str.Allocating
mov edi, ebp
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47cdb8
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47cdbd
mov ebx, 0
mov eax, edi
mov ecx, edx
lea edx, [esp + 0x22]
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47cdd9
push edi
call sub.KERNEL32.dll_FlushFileBuffers
call fcn.0040fbf0
mov dword [0x52169c], eax
mov dword [esi + 4], 0
lea eax, [esi + 4]
push eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xd]
push eax
call dword [0x59fa1c]
mov bx, ax
mov eax, esi
call fcn.0047cd04
cmp ebp, 0
je 0x47cf40
mov eax, esi
mov ebx, ebp
mov ecx, 0x59f4f4
mov dl, 0
call fcn.0047cc4c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xd]
push eax
push str._on_Connection__lx
lea edx, [esp + 0x2e]
push edx
call fcn.004dbfa0
add esp, 0xc
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47ce58
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47ce5d
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edx, [esp + 0x44]
call fcn.0051a40c
mov edx, 0x59f50c
call fcn.0040fbf0
mov esi, eax
sub esi, dword [0x52169c]
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47ce9d
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47cea2
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edi, [esp + 0x48]
mov edx, edi
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, esi
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47cf0b
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47cf10
mov ebx, 0
mov eax, ebp
mov edx, edi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47cf40
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
popal
add esp, 0x2c
ret
Function at 0x47cfe4
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0xc
pushal
mov edi, eax
mov esi, ebx
mov word [esp + 0x26], cx
mov dword [esp + 0x22], edx
mov ebp, dword [esi + 0x2a7]
cmp ebp, 0
je 0x47d010
mov eax, edi
mov ebx, ebp
mov ecx, str.Getting_Functions_for
mov dl, 1
call fcn.0047d67c
push dword [esp + 0x22]
movzx eax, word [esp + 0x2a]
push eax
mov eax, dword [edi + 0xd]
push eax
call dword [0x59fa10]
mov cx, ax
mov eax, edi
mov ebx, esi
call fcn.0047e260
cmp ebp, 0
je 0x47d10f
mov edx, 0x59f1a4
call fcn.0040fbf0
mov esi, eax
sub esi, dword [0x52169c]
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47d06c
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47d071
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edi, [esp + 0x28]
mov edx, edi
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, esi
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47d0da
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47d0df
mov ebx, 0
mov eax, ebp
mov edx, edi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47d10f
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
popal
add esp, 0xc
ret
Function at 0x47e284
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 8
pushal
mov edi, eax
mov bp, bx
mov word [esp + 0x20], bp
cmp dword [edi + 0x2d2], 2
jne 0x47e2a5
mov dword [edi + 0x2d2], 0
cmp bp, 2
jne 0x47e2d0
cmp dword [edi + 0x2d2], 0
jne 0x47e2d6
movsx eax, bp
mov dword [edi + 0x2d2], eax
jmp 0x47e475
cmp dword [edi + 0x2d2], 0
je 0x47e2e1
jmp 0x47e475
cmp bp, 0x63
je 0x47e2ab
cmp bp, 0
jne 0x47e2c2
jmp 0x47e475
cmp bp, 1
je 0x47e2f1
mov dword [edi + 0x2d2], 0x5a
lea eax, [esp + 0x22]
push eax
push 0x1ff
push 0x5216a0
lea eax, [edi + 0x2e5]
push eax
lea esi, [edi + 0x2db]
push esi
push dword [esp + 0x40]
push edx
push ecx
call dword [0x59f99c]
mov eax, esi
mov ebx, str.00000
mov ecx, 5
call fcn.00420969
cmp eax, 0
jne 0x47e342
movsx eax, bp
push eax
push str.r_d
push esi
call fcn.004dbfa0
add esp, 0xc
mov ebp, dword [edi + 0x2a7]
cmp ebp, 0
je 0x47e43c
mov eax, ebp
lea edx, [esp + 0x24]
mov ebx, 2
mov ecx, 0x59ea78
call fcn.0051a40c
cmp word [esp + 0x20], 1
jne 0x47e399
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x59ea7c
call fcn.00420750
mov ebx, eax
mov eax, ebp
mov ecx, str.Warning:
call fcn.0051a40c
jmp 0x47e3c2
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x59ea94
call fcn.00420750
mov ebx, eax
mov eax, ebp
mov ecx, str.Error_Occurred:
call fcn.0051a40c
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp esi, 0
je 0x47e3e3
mov eax, esi
call fcn.00420750
mov ebx, eax
jmp 0x47e3e8
mov ebx, 0
mov eax, ebp
mov ecx, esi
call fcn.0051a40c
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5216a0
cmp eax, 0
je 0x47e41a
mov eax, 0x5216a0
call fcn.00420750
mov ebx, eax
jmp 0x47e41f
mov ebx, 0
mov eax, ebp
mov ecx, 0x5216a0
call fcn.0051a40c
mov eax, ebp
mov ebx, 2
mov ecx, 0x59eabc
call fcn.0051a40c
mov ecx, 0x5216a0
mov eax, ecx
jmp 0x47e45e
cmp byte [eax], 0x5b
je 0x47e44c
jmp 0x47e463
mov ebx, 0x5d
call fcn.004eb904
cmp eax, 0
je 0x47e45e
inc eax
mov ecx, eax
cmp eax, 0
jne 0x47e445
cmp dword [edi + 0x2d2], 0
je 0x47e475
mov eax, esi
mov ebx, ecx
call fcn.00413af4
popal
add esp, 8
ret 4
Function at 0x47e498
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 8
pushal
mov esi, eax
mov byte [esi + 0x15], 1
mov ebx, esi
call fcn.004f33c0
cmp dword [esi + 0xd], 0
je 0x47e4bd
mov eax, esi
mov ebx, str.Freeing
mov cl, 1
call fcn.00479bc8
cmp dword [0x59fa30], 0
je 0x47e4d0
mov eax, dword [esi + 9]
push eax
call dword [0x59fa30]
cmp dword [esi + 0xd], 0
je 0x47e5bf
mov edx, 0x59f990
mov ebp, dword [esi + 0xd]
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x20], eax
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47e512
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47e517
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edi, [esp + 0x24]
mov edx, edi
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x20]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47e582
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47e587
mov ebx, 0
mov eax, ebp
mov edx, edi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47e5b7
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
lea eax, [esi + 0xd]
call fcn.0048aacc
cmp dword [esi + 0x11], 0
je 0x47e600
mov bl, 0
inc bl
mov ecx, dword [esi + 0x11]
mov al, bl
dec al
movsx eax, al
mov eax, dword [ecx + eax*4]
cmp eax, 0
je 0x47e5f1
call fcn.0046688c
inc bl
mov ecx, dword [esi + 0x11]
mov al, bl
dec al
movsx eax, al
mov eax, dword [ecx + eax*4]
jmp 0x47e5d6
mov eax, dword [esi + 0x11]
call fcn.0046688c
mov dword [esi + 0x11], 0
mov ebx, esi
call fcn.004f3418
popal
add esp, 8
ret
Function at 0x47e6a4
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 0x14
pushal
mov esi, eax
mov ebx, esi
call fcn.004f33c0
mov eax, dword [esi + 0x11]
mov eax, dword [eax + 0x1ff]
mov ebp, dword [eax + 0xd]
jmp 0x47e6d9
mov eax, dword [esi + 0x11]
cmp byte [eax + 0xea], 0
jne 0x47e6e4
cmp byte [esi + 0x118], 0
jne 0x47e6e4
jmp 0x47e7e8
cmp dword [esi + 0xd], 0
jne 0x47e6bf
jmp 0x47e7e8
cmp ebp, 0
je 0x47e6f9
mov eax, esi
mov ebx, ebp
mov ecx, 0x59eef8
mov dl, 1
call fcn.0047d67c
mov eax, dword [esi + 0xd]
push eax
call dword [0x59f9f8]
cmp ebp, 0
je 0x47e7e8
mov edx, 0x59ef08
mov edi, ebp
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x28], eax
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47e743
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47e748
mov ebx, 0
mov eax, edi
mov ecx, edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], edx
call fcn.0051a40c
mov eax, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x28]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47e7b3
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47e7b8
mov ebx, 0
mov eax, edi
mov edx, dword [esp + 0x20]
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47e7e8
push edi
call sub.KERNEL32.dll_FlushFileBuffers
cmp dword [esi + 0xd], 0
je 0x47e8fb
cmp ebp, 0
je 0x47e807
mov eax, esi
mov ebx, ebp
mov ecx, 0x59ef0c
mov dl, 1
call fcn.0047d67c
mov eax, dword [esi + 0xd]
push eax
call dword [0x59f9fc]
cmp ebp, 0
je 0x47e8f4
mov edx, 0x59ef14
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x24], eax
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47e84f
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47e854
mov ebx, 0
mov eax, ebp
mov ecx, edx
lea edi, [esp + 0x30]
mov edx, edi
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x24]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, ebp
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47e8bf
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47e8c4
mov ebx, 0
mov eax, ebp
mov edx, edi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, ebp
mov edx, edi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47e8f4
push ebp
call sub.KERNEL32.dll_FlushFileBuffers
mov dword [esi + 0xd], 0
mov eax, dword [esi + 0x11d]
call fcn.0046688c
mov eax, esi
add eax, 9
mov ebx, esi
call fcn.004f3418
popal
add esp, 0x14
ret
Function at 0x47e92c
Capabilities:
Packed with generic packer

Disassembly:
sub esp, 8
pushal
mov ebp, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x11]
mov eax, dword [eax + 0x1ff]
mov al, byte [eax + 0x15]
cmp al, 0
je 0x47e956
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x11]
mov eax, dword [eax + 0x1ff]
mov edi, dword [eax + 0xd]
jmp 0x47e95f
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x2a7]
cmp dword [ebp + 4], 0
je 0x47ea6d
cmp edi, 0
je 0x47e97e
mov eax, ebp
mov ebx, edi
mov ecx, 0x59f4dc
mov dl, 1
call fcn.0047cc4c
push 1
mov eax, dword [ebp + 4]
push eax
call dword [0x59f9b8]
cmp edi, 0
je 0x47ea6d
mov edx, 0x59f4e4
call fcn.0040fbf0
sub eax, dword [0x52169c]
mov dword [esp + 0x20], eax
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
cmp edx, 0
je 0x47e9c8
mov eax, edx
call fcn.00420750
mov ebx, eax
jmp 0x47e9cd
mov ebx, 0
mov eax, edi
mov ecx, edx
lea esi, [esp + 0x24]
mov edx, esi
call fcn.0051a40c
mov eax, edi
mov edx, esi
mov ebx, 0xc
mov ecx, str._Time_Taken:
call fcn.0051a40c
mov eax, dword [esp + 0x20]
mov ebx, 0x64
cdq
idiv ebx
push edx
push eax
push str._ld._02ld_secs
push 0x5218a0
call fcn.004dbfa0
add esp, 0x10
mov eax, edi
mov ebx, 0
mov ecx, 2
call fcn.0051a48c
mov eax, 0x5218a0
cmp eax, 0
je 0x47ea38
mov eax, 0x5218a0
call fcn.00420750
mov ebx, eax
jmp 0x47ea3d
mov ebx, 0
mov eax, edi
mov edx, esi
mov ecx, 0x5218a0
call fcn.0051a40c
mov eax, edi
mov edx, esi
mov ebx, 2
mov ecx, 0x59eae4
call fcn.0051a40c
cmp byte [0x59f994], 0
je 0x47ea6d
push edi
call sub.KERNEL32.dll_FlushFileBuffers
mov dword [ebp + 4], 0
cmp dword [ebp + 0x19], 0
je 0x47ea8b
mov ecx, dword [ebp + 0x19]
mov ebx, ecx
call fcn.004f3418
mov eax, ecx
call fcn.004dbf80
cmp dword [ebp + 0x1d], 0
je 0x47eaa2
mov ecx, dword [ebp + 0x1d]
mov ebx, ecx
call fcn.004f3418
mov eax, ecx
call fcn.004dbf80
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x31], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0xfffffffd
popal
add esp, 8
ret

Function at 0x4884b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push ecx
push edx
push esi
mov ebx, eax
cmp ebx, 0
jne 0x4884c6
mov ebx, 0x521d44
lea esi, [esp + 0x10]
push esi
push 0x104
call sub.KERNEL32.dll_GetTempPathA
push ebx
push 0
push 0x5a0288
push esi
call sub.KERNEL32.dll_GetTempFileNameA
mov eax, ebx
pop esi
pop edx
pop ecx
pop ebx
add esp, 0x104
ret
Function at 0x48d7e4
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ecx
push edx
push esi
mov esi, eax
cmp byte [ebx], 0
jne 0x48d879
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareTopSpeedMSSQL
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x48d84c
lea eax, [esp + 0x10]
push eax
push 0x521e54
lea eax, [esp + 0x1c]
push eax
push 0
push 0x5a0544
push dword [esp + 0x20]
call sub.ADVAPI32.dll_RegQueryValueExA
cmp eax, 0
je 0x48d858
mov byte [0x521e54], 0
mov byte [ebx], 1
cmp byte [0x521e54], 0
jne 0x48d872
mov byte [ebx], 2
movsx eax, byte [ebx]
sub eax, 2
mov eax, dword [esi + eax*4]
jmp 0x48d884
mov eax, 0x521e54
jmp 0x48d884
inc byte [ebx]
movsx eax, byte [ebx]
sub eax, 2
mov eax, dword [esi + eax*4]
pop esi
pop edx
pop ecx
add esp, 0xc
ret
Function at 0x4a7ac0
Capabilities:
Resolve dns

Disassembly:
sub esp, 8
pushal
lea eax, [esp + 0x20]
call fcn.00425dec
mov eax, 0x110
call fcn.00467104
mov esi, eax
mov eax, esi
mov ebx, 0x5aa2a4
mov ecx, 0
call fcn.00423ae0
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
call fcn.00425f5c
call fcn.004206fb
lea edi, [esi]
mov eax, edi
mov ebx, 0x50
call fcn.00426028
lea eax, [esi + 0xb0]
mov ebx, 0x50
mov ecx, str.Trying_a_DNS_lookup_of_Host_
mov edx, 0
call fcn.004208b6
push edi
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0x108], eax
cmp dword [esi + 0x108], 0xffffffff
jne 0x4a7be1
lea eax, [esi]
push eax
call sub.WSOCK32.dll_gethostbyname
mov dword [esi + 0x10c], eax
cmp dword [esi + 0x10c], 0
je 0x4a7c46
mov eax, dword [esi + 0x10c]
lea ebx, [esi + 0x50]
mov ecx, 0x10
call fcn.0041ca1c
cmp dword [esi + 0x5c], 0
je 0x4a7c46
mov eax, dword [esi + 0x5c]
mov eax, dword [eax]
mov dword [esi + 0x104], eax
cmp dword [esi + 0x104], 0
je 0x4a7c46
mov eax, dword [esi + 0x104]
mov eax, dword [eax]
mov dword [esi + 0x100], eax
cmp dword [esi + 0x100], 0
je 0x4a7c46
mov eax, dword [esi + 0x100]
push eax
call sub.WSOCK32.dll_inet_ntoa
call fcn.004260bc
lea ecx, [esi + 0x60]
mov eax, ecx
mov ebx, 0x50
call fcn.00426028
mov eax, ecx
call fcn.004260bc
lea eax, [esi + 0xb0]
mov ebx, 0x50
call fcn.00425cd8
jmp 0x4a7c46
push 2
push 4
lea eax, [esi + 0x108]
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov dword [esi + 0x10c], eax
cmp dword [esi + 0x10c], 0
je 0x4a7c46
mov eax, dword [esi + 0x10c]
lea ebx, [esi + 0x50]
mov ecx, 0x10
call fcn.0041ca1c
mov eax, dword [esi + 0x50]
call fcn.004eb6f4
call fcn.004260bc
lea ecx, [esi + 0x60]
mov eax, ecx
mov ebx, 0x50
call fcn.00426028
mov eax, ecx
call fcn.004260bc
lea eax, [esi + 0xb0]
mov ebx, 0x50
call fcn.00425cd8
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
call fcn.00425f5c
call fcn.004206fb
mov eax, str.Trying_a_DNS_lookup_of_Host_
mov ebx, 0x1e
call fcn.00425f5c
call fcn.004254a0
mov eax, str._Result_
mov ebx, 0xa
call fcn.00425f5c
call fcn.00425618
lea ecx, [esi + 0xb0]
mov eax, ecx
mov ebx, 0x50
call fcn.00425f5c
call fcn.004206fb
call fcn.00425618
mov eax, str.DNSblocking
mov ebx, 0xb
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
mov eax, ecx
mov ebx, 0x50
call fcn.00425f5c
call fcn.00425e70
mov eax, esi
call fcn.0046688c
lea eax, [esp + 0x20]
call fcn.004133a8
popal
add esp, 8
ret
Function at 0x4c0d40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
enter 0, 2
pushal
mov dword [0x53b65c], 1
mov esi, dword [ebp - 4]
lea eax, [esi - 0x5c]
push eax
lea eax, [esi - 0x6c]
push eax
push dword [0x53b4f8]
call sub.WSOCK32.dll_getsockname
mov dword [esi - 0x84], eax
cmp dword [esi - 0x84], 0
jne 0x4c0e0c
lea eax, [esi - 0x30]
mov ebx, 0x28
mov ecx, str.This_socket_is_connected_using_Local_IP_
mov edx, 0
call fcn.004208b6
mov eax, dword [esi - 0x68]
push eax
call sub.WSOCK32.dll_inet_ntoa
call fcn.004260bc
lea edi, [esi - 0x58]
mov eax, edi
mov ebx, 0x20
call fcn.00425cd8
lea ecx, [esi - 0x6c]
mov eax, 0x53b510
mov ebx, 0x10
mov edx, 0x10
call fcn.004208b6
cmp dword [0x5c290c], 0
je 0x4c0e4b
mov eax, edi
mov ebx, 0x20
call fcn.00425f5c
call fcn.004206fb
mov eax, str.This_socket_is_connected_using_Local_IP_
mov ebx, 0x2a
call fcn.00425f5c
call fcn.004254a0
mov eax, 0x5b9364
mov ebx, 0x26
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
jmp 0x4c0e4b
lea eax, [esi - 0x30]
mov ebx, 0x28
mov ecx, str._unknown_
mov edx, 9
call fcn.004208b6
mov eax, str.Error._Getsockname_failed._Could_not_find_out_the_local_IP_on_this_socket
mov ebx, 0x49
call fcn.00425f5c
mov eax, 0x5b93e4
mov ebx, 0x26
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov dword [0x53b548], 0
cmp dword [0x53b540], 0
jle 0x4c0e6e
mov dword [0x53b540], 0
dec dword [0x5c2cd4]
mov dword [0x53b544], 0
cmp dword [0x5c2cdc], 0
je 0x4c0e94
cmp dword [0x53b650], 0
je 0x4c0e94
call fcn.00426eac
mov dword [0x53b654], eax
mov eax, 0x5c2648
call fcn.00426254
cmp dword [0x53b664], 1
jne 0x4c0f2b
cmp dword [0x53b66c], 0
jne 0x4c0f2b
cmp word [esi - 0x86], 0
jne 0x4c0f2b
cmp dword [0x5c290c], 0
je 0x4c0eef
mov eax, str.SSL._About_to_call_SSL_Our_ClientSwitchToSSL.
mov ebx, 0x2d
call fcn.00425f5c
mov eax, 0x5b943c
mov ebx, 0x26
call fcn.00425f5c
mov eax, 0
call fcn.004a7a20
call fcn.004c892c
mov dword [esi - 0x84], eax
cmp dword [esi - 0x84], 0
je 0x4c0f2b
mov eax, str.Error_________SSL._SSL_Our_ClientSwitchToSSL_failed._We_didnt_expect_this_to_happen_and_did_no_recovery_____Contact_CapeSoft_Support____
mov ebx, 0x89
call fcn.00425f5c
mov eax, str.SimpleClient_Async___ProcessConnection
mov ebx, 0x26
call fcn.00425f5c
mov eax, 0x64
call fcn.004a7a20
mov dword [esi - 0x84], 0
cmp word [esi - 0x86], 0
je 0x4c0f44
call fcn.004c0c30
cmp word [esi - 0x86], 0
je 0x4c0f99
mov dword [0x53b530], 1
call fcn.00426eac
mov dword [0x53b534], eax
mov dword [0x53b538], 1
mov dword [0x53b520], 0
cmp dword [0x53b540], 0
jle 0x4c0f8f
mov dword [0x53b540], 0
dec dword [0x5c2cd4]
mov eax, 0x5c2648
call fcn.00426254
cmp dword [0x53b664], 0
je 0x4c0fbe
cmp dword [0x53b664], 1
jne 0x4c0fb4
cmp dword [0x53b66c], 1
je 0x4c0fbe
cmp word [esi - 0x86], 0
je 0x4c101c
lea ecx, [esi - 0x30]
mov eax, ecx
mov ebx, 0x28
call fcn.00425f5c
call fcn.004206fb
mov eax, ecx
mov ebx, 0x28
call fcn.00425f5c
call fcn.004206fb
call fcn.004257d8
push dword [0x53b504]
push dword [0x53b4f8]
push dword [0x53b4fc]
push dword [0x53b528]
push dword [0x53b524]
movsx ecx, word [esi - 0x86]
mov ebx, 0
mov edx, 0
call fcn.004b64a8
popal
leave
ret
Function at 0x4c34f8
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x110
push ebx
push esi
lea eax, [esp + 8]
call fcn.00425dec
mov byte [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, 0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
call fcn.00425f5c
call fcn.004257d8
mov ebx, eax
cmp ebx, 0x100
jge 0x4c355f
lea esi, [esp + 0x18]
mov eax, esi
mov ebx, 0x100
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00420884
push esi
call sub.KERNEL32.dll_OutputDebugStringA
jmp 0x4c359e
inc ebx
mov eax, ebx
call fcn.00423ab8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00420884
push dword [esp + 0x10]
call sub.KERNEL32.dll_OutputDebugStringA
mov eax, dword [esp + 0x10]
call fcn.0046688c
mov dword [esp + 0x10], 0
mov ebx, 0
lea eax, [esp + 8]
call fcn.004133a8
mov eax, ebx
pop esi
pop ebx
add esp, 0x110
ret