Function at 0x424b40
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 0x424f55
mov ecx, dword [esi]
test cl, 8
je 0x424b7f
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 0x424d54
sub eax, 1
je 0x424c6a
sub eax, 6
je 0x424c40
mov ebp, dword [esp + 0x180]
test ebp, ebp
je 0x424f55
mov edx, dword [esp + 0x184]
mov eax, edx
mov edi, dword [esp + 0x188]
or eax, edi
je 0x424f55
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 0x424ce7
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 0x424dd1
mov edi, dword [esp + 0x180]
test edi, edi
je 0x424f55
test byte [esp + 0x20], 0x10
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push edi
je 0x424c98
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x424c9e
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x64], eax
cmp eax, 0xffffffff
jne 0x424cb8
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.00424750
mov ebp, eax
add esp, 8
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x424d3e
or dword [esi], 0x40
test ebx, ebx
cmovne edi, ebx
mov ebx, edi
test byte [esi], 0x20
jne 0x424e52
test byte [esp + 0x20], 0x10
mov dword [esp + 0x28], 0x81800000
push ebx
je 0x424da4
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
lea ecx, [ebx + eax*2]
movzx eax, word [ecx]
cmp eax, 0x2e
je 0x424dd1
cmp ecx, ebx
jbe 0x424dc9
cmp ax, 0x2f
je 0x424dc9
cmp ax, 0x5c
je 0x424dc9
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, 0x2e
jne 0x424d11
jmp 0x424dd1
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 0x424f55
cmp eax, 0xffffffff
je 0x424f55
push dword [esp + 0x188]
lea edx, [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x188]
call fcn.00424750
mov ebp, eax
mov dword [esp + 0x1c], eax
add esp, 8
test ebp, ebp
je 0x424cde
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 0x424dd1
cmp ecx, ebx
jbe 0x424dc9
cmp al, 0x2f
je 0x424dc9
cmp al, 0x5c
je 0x424dc9
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x2e
jne 0x424db3
jmp 0x424dd1
mov dword [esp + 0x28], 0x81c00000
test byte [esp + 0x20], 0x20
jne 0x424e48
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.004b8280
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 0x424e76
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
jmp 0x424e62
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 0x424eae
lea ebx, [eax + 2]
jmp 0x424f5a
push 0x150
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, eax
and ecx, 0x20
mov dword [esp + 0x4c], ecx
je 0x424f07
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 0x4252a2
and eax, 0x10
lea ebp, [edi + 0x48]
mov dword [esp + 0x54], eax
je 0x424f3a
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 0x424f4e
dec eax
mov dword [edi + 0x20], eax
jmp 0x424f4a
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 0x424f75
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, 9
mov ebp, dword [esp + 0x18]
test byte [esi], 0x40
je 0x424f68
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 0x424f90
nop dword [eax]
cmp cl, 0x5c
jne 0x424f88
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x424f80
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 0x4250e9
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.00424320
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 sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi], ebx
jge 0x4250f7
mov byte [esp + 0x10], 8
mov dword [edi + 0x24], ebx
jmp 0x425173
test byte [esp + 0x20], 8
je 0x425112
mov eax, dword [edi + 0x20]
cmp byte [eax + edi + 0x47], 0x2f
je 0x425173
mov byte [eax + edi + 0x48], 0x2f
inc dword [edi + 0x20]
jmp 0x425173
cmp dword [esi + 8], ebx
je 0x425127
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 0x42513f
cmp byte [ebx], 0x2e
je 0x42513d
dec ebx
cmp ebx, ebp
ja 0x425133
cmp ebx, ebp
jne 0x425146
cmp byte [ebx], 0x2e
jne 0x42516a
mov ebp, 0x4bc540
nop dword [eax + eax]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42516f
push ebp
call dword [esp + 0x30]
inc ebp
add ebp, eax
cmp byte [ebp], 0
jne 0x425150
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 0x4251a6
mov edx, dword [esi + 0x50]
mov eax, edx
mov ebp, dword [esi + 0x54]
and eax, ebp
cmp eax, 0xffffffff
je 0x4251a6
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.00423990
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x4255d0
mov ecx, dword [esi]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x4251f6
lea eax, [edx + 0xb]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
jmp 0x42529e
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 0x42529e
mov dword [esi + 0x38], 0x12345678
mov dword [esi + 0x3c], 0x23456789
mov dword [esi + 0x40], 0x34567890
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x425243
nop dword [eax]
mov dl, byte [ebx]
test dl, dl
je 0x425243
lea ecx, [esi + 0x38]
call fcn.00424410
add ebx, 1
jne 0x425230
xor ebx, ebx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
sar eax, 7
mov byte [esp + ebx + 0x38], al
inc ebx
cmp ebx, 0xc
jl 0x425245
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.00424460
mov byte [esp + ebx + 0x38], al
inc ebx
cmp ebx, 0xc
jl 0x425261
push 0xc
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.00424590
mov ebx, dword [esi + 0x20]
add esp, 4
test ebx, ebx
jne 0x4255d0
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 0x42538a
cmp bl, 8
jne 0x4252c0
mov edx, edi
mov ecx, esi
call fcn.004248a0
jmp 0x425349
test cl, cl
mov ecx, esi
jns 0x4252f4
mov ebx, dword [esi + 0x68]
push ebx
call fcn.00424590
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.00424320
add esp, 4
mov dword [esi + 0x60], eax
add dword [esi + 0x70], ebx
adc dword [esi + 0x74], 0
jmp 0x425342
push 0x4000
lea edx, [esi + 0x84]
call fcn.004247e0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x425342
nop dword [eax]
cmp dword [esi + 0x20], 0
jne 0x425342
push ebx
lea edx, [esi + 0x84]
mov ecx, esi
call fcn.00424590
add esp, 4
lea edx, [esi + 0x84]
mov ecx, esi
push 0x4000
call fcn.004247e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x425310
add dword [esi + 0x78], ebx
adc dword [esi + 0x7c], 0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x4255d0
mov ecx, dword [esi]
mov ebp, dword [esp + 0x18]
and ecx, 0xffffffef
mov dword [esi], ecx
test cl, 0x40
je 0x42536b
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 0x42538e
mov ebp, dword [esp + 0x18]
test ecx, ecx
jns 0x4253ea
or ecx, 8
cmp dword [esp + 0x4c], 0
mov dword [esi], ecx
jne 0x4255b2
mov edx, dword [esi + 0x60]
mov ecx, esi
call fcn.004244d0
movzx edx, word [esi + 0x62]
mov ecx, esi
call fcn.004244d0
mov edx, dword [esi + 0x58]
mov ecx, esi
call fcn.004244d0
mov edx, dword [esi + 0x58]
mov ecx, esi
mov eax, dword [esi + 0x5c]
shrd edx, eax, 0x10
call fcn.004244d0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x4255d4
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 0x425408
cmp dword [edi + 0x14], ebx
jne 0x425408
mov bl, 1
jmp 0x42540a
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 0x4254b5
test ecx, ecx
jne 0x4254b5
movzx eax, byte [esp + 0x10]
mov word [edi + 2], ax
movzx eax, word [edi]
mov ecx, eax
test al, 1
jne 0x425458
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.004246b0
add esp, 8
test eax, eax
je 0x4254a4
mov edx, esi
mov ecx, edi
call fcn.00423990
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x4255d4
push dword [esi + 0x14]
mov ecx, esi
push dword [esi + 0x10]
call fcn.004246b0
add esp, 8
test eax, eax
jne 0x42557e
mov ebx, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x424f5e
mov cl, byte [esp + 0x10]
movzx eax, cl
cmp word [edi + 2], ax
jne 0x4255bf
test cl, cl
jne 0x4254d2
test bl, bl
je 0x4255bf
mov edx, 0x8074b50
mov ecx, esi
call fcn.004244d0
mov edx, 0x807
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 8]
mov ecx, esi
call fcn.004244d0
movzx edx, word [edi + 0xa]
mov ecx, esi
call fcn.004244d0
cmp dword [edi + 0x14], 0
mov edx, dword [edi + 0x10]
ja 0x425520
cmp edx, 0xffffffff
jae 0x425520
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
shrd edx, eax, 0x10
jmp 0x42552d
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
cmp dword [edi + 0x1c], 0
mov edx, dword [edi + 0x18]
ja 0x425555
cmp edx, 0xffffffff
jae 0x425555
mov ecx, esi
call fcn.004244d0
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
shrd edx, eax, 0x10
jmp 0x425562
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
or edx, 0xffffffff
mov ecx, esi
call fcn.004244d0
mov ebx, dword [esi + 0x20]
test ebx, ebx
jne 0x4255d4
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 0x425595
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 0x4255ac
nop
mov ecx, eax
mov eax, dword [ecx + 0x14c]
test eax, eax
jne 0x4255a0
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 0x424f5e
mov ebp, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x424f5e