Function at 0x45cee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ea480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [esp + 0xc], ecx
push ebp
lea ecx, [esp + 0x6c]
call fcn.00445160
mov eax, dword [0x51d43c]
xor ebp, ebp
cmp eax, ebp
jne 0x45cf28
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
lea ecx, [esp + 0x6c]
call fcn.00445610
push 2
mov dword [esp + 0xc], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 8], eax
je 0x45cf4a
mov word [eax], bp
push 2
mov dword [esp + 0x68], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x45cf63
mov word [eax], bp
push 2
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x45cf78
mov word [eax], bp
push 2
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x45cf8d
mov word [eax], bp
push ebx
push esi
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x70], 3
mov dword [esp + 0x38], 2
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 6
mov byte [esp + 0x12], 0
call fcn.00443850
mov esi, dword [esp + 0x78]
push 0xf
push esi
xor bl, bl
push str.__gethostbyname
mov byte [esp + 0x1d], bl
call fcn.004449d0
add esp, 0x10
test al, al
je 0x45d06e
add esi, 0x1e
mov dword [esp + 0x74], esi
mov ax, word [esi]
cmp ax, bp
je 0x45cffe
cmp ax, 9
jb 0x45cff8
cmp ax, 0xd
jbe 0x45cffe
cmp ax, 0x20
jne 0x45d007
mov byte [esp + 0xd], 1
mov bl, byte [esp + 0xd]
cmp ax, bp
je 0x45d050
lea esp, [esp]
cmp ax, 9
jb 0x45d01c
cmp ax, 0xd
jbe 0x45d045
cmp ax, 0x20
je 0x45d045
cmp ax, 0x2a
jne 0x45d02d
or bl, 2
jmp 0x45d036
cmp ax, 0x23
jne 0x45d036
or bl, 4
add esi, 2
mov dword [esp + 0x74], esi
mov ax, word [esi]
cmp ax, bp
jne 0x45d010
mov byte [esp + 0xd], bl
lea esp, [esp]
mov ax, word [esi]
cmp ax, 9
jb 0x45d05f
cmp ax, 0xd
jbe 0x45d065
cmp ax, 0x20
jne 0x45d06e
add esi, 2
mov dword [esp + 0x74], esi
jmp 0x45d050
push edi
push str.__file
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [esp + 0x78]
mov edi, eax
push edi
push esi
push str.__file
call fcn.00444970
add esp, 0xc
test al, al
je 0x45d0b8
lea edx, [esp + 0x78]
lea ecx, [esi + edi*2]
push edx
mov dword [esp + 0x7c], ecx
call fcn.00443850
mov esi, dword [esp + 0x7c]
add esp, 4
mov byte [esp + 0x12], 1
mov dword [esp + 0x30], 0xffffffff
cmp word [esi], 0x2a
mov byte [esp + 0x13], 0
jne 0x45d0dc
lea eax, [esp + 0x78]
add esi, 2
push eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x7c], esi
call fcn.00443850
add esp, 4
push 0x3b
push 0x2c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x84]
push edx
call fcn.0043de70
test bl, bl
je 0x45d40a
push 2
mov dword [esp + 0x24], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x45d117
mov word [eax], bp
push 0x3b
push 0x2c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x80], 4
call fcn.0043de70
lea edx, [esp + 0x20]
xor ebx, ebx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], 4
xor edi, edi
mov dword [esp + 0x34], ebx
call fcn.004165f8
push 2
call fcn.00449130
mov ebp, eax
add esp, 4
cmp ebp, edi
mov dword [esp + 0x40], ebp
je 0x45d16f
mov word [ebp], di
mov eax, dword [esp + 0x3c]
cmp eax, edi
mov byte [esp + 0x70], 6
mov dword [esp + 0x34], edi
lea esi, [esp + 0x34]
mov byte [esp + 0x7c], 1
mov dword [esp + 0x18], edi
je 0x45d1e2
cmp byte [eax], 0
je 0x45d1aa
push eax
call dword [0x51d484]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x45d1e2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
push eax
call dword [0x51d488]
cmp eax, edi
je 0x45d1e2
mov cx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov word [esp + 0x38], cx
cmp dword [eax], edi
mov dword [esp + 0x18], eax
je 0x45d1e2
mov dl, byte [esp + 0x11]
mov byte [esp + 0x7c], dl
mov esi, dword [eax]
cmp esi, edi
je 0x45d349
add dword [esp + 0x18], 4
xor edi, edi
test byte [esp + 0x11], 4
push ebp
je 0x45d28e
lea eax, [ebx + ebx + 0x42]
call fcn.00449190
mov ebp, eax
add esp, 4
cmp ebp, edi
mov dword [esp + 0x40], ebp
je 0x45d209
mov word [ebp + ebx*2 + 0x40], di
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
movsx ecx, word [esp + 0x38]
cmp ecx, 0x20
lea eax, [ebp + ebx*2]
mov dword [esp + 0x78], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
jbe 0x45d246
mov ecx, 0x20
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push str.0x_08I64X
push ecx
push edx
push eax
call fcn.004a4880
mov eax, dword [esp + 0x88]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x78], ecx
jmp 0x45d31a
movsx edi, word [esp + 0x3c]
mov eax, dword [esp + 0x34]
lea edx, [edi + edi*2]
lea ebx, [eax + edx*2]
lea eax, [ebx + ebx + 2]
call fcn.00449190
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x40], ebp
je 0x45d2ba
mov word [ebp + ebx*2], 0
mov ecx, dword [esp + 0x30]
lea eax, [ebp + ecx*2]
lea edx, [edi - 1]
test edx, edx
mov dword [esp + 0x78], eax
lea ecx, [eax + 2]
mov dword [esp + 0x44], eax
jl 0x45d30e
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea edi, [edx + 1]
lea ecx, [ecx]
movzx ecx, byte [esi]
push ecx
push 0x4f9be4
push eax
call ebx
mov edx, dword [esp + 0x84]
add esp, 0xc
push edx
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec edi
mov ecx, dword [esp + 0x78]
lea eax, [ecx + eax*2]
mov dword [esp + 0x78], eax
mov ecx, eax
jne 0x45d2e0
mov ebx, dword [esp + 0x30]
sub ecx, 2
mov word [ecx], 0
test byte [esp + 0x7c], 2
je 0x45d349
mov edx, dword [esp + 0x18]
cmp dword [edx], 0
je 0x45d349
mov edi, dword [esp + 0x44]
mov word [ecx], 0x20
sub ecx, edi
add ecx, 2
sar ecx, 1
add ebx, ecx
mov dword [esp + 0x30], ebx
xor edi, edi
mov eax, edx
jmp 0x45d1d1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ebp
push eax
call fcn.00448be0
test ebp, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x45d371
mov ecx, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push ecx
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45d388
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45d39e
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], 0
je 0x45d3bd
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45d3d4
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push edx
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45d3ea
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push 0
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45d79f
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push 0
push ecx
call esi
jmp 0x45d79f
mov al, byte [esp + 0x12]
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x45d61a
mov ecx, dword [esp + 0x78]
xor edx, edx
mov dx, word [ecx]
mov esi, SysReAllocStringLen
mov edi, 3
and edx, 0xffdf
cmp dx, 0x57
jne 0x45d44c
add ecx, 2
mov esi, 0xc0000000
mov edi, 4
mov dword [esp + 0x78], ecx
mov ax, word [ecx]
cmp ax, bp
je 0x45d46f
add ecx, 2
cmp ax, 0x2c
mov dword [esp + 0x78], ecx
je 0x45d46f
cmp ax, 0x3b
je 0x45d46f
mov ax, word [ecx]
cmp ax, bp
jne 0x45d454
push 2
mov dword [esp + 0x1c], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x45d488
mov word [eax], bp
push ebp
push 0x2c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x80], 7
call fcn.0043de70
mov edx, dword [esp + 0x18]
push edx
call fcn.00422077
add esp, 4
push ebp
push ebp
push edi
push ebp
push 7
push esi
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebp
call fcn.00417e55
mov esi, eax
cmp esi, ebp
jne 0x45d56a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x45d4f8
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov dword [esp + 0x18], ebp
je 0x45d512
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x45d528
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x45d53d
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x45d553
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x70], 3
je 0x45d585
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call ebx
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
mov edi, dword [esp + 0x1c]
jne 0x45d71e
push edi
call fcn.004216e2
mov ecx, dword [edi + 0x2c]
add esp, 4
cmp ecx, ebp
jne 0x45d71e
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x45d5bf
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call ebx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x45d5d5
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x45d5ea
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call ebx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x45d600
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call ebx
pop edi
pop esi
pop ebx
mov eax, 0x80070057
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x78]
cmp word [eax], bp
je 0x45d689
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0044ce90
mov eax, dword [esp + 0x80]
add esp, 8
cmp word [eax], bp
je 0x45d689
mov ecx, eax
mov esi, 2
add ecx, esi
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0044ce90
mov eax, dword [esp + 0x80]
add esp, 8
cmp word [eax], bp
je 0x45d689
lea ecx, [esp + 0x3c]
mov edi, eax
push ecx
lea edx, [esp + 0x7c]
add edi, esi
push edx
mov dword [esp + 0x80], edi
call fcn.0044ce90
add esp, 8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call dword [0x51d43c]
mov esi, eax
cmp esi, ebp
jg 0x45d585
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x45d6c3
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x45d6d9
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x45d6ef
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x45d704
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 8
mov al, byte [esp + 0x13]
test al, al
mov eax, edi
jne 0x45d72e
mov eax, dword [ecx + 0x13c]
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push edx
push esi
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00449c40
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x45d75e
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call ebx
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x45d774
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x45d78a
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call ebx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x45d79f
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call ebx
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 8