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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, edx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], eax
jne 0x423ff5
mov ecx, dword [esi]
test cl, 8
je 0x423c1f
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, dword [esp + 0x18c]
and ecx, 0xffffff0f
mov edx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x20], eax
and eax, 0xffffffcf
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x60], 0
mov dword [esi], ecx
mov dword [esp + 0x2c], edx
sub eax, 1
je 0x423df4
sub eax, 1
je 0x423d0a
sub eax, 6
je 0x423ce0
mov ebp, dword [esp + 0x180]
test ebp, ebp
je 0x423ff5
mov edx, dword [esp + 0x184]
mov eax, edx
mov edi, dword [esp + 0x188]
or eax, edi
je 0x423ff5
mov eax, dword [esp + 0x24]
or ecx, 0xa0
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edi
mov dword [esi], ecx
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esp + 0x14], eax
jmp 0x423d87
mov eax, dword [esp + 0x24]
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esp + 0x28], 0x41c00010
mov dword [esp + 0x14], eax
jmp 0x423e71
mov edi, dword [esp + 0x180]
test edi, edi
je 0x423ff5
test byte [esp + 0x20], 0x10
push 0
push 0
push 3
push 0
push 3
push connect
push edi
je 0x423d38
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x423d3e
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x423d58
mov ebp, 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
push 0
push 0
lea edx, [esp + 0x40]
mov ecx, esi
call fcn.004237f0
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x423dde
or dword [esi], 0x40
test ebx, ebx
cmovne edi, ebx
mov ebx, edi
test byte [esi], 0x20
jne 0x423ef2
test byte [esp + 0x20], 0x10
mov dword [esp + 0x28], 0x81800000
push ebx
je 0x423e44
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
lea ecx, [ebx + eax*2]
movzx eax, word [ecx]
cmp eax, 0x2e
je 0x423e71
cmp ecx, ebx
jbe 0x423e69
cmp ax, 0x2f
je 0x423e69
cmp ax, 0x5c
je 0x423e69
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x423db1
jmp 0x423e71
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, dword [esp + 0x180]
mov dword [esi + 0x64], eax
test eax, eax
je 0x423ff5
cmp eax, 0xffffffff
je 0x423ff5
push dword [esp + 0x188]
lea edx, [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x188]
call fcn.004237f0
mov ebp, eax
mov dword [esp + 0x1c], eax
add esp, 8
test ebp, ebp
je 0x423d7e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
call dword [esp + 0x30]
lea ecx, [ebx - 1]
add ecx, eax
mov al, byte [ecx]
cmp al, 0x2e
je 0x423e71
cmp ecx, ebx
jbe 0x423e69
cmp al, 0x2f
je 0x423e69
cmp al, 0x5c
je 0x423e69
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x423e53
jmp 0x423e71
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x20], 0x20
jne 0x423ee8
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004c77f0
movzx ebp, word [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x30], ecx
movzx ecx, word [esp + 0x1c]
shl ebp, 0x10
or ebp, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebp
jmp 0x423f16
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
jmp 0x423f02
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add eax, 0x161
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x423f4e
lea ebx, [eax + 2]
jmp 0x423ffa
push 0x150
push 0
push edi
call fcn.004afdf0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, eax
and ecx, 0x20
mov dword [esp + 0x4c], ecx
je 0x423fa7
mov eax, 8
mov bl, 8
mov word [edi + 2], ax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 0x10]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x3c], eax
or dword [esi], 0x80000000
mov ecx, dword [esi]
mov byte [esp + 0x10], bl
jmp 0x424341
and eax, 0x10
lea ebp, [edi + 0x48]
mov dword [esp + 0x54], eax
je 0x423fda
push 0
push 0
push 0x104
push ebp
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [edi + 0x20], eax
test eax, eax
je 0x423fee
dec eax
mov dword [edi + 0x20], eax
jmp 0x423fea
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [esp + 0x30]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x424015
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 9
mov ebp, dword [esp + 0x18]
test byte [esi], 0x40
je 0x424008
push dword [esi + 0x64]
call ebp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, ebp
mov cl, byte [eax]
test cl, cl
je 0x424030
nop dword [eax]
cmp cl, 0x5c
jne 0x424028
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x424020
mov edx, dword [esp + 0x30]
lea ecx, [edi + 0x150]
mov eax, 8
mov byte [esp + 0x5d], dl
mov word [edi], ax
xor ebx, ebx
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x34], eax
lea eax, [esp + 0x58]
mov dword [edi + 0x40], eax
mov eax, edx
shr eax, 8
mov byte [esp + 0x5e], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x5f], al
shr edx, 0x18
mov byte [esp + 0x60], dl
mov edx, dword [esp + 0x34]
mov eax, edx
shr eax, 8
mov byte [esp + 0x62], al
mov eax, edx
mov byte [esp + 0x61], dl
shr eax, 0x10
mov byte [esp + 0x63], al
shr edx, 0x18
mov byte [esp + 0x64], dl
mov edx, dword [esp + 0x24]
mov eax, edx
shr eax, 8
mov byte [esp + 0x66], al
mov eax, edx
mov byte [esp + 0x65], dl
mov dword [esp + 0x58], 0xd5455
mov byte [esp + 0x5c], 7
movq xmm0, qword [esp + 0x58]
shr eax, 0x10
mov byte [esp + 0x67], al
mov dword [edi + 0x44], ecx
mov dword [edi + 0x24], 0x11
mov dword [edi + 0x28], 9
shr edx, 0x18
mov byte [esp + 0x68], dl
movq qword [ecx], xmm0
mov al, byte [esp + 0x60]
mov byte [ecx + 8], al
mov eax, dword [edi + 0x44]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], bl
mov byte [eax + 2], 5
mov eax, dword [edi + 0x44]
mov byte [eax + 4], 1
cmp dword [esp + 0x54], ebx
je 0x424189
mov ecx, dword [edi + 0x20]
mov edx, ebp
push ecx
mov word [esp + 0x6d], 0x7075
mov byte [esp + 0x71], 1
lea eax, [ecx + 0x1b]
mov dword [edi + 0x24], eax
lea eax, [ecx + 0x13]
mov dword [edi + 0x28], eax
mov al, cl
add al, 0xa
mov byte [esp + 0x6f], al
lea eax, [ecx + 0xa]
shr eax, 8
xor ecx, ecx
mov byte [esp + 0x70], al
call fcn.004233c0
mov ecx, eax
mov byte [esp + 0x72], al
shr ecx, 8
add esp, 4
mov byte [esp + 0x6f], cl
mov ecx, eax
shr eax, 0x18
mov byte [esp + 0x71], al
mov eax, dword [edi + 0x40]
shr ecx, 0x10
mov byte [esp + 0x70], cl
mov ecx, dword [edi + 0x44]
movq xmm0, qword [eax + 0x11]
movq qword [ecx + 9], xmm0
mov al, byte [eax + 0x19]
mov byte [ecx + 0x11], al
mov eax, dword [edi + 0x20]
inc eax
push eax
mov eax, dword [edi + 0x44]
add eax, 0x12
push ebp
push eax
call fcn.004b19e0
add esp, 0xc
cmp dword [esi], ebx
jge 0x424197
mov byte [esp + 0x10], 8
mov dword [edi + 0x24], ebx
jmp 0x424213
test byte [esp + 0x20], 8
je 0x4241b2
mov eax, dword [edi + 0x20]
cmp byte [eax + edi + 0x47], 0x2f
je 0x424213
mov byte [eax + edi + 0x48], 0x2f
inc dword [edi + 0x20]
jmp 0x424213
cmp dword [esi + 8], ebx
je 0x4241c7
mov eax, 9
mov dword [esp + 0x14], 0xc
mov word [edi], ax
push ebp
call dword [esp + 0x30]
lea ebx, [eax + ebp]
cmp ebx, ebp
jbe 0x4241df
cmp byte [ebx], 0x2e
je 0x4241dd
dec ebx
cmp ebx, ebp
ja 0x4241d3
cmp ebx, ebp
jne 0x4241e6
cmp byte [ebx], 0x2e
jne 0x42420a
mov ebp, 0x4d17f8
nop dword [eax + eax]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42420f
push ebp
call dword [esp + 0x30]
inc ebp
add ebp, eax
cmp byte [ebp], 0
jne 0x4241f0
mov byte [esp + 0x10], 8
mov ebx, dword [esp + 0x14]
mov ax, word [edi]
mov cl, byte [esp + 0x10]
mov word [edi + 0x30], ax
movzx eax, cl
mov word [edi + 2], ax
test cl, cl
jne 0x424246
mov edx, dword [esi + 0x50]
mov eax, edx
mov ebp, dword [esi + 0x54]
and eax, ebp
cmp eax, 0xffffffff
je 0x424246
mov eax, ebx
xor ecx, ecx
add eax, edx
mov dword [edi + 0x10], eax
adc ecx, ebp
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x50]
mov edx, esi
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
adc eax, dword [esi + 0x1c]
mov dword [edi + 0x38], ecx
mov ecx, edi
mov dword [edi + 0x3c], eax
mov dword [esi + 0x20], 0
call fcn.00422a30
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424670
mov ecx, dword [esi]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x424296
lea eax, [edx + 0xb]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
jmp 0x42433d
mov eax, dword [edi + 0x24]
add eax, 0x32
add eax, edx
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
cmp dword [esp + 0x14], 0
je 0x42433d
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4242e3
nop dword [eax]
mov dl, byte [ebx]
test dl, dl
je 0x4242e3
lea ecx, [esi + 0x38]
call fcn.004234b0
add ebx, 1
jne 0x4242d0
xor ebx, ebx
call fcn.004b8d92
sar eax, 7
mov byte [esp + ebx + 0x38], al
inc ebx
cmp ebx, 0xc
jl 0x4242e5
mov al, byte [edi + 5]
xor ebx, ebx
mov byte [esp + 0x43], al
mov dl, byte [esp + ebx + 0x38]
lea ecx, [esi + 0x38]
call fcn.00423500
mov byte [esp + ebx + 0x38], al
inc ebx
cmp ebx, 0xc
jl 0x424300
push 0xc
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.00423630
mov ebx, dword [esi + 0x20]
add esp, 4
test ebx, ebx
jne 0x424670
add dword [esi + 0x10], 0xc
adc dword [esi + 0x14], ebx
or dword [esi], 0x10
mov ecx, dword [esi]
mov bl, byte [esp + 0x10]
mov edx, dword [esi + 0x64]
test edx, edx
je 0x42442a
cmp bl, 8
jne 0x42435f
mov edx, edi
mov ecx, esi
call fcn.00423940
jmp 0x4243e9
test cl, cl
mov ecx, esi
jns 0x424393
mov ebx, dword [esi + 0x68]
push ebx
call fcn.00423630
mov edx, dword [esi + 0x64]
add esp, 4
add dword [esi + 0x58], ebx
mov ecx, dword [esi + 0x60]
adc dword [esi + 0x5c], 0
push ebx
call fcn.004233c0
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], ebx
adc dword [esi + 0x74], 0
jmp 0x4243e2
push 0x4000
lea edx, [esi + 0x84]
call fcn.00423880
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4243e2
nop dword [eax]
cmp dword [esi + 0x20], 0
jne 0x4243e2
push ebx
lea edx, [esi + 0x84]
mov ecx, esi
call fcn.00423630
add esp, 4
lea edx, [esi + 0x84]
mov ecx, esi
push 0x4000
call fcn.00423880
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4243b0
add dword [esi + 0x78], ebx
adc dword [esi + 0x7c], 0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424670
mov ecx, dword [esi]
mov ebp, dword [esp + 0x18]
and ecx, 0xffffffef
mov dword [esi], ecx
test cl, 0x40
je 0x42440b
push dword [esi + 0x64]
call ebp
mov ecx, dword [esi]
mov eax, dword [esi + 0x58]
and ecx, 0xffffffbf
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x78]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x7c]
adc dword [esi + 0x14], eax
mov dword [esi], ecx
jmp 0x42442e
mov ebp, dword [esp + 0x18]
test ecx, ecx
jns 0x42448a
or ecx, 8
cmp dword [esp + 0x4c], 0
mov dword [esi], ecx
jne 0x424652
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.00423570
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.00423570
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.00423570
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.00423570
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424674
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, ecx
mov ebx, edx
add eax, dword [esi + 0x78]
adc ebx, dword [esi + 0x7c]
cmp dword [edi + 0x10], eax
jne 0x4244a8
cmp dword [edi + 0x14], ebx
jne 0x4244a8
mov bl, 1
jmp 0x4244aa
xor bl, bl
mov eax, dword [esi + 0x60]
mov dword [edi + 8], eax
mov eax, ecx
add eax, dword [esi + 0x78]
adc edx, dword [esi + 0x7c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x50]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x1c], eax
test byte [esi], 4
je 0x424555
test ecx, ecx
jne 0x424555
movzx eax, byte [esp + 0x10]
mov word [edi + 2], ax
movzx eax, word [edi]
mov ecx, eax
test al, 1
jne 0x4244f8
and eax, 0xfff7
mov word [edi], ax
movzx ecx, ax
mov eax, dword [edi + 0x3c]
mov word [edi + 0x30], cx
mov ecx, dword [edi + 0x38]
sub ecx, dword [esi + 0x18]
sbb eax, dword [esi + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00423750
add esp, 8
test eax, eax
je 0x424544
mov edx, esi
mov ecx, edi
call fcn.00422a30
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424674
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.00423750
add esp, 8
test eax, eax
jne 0x42461e
mov ebx, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x423ffe
mov cl, byte [esp + 0x10]
movzx eax, cl
cmp word [edi + 2], ax
jne 0x42465f
test cl, cl
jne 0x424572
test bl, bl
je 0x42465f
mov edx, 0x8074b50
mov ecx, esi
call fcn.00423570
mov edx, 0x807
mov ecx, esi
call fcn.00423570
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.00423570
movzx edx, word [edi + 0xa]
mov ecx, esi
call fcn.00423570
cmp dword [edi + 0x14], 0
mov edx, dword [edi + 0x10]
ja 0x4245c0
cmp edx, 0xffffffff
jae 0x4245c0
mov ecx, esi
call fcn.00423570
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
shrd edx, eax, 0x10
jmp 0x4245cd
or edx, 0xffffffff
mov ecx, esi
call fcn.00423570
or edx, 0xffffffff
mov ecx, esi
call fcn.00423570
cmp dword [edi + 0x1c], 0
mov edx, dword [edi + 0x18]
ja 0x4245f5
cmp edx, 0xffffffff
jae 0x4245f5
mov ecx, esi
call fcn.00423570
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
shrd edx, eax, 0x10
jmp 0x424602
or edx, 0xffffffff
mov ecx, esi
call fcn.00423570
or edx, 0xffffffff
mov ecx, esi
call fcn.00423570
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424674
add dword [esi + 0x10], 0x10
adc dword [esi + 0x14], ebx
mov ax, word [edi + 0x30]
mov word [edi], ax
mov ecx, dword [esi + 0x4c]
test ecx, ecx
jne 0x424635
mov dword [esi + 0x4c], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret
mov eax, dword [ecx + 0x14c]
test eax, eax
je 0x42464c
nop
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x424640
mov dword [ecx + 0x14c], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x16c
ret
mov ebx, 0x11
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x423ffe
mov ebp, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x423ffe