Function at 0x44e130
Capabilities:
Get common file path

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 0x535ee4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1118
call fcn.00501720
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10e0], eax
mov esi, dword [eax + 0x14]
cmp esi, dword [eax + 0x18]
je 0x44e8b3
nop dword [eax]
mov edi, dword [esi]
test edi, edi
je 0x44e8a7
push 0x400
lea eax, [ebp - 0x828]
mov dword [ebp - 0x10e8], 0x20019
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x200
push 0
push eax
call fcn.00503920
mov eax, dword [ebp - 0x10e0]
add esp, 0xc
cmp dword [eax + 0x10], 0
je 0x44e25b
mov eax, dword [edi + 0x3a20]
cmp eax, 1
jne 0x44e1f3
mov dword [ebp - 0x10e4], getpeername
jmp 0x44e239
cmp eax, 2
jne 0x44e204
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_accept
jmp 0x44e239
cmp eax, 3
jne 0x44e215
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_bind
jmp 0x44e239
cmp eax, 4
jne 0x44e226
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_closesocket
jmp 0x44e239
cmp eax, 5
jne 0x44e8a1
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_getpeername
cmp byte [edi + 0x3e24], 0
mov eax, 0x20119
mov ecx, 0x20019
cmove eax, ecx
mov dword [ebp - 0x10e8], eax
lea eax, [edi + 0x3a24]
jmp 0x44e2be
mov eax, dword [edi + 0x361c]
cmp eax, 1
jne 0x44e272
mov dword [ebp - 0x10e4], getpeername
jmp 0x44e2b8
cmp eax, 2
jne 0x44e283
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_accept
jmp 0x44e2b8
cmp eax, 3
jne 0x44e294
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_bind
jmp 0x44e2b8
cmp eax, 4
jne 0x44e2a5
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_closesocket
jmp 0x44e2b8
cmp eax, 5
jne 0x44e8a1
mov dword [ebp - 0x10e4], reloc.WS2_32.dll_getpeername
lea eax, [edi + 0x3620]
test eax, eax
je 0x44e8a1
cmp byte [eax], 0
je 0x44e8a1
push eax
lea eax, [ebp - 0x828]
push 0x400
push eax
call fcn.0050c68a
lea eax, [edi + 0x3e25]
add esp, 0xc
test eax, eax
je 0x44e8a1
cmp byte [eax], 0
je 0x44e8a1
push eax
lea eax, [ebp - 0x428]
push 0x200
push eax
call fcn.0050c68a
add esp, 0xc
mov dword [ebp - 0x10dc], 0
lea eax, [ebp - 0x10dc]
push eax
push dword [ebp - 0x10e8]
lea eax, [ebp - 0x828]
push ecx
push eax
push dword [ebp - 0x10e4]
push ecx
call fcn.00415290
add esp, 4
mov ecx, eax
call fcn.00456150
test eax, eax
jne 0x44e38f
push eax
push eax
push eax
push ecx
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x10dc]
call fcn.00415290
mov ecx, eax
call fcn.004561d0
test eax, eax
jne 0x44e38f
mov dword [edi + 0x3084], 3
push dword [ebp - 0x10dc]
push ecx
call fcn.00415290
add esp, 4
mov ecx, eax
call fcn.00456250
jmp 0x44e8a1
mov eax, dword [ebp - 0x10dc]
test eax, eax
je 0x44e3aa
push eax
push ecx
call fcn.00415290
add esp, 4
mov ecx, eax
call fcn.00456250
cmp byte [edi + 0x4249], 0
je 0x44e712
push 0x105
lea eax, [ebp - 0x228]
mov dword [ebp - 0x10e8], 0
push 0
push eax
mov dword [ebp - 0x10e4], 0
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x44e603
lea ecx, [edi + 0x408]
test ecx, ecx
je 0x44e603
cmp byte [ecx], 0
je 0x44e603
lea eax, [edi + 0xc08]
test eax, eax
je 0x44e603
cmp byte [eax], 0
je 0x44e603
mov dword [ebp - method.CCURLWrapper.virtual_0], vtable.CCURLWrapper.0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x228]
push eax
push ecx
call fcn.004482a0
test eax, eax
jne 0x44e5f2
push 0x105
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x120]
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [edi + 0xc08]
push eax
lea eax, [ebp - 0x120]
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push ecx
call fcn.004074f0
add esp, 4
mov ecx, eax
call fcn.00457df0
test eax, eax
je 0x44e5f2
lea eax, [ebp - 0x120]
mov dword [ebp - 0x10e8], 1
push eax
push ecx
call fcn.004074f0
add esp, 4
mov ecx, eax
call fcn.00457f10
lea eax, [edi + 0x242c]
test eax, eax
je 0x44e52e
cmp byte [eax], 0
je 0x44e52e
push 0x5603f8
lea eax, [ebp - 0x120]
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [edi + 0x242c]
push eax
lea eax, [ebp - 0x120]
push 0x105
push eax
call fcn.00507fcc
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10b8], 0x44
mov word [ebp - 0x1076], ax
xorps xmm0, xmm0
mov word [ebp - 0x1088], ax
lea eax, [ebp - 0x1068]
push eax
lea eax, [ebp - 0x10b8]
movlpd qword [ebp - 0x10b4], xmm0
push eax
sub esp, 0xc
movlpd qword [ebp - 0x10ac], xmm0
lea eax, [ebp - 0x120]
movlpd qword [ebp - 0x10a4], xmm0
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x1094], xmm0
push 0
sub esp, 8
movlpd qword [ebp - 0x1086], xmm0
movlpd qword [ebp - 0x107e], xmm0
mov dword [ebp - 0x108c], 0x101
movups xmmword [ebp - 0x1068], xmm0
push eax
push ecx
call fcn.00412f10
mov ecx, eax
call fcn.00457370
test eax, eax
je 0x44e5f2
push 0
push dword [ebp - 0x1068]
mov dword [ebp - 0x10e4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1068]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1064]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.CCURLWrapper.virtual_0], vtable.CCURLWrapper.0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1058]
push 0
movups xmmword [ebp - 0x1058], xmm0
movq qword [ebp - 0x1048], xmm0
call fcn.0045a9f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1108]
push dword [edi]
call fcn.0045aaf0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1108]
push eax
push 0x561f20
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1108]
call fcn.0045b000
push dword [ebp - 0x10e8]
lea ecx, [ebp - 0x10d0]
call fcn.0045aaf0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10d0]
push eax
push 0x561f24
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10d0]
call fcn.0045b000
push dword [ebp - 0x10e4]
lea ecx, [ebp - 0x1120]
call fcn.0045aaf0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1120]
push eax
push 0x561f28
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1120]
call fcn.0045b000
mov ecx, dword [ebp - 0x10e0]
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ecx + 0x28]
call fcn.0045c180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1058]
call fcn.0045b000
cmp byte [edi + 0x3619], 0
je 0x44e8a1
push 0x55fa70
lea eax, [edi + 0x808]
push 0
push eax
push ecx
call fcn.004074f0
add esp, 4
mov ecx, eax
call fcn.00457ea0
test eax, eax
je 0x44e8a1
push 0x800
lea eax, [ebp - 0x1028]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [edi + 0x1008]
push eax
lea eax, [ebp - 0x1028]
push 0x800
push eax
call fcn.0050c68a
add esp, 0xc
lea eax, [edi + 0x808]
push eax
lea eax, [ebp - 0x1028]
push 0x800
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [ebp - 0x1028]
push eax
push ecx
call fcn.004074f0
add esp, 4
mov ecx, eax
call fcn.00457df0
test eax, eax
je 0x44e8a1
add edi, 0x242c
cmp byte [edi], 0
je 0x44e7e9
push 0x5603f8
lea eax, [ebp - 0x1028]
push 0x800
push eax
call fcn.00507fcc
add esp, 0xc
lea eax, [ebp - 0x1028]
push edi
push 0x800
push eax
call fcn.00507fcc
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10b8], 0x44
mov word [ebp - 0x1076], ax
xorps xmm0, xmm0
mov word [ebp - 0x1088], ax
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x10b8]
movlpd qword [ebp - 0x10b4], xmm0
push eax
sub esp, 0xc
movlpd qword [ebp - 0x10ac], xmm0
lea eax, [ebp - 0x1028]
movlpd qword [ebp - 0x10a4], xmm0
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x1094], xmm0
push 0
sub esp, 8
movlpd qword [ebp - 0x1086], xmm0
movlpd qword [ebp - 0x107e], xmm0
mov dword [ebp - 0x108c], 0x101
movups xmmword [ebp - 0x1038], xmm0
push eax
push ecx
call fcn.00412f10
mov ecx, eax
call fcn.00457370
test eax, eax
je 0x44e8a1
push 0
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1038]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1034]
call edi
mov eax, dword [ebp - 0x10e0]
add esi, 4
cmp esi, dword [eax + 0x18]
jne 0x44e190
lea esi, [eax + 0x28]
mov ecx, esi
call fcn.0045c660
test al, al
jne 0x44eb5a
xorps xmm0, xmm0
lea ecx, [ebp - 0x1058]
push 0
movups xmmword [ebp - 0x1058], xmm0
movq qword [ebp - 0x1048], xmm0
call fcn.0045a9f0
mov dword [ebp - 4], 5
call fcn.00418fd0
add eax, 0x74
cmp dword [eax + 0x14], 0x10
jb 0x44e8fb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1120]
call fcn.0045abe0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1120]
push eax
push 0x55f740
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1120]
call fcn.0045b000
call fcn.00418fd0
lea ecx, [ebp - 0x1120]
push dword [eax + 4]
call fcn.0045aaf0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1120]
push eax
push 0x561f2c
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1120]
call fcn.0045b000
push esi
push str.bench
lea ecx, [ebp - 0x1058]
call fcn.0045c0f0
mov ecx, eax
call fcn.0045b130
lea ecx, [ebp - 0x10d8]
call fcn.0046b4e0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1108]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.0046b540
mov byte [ebp - 4], 9
mov edx, 0x561f38
push eax
lea ecx, [ebp - 0x1070]
call fcn.0041d9f0
add esp, 4
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x10f4]
cmp edx, 0x10
jb 0x44ea12
mov ecx, dword [ebp - 0x1108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ea08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eb78
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x10f8], 0
mov dword [ebp - 0x10f4], 0xf
mov byte [ebp - 0x1108], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov byte [ebp - 4], 0xc
call fcn.00418fd0
cmp dword [eax + 0x58], 8
lea ecx, [eax + 0x44]
jb 0x44ea70
mov ecx, dword [ecx]
lea eax, [ebp - 0x1040]
mov edx, 0x561f3c
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.004702a0
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x102c]
cmp edx, 0x10
jb 0x44eac9
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44eabf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eb7d
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x105c]
cmp edx, 0x10
jb 0x44eb1e
mov ecx, dword [ebp - 0x1070]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44eb14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44eb82
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10d8]
call fcn.004195d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1058]
call fcn.0045b000
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.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00508868
call fcn.00508868
call fcn.00508868
int3