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

Disassembly:
sub esp, 0x44
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 + 0x20], eax
jne 0x424a22
mov ecx, dword [esi]
test cl, 8
je 0x4246a9
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x64]
and ecx, 0xffffff0f
mov edx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x24], 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 0x424865
sub eax, 1
je 0x424784
sub eax, 6
je 0x42475a
mov ebp, dword [esp + 0x58]
test ebp, ebp
je 0x424a22
mov edx, dword [esp + 0x5c]
mov eax, edx
mov edi, dword [esp + 0x60]
or eax, edi
je 0x424a22
mov dword [esi + 0x64], ebp
or ecx, 0xa0
mov ebp, dword [esp + 0x30]
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 + 0x1c], ebp
jmp 0x4247fb
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esp + 0x28], 0x41c00010
mov dword [esp + 0x1c], ebp
jmp 0x4248d6
mov edi, dword [esp + 0x58]
test edi, edi
je 0x424a22
test byte [esp + 0x24], 0x10
push 0
push 0
push 3
push 0
push 3
push connect
push edi
je 0x4247af
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4247b5
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x4247cc
mov ebp, 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0
push 0
lea edx, [esp + 0x44]
mov ecx, esi
call fcn.00424280
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x424852
or dword [esi], 0x40
test ebx, ebx
cmovne edi, ebx
mov ebx, edi
test byte [esi], 0x20
jne 0x42494d
test byte [esp + 0x24], 0x10
mov dword [esp + 0x28], 0x81800000
push ebx
je 0x4248a9
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
lea ecx, [ebx + eax*2]
movzx eax, word [ecx]
cmp eax, 0x2e
je 0x4248d6
cmp ecx, ebx
jbe 0x4248ce
cmp ax, 0x2f
je 0x4248ce
cmp ax, 0x5c
je 0x4248ce
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x424825
jmp 0x4248d6
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x58]
mov dword [esi + 0x64], eax
test eax, eax
je 0x424a22
cmp eax, 0xffffffff
je 0x424a22
push dword [esp + 0x60]
lea edx, [esp + 0x40]
mov ecx, esi
push dword [esp + 0x60]
call fcn.00424280
mov ebp, eax
mov dword [esp + 0x24], eax
add esp, 8
test ebp, ebp
je 0x4247f2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call dword [esp + 0x30]
lea ecx, [ebx - 1]
add ecx, eax
mov al, byte [ecx]
cmp al, 0x2e
je 0x4248d6
cmp ecx, ebx
jbe 0x4248ce
cmp al, 0x2f
je 0x4248ce
cmp al, 0x5c
je 0x4248ce
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x4248b8
jmp 0x4248d6
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x24], 0x20
jne 0x424943
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004d2290
movzx ebp, word [esp + 0x14]
movzx ecx, word [esp + 0x18]
shl ebp, 0x10
or ebp, ecx
mov dword [esp + 0x18], ebp
jmp 0x424961
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], ebp
jmp 0x42495d
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push 0x159
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x424980
lea ebx, [eax + 2]
jmp 0x424a27
push 0x150
push 0
push edi
call fcn.004b7c10
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, eax
and ecx, 0x20
mov dword [esp + 0x34], ecx
je 0x4249d9
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 + 0x14], bl
jmp 0x424ca1
lea ebp, [edi + 0x48]
test al, 0x10
je 0x424a07
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 0x424a1b
dec eax
mov dword [edi + 0x20], eax
jmp 0x424a17
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 0x424a3f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 9
mov ebp, dword [esp + 0x20]
test byte [esi], 0x40
je 0x424a35
push dword [esi + 0x64]
call ebp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, ebp
mov cl, byte [eax]
test cl, cl
je 0x424a57
cmp cl, 0x5c
jne 0x424a4f
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x424a47
mov edx, dword [esp + 0x30]
lea ecx, [edi + 0x150]
mov eax, 8
mov byte [esp + 0x41], dl
mov word [edi], ax
xor bl, bl
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x34], eax
lea eax, [esp + 0x3c]
mov dword [edi + 0x40], eax
mov eax, edx
shr eax, 8
mov byte [esp + 0x42], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x43], al
mov dword [edi + 0x44], ecx
mov dword [esp + 0x3c], 0xd5455
mov byte [esp + 0x40], 7
movq xmm0, qword [esp + 0x3c]
mov dword [edi + 0x24], 0x11
mov dword [edi + 0x28], 9
shr edx, 0x18
mov byte [esp + 0x44], dl
movq qword [ecx], xmm0
mov al, byte [esp + 0x44]
mov byte [ecx + 8], al
mov eax, dword [edi + 0x44]
mov dword [esp + 0x1c], 0
mov byte [esp + 0x14], bl
mov byte [eax + 2], 5
mov eax, dword [edi + 0x44]
mov byte [eax + 4], 1
cmp dword [esi], 0
jge 0x424afa
mov bl, 8
mov dword [edi + 0x24], 0
mov byte [esp + 0x14], bl
jmp 0x424b76
test byte [esp + 0x24], 8
je 0x424b15
mov eax, dword [edi + 0x20]
cmp byte [eax + edi + 0x47], 0x2f
je 0x424b76
mov byte [eax + edi + 0x48], 0x2f
inc dword [edi + 0x20]
jmp 0x424b76
cmp dword [esi + 8], 0
je 0x424b2b
mov eax, 9
mov dword [esp + 0x1c], 0xc
mov word [edi], ax
push ebp
call dword [esp + 0x30]
lea ebx, [eax + ebp]
cmp ebx, ebp
jbe 0x424b43
cmp byte [ebx], 0x2e
je 0x424b41
dec ebx
cmp ebx, ebp
ja 0x424b37
cmp ebx, ebp
jne 0x424b4a
cmp byte [ebx], 0x2e
jne 0x424b6a
mov ebp, 0x4dbbe8
nop
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x424b72
push ebp
call dword [esp + 0x30]
inc ebp
add ebp, eax
cmp byte [ebp], 0
jne 0x424b50
mov bl, 8
mov byte [esp + 0x14], bl
jmp 0x424b76
mov bl, byte [esp + 0x14]
mov ax, word [edi]
mov ebp, dword [esp + 0x1c]
mov word [edi + 0x30], ax
movzx eax, bl
mov word [edi + 2], ax
test bl, bl
jne 0x424ba9
mov edx, dword [esi + 0x50]
mov eax, edx
mov ebx, dword [esi + 0x54]
and eax, ebx
cmp eax, 0xffffffff
je 0x424ba9
mov eax, ebp
xor ecx, ecx
add eax, edx
mov dword [edi + 0x10], eax
adc ecx, ebx
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.004234c0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424fcd
mov ecx, dword [esi]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x424bf9
lea eax, [edx + 0xb]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
jmp 0x424c9d
mov eax, dword [edi + 0x24]
add eax, 0x32
add eax, edx
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
test ebp, ebp
je 0x424c9d
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x424c43
nop dword [eax]
mov dl, byte [ebx]
test dl, dl
je 0x424c43
lea ecx, [esi + 0x38]
call fcn.00423f40
add ebx, 1
jne 0x424c30
xor ebx, ebx
call fcn.004c3ef8
sar eax, 7
mov byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0xc
jl 0x424c45
mov al, byte [edi + 5]
xor ebx, ebx
mov byte [esp + 0x47], al
mov dl, byte [esp + ebx + 0x3c]
lea ecx, [esi + 0x38]
call fcn.00423f90
mov byte [esp + ebx + 0x3c], al
inc ebx
cmp ebx, 0xc
jl 0x424c60
push 0xc
lea edx, [esp + 0x40]
mov ecx, esi
call fcn.004240c0
mov ebx, dword [esi + 0x20]
add esp, 4
test ebx, ebx
jne 0x424fcd
add dword [esi + 0x10], 0xc
adc dword [esi + 0x14], ebx
or dword [esi], 0x10
mov ecx, dword [esi]
mov bl, byte [esp + 0x14]
mov edx, dword [esi + 0x64]
test edx, edx
je 0x424d8a
cmp bl, 8
jne 0x424cbf
mov edx, edi
mov ecx, esi
call fcn.004243d0
jmp 0x424d49
test cl, cl
mov ecx, esi
jns 0x424cf3
mov ebx, dword [esi + 0x68]
push ebx
call fcn.004240c0
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.00423e50
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], ebx
adc dword [esi + 0x74], 0
jmp 0x424d42
push 0x4000
lea edx, [esi + 0x84]
call fcn.00424310
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x424d42
nop dword [eax]
cmp dword [esi + 0x20], 0
jne 0x424d42
push ebx
lea edx, [esi + 0x84]
mov ecx, esi
call fcn.004240c0
add esp, 4
lea edx, [esi + 0x84]
mov ecx, esi
push 0x4000
call fcn.00424310
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x424d10
add dword [esi + 0x78], ebx
adc dword [esi + 0x7c], 0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424fcd
mov ecx, dword [esi]
mov ebp, dword [esp + 0x20]
and ecx, 0xffffffef
mov dword [esi], ecx
test cl, 0x40
je 0x424d6b
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 0x424d8e
mov ebp, dword [esp + 0x20]
test ecx, ecx
jns 0x424de7
or ecx, 8
cmp dword [esp + 0x34], 0
mov dword [esi], ecx
jne 0x424fb2
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.00424000
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.00424000
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.00424000
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.00424000
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424fd1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov eax, ebx
mov ecx, edx
add eax, dword [esi + 0x78]
adc ecx, dword [esi + 0x7c]
cmp dword [edi + 0x10], eax
jne 0x424e05
cmp dword [edi + 0x14], ecx
jne 0x424e05
mov cl, 1
jmp 0x424e07
xor cl, cl
mov eax, dword [esi + 0x60]
mov dword [edi + 8], eax
mov eax, ebx
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 0x424eb2
test ebx, ebx
jne 0x424eb2
movzx eax, byte [esp + 0x14]
mov word [edi + 2], ax
movzx eax, word [edi]
mov ecx, eax
test al, 1
jne 0x424e55
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.004241e0
add esp, 8
test eax, eax
je 0x424ea1
mov edx, esi
mov ecx, edi
call fcn.004234c0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424fd1
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.004241e0
add esp, 8
test eax, eax
jne 0x424f7b
mov ebx, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x424a2b
mov dl, byte [esp + 0x14]
movzx eax, dl
cmp word [edi + 2], ax
jne 0x424fbc
test dl, dl
jne 0x424ecf
test cl, cl
je 0x424fbc
mov edx, 0x8074b50
mov ecx, esi
call fcn.00424000
mov edx, 0x807
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.00424000
movzx edx, word [edi + 0xa]
mov ecx, esi
call fcn.00424000
cmp dword [edi + 0x14], 0
mov edx, dword [edi + 0x10]
ja 0x424f1d
cmp edx, 0xffffffff
jae 0x424f1d
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
shrd edx, eax, 0x10
jmp 0x424f2a
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
cmp dword [edi + 0x1c], 0
mov edx, dword [edi + 0x18]
ja 0x424f52
cmp edx, 0xffffffff
jae 0x424f52
mov ecx, esi
call fcn.00424000
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
shrd edx, eax, 0x10
jmp 0x424f5f
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
or edx, 0xffffffff
mov ecx, esi
call fcn.00424000
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x424fd1
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 0x424f8f
mov dword [esi + 0x4c], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [ecx + 0x14c]
test eax, eax
je 0x424fac
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x424fa0
mov dword [ecx + 0x14c], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
mov ebx, 0x11
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x424a2b
mov ebp, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x424a2b