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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ecx], 0
test eax, eax
je 0x10051987
mov eax, dword [eax]
lea ecx, [esp + 0x28]
mov edx, 0x1041954a
mov dword [esp + 0x15c], eax
push 0x3b
call fcn.10051a40
add esp, 4
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x100]
mov dword [esp + 0x100], 0
push eax
push 0x20019
push 0
push esi
push closesocket
call sub.ADVAPI32.dll_RegOpenKeyExW
mov edi, eax
xor eax, eax
test edi, edi
jne 0x1004fea8
mov eax, dword [esp + 0x100]
mov ecx, closesocket
mov dword [esp + 8], eax
or ecx, dword [esp + 0x2c]
cmp ecx, 0x80000000
jne 0x1004fee8
test edi, edi
je 0x1004fefa
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051970
mov ecx, dword [esp + 8]
mov esi, eax
mov dword [esi + 4], edi
mov dword [esi], ecx
jmp 0x1004ffa6
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
test edi, edi
jne 0x1004fec1
mov eax, dword [esp + 8]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x200]
mov dword [esp + 0x200], eax
push 0x10419585
call fcn.10051d20
add esp, 4
cmp dword [esp + 0x28], 1
jne 0x1004ff32
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x1004ff76
cmp byte [esp + 0x38], 4
jne 0x1004ff45
mov eax, dword [esp + 0x2c]
xor edi, edi
xor esi, esi
mov eax, dword [eax]
jmp 0x1004ff51
mov edi, 0xde
xor eax, eax
mov esi, 1
cmp dword [esp + 0x30], 0
mov dword [esp + 0x14], eax
je 0x1004ff6e
mov ebx, dword [esp + 0x2c]
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapFree
test esi, esi
je 0x10050b00
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051970
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esi + 4], edi
mov dword [esi], ecx
mov eax, dword [esp + 8]
test eax, eax
js 0x1004ffa6
push eax
call sub.ADVAPI32.dll_RegCloseKey
cmp byte [esi], 2
jb 0x1004fff2
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax]
add esp, 4
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
je 0x1004ffe1
mov edi, dword [edi]
cmp dword [eax + 8], 9
jae 0x1004ffd1
call sub.KERNEL32.dll_GetProcessHeap
push edi
jmp 0x1004ffd9
call sub.KERNEL32.dll_GetProcessHeap
push dword [edi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esi + 4]
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
xor ebx, ebx
mov dword [esp], ebx
call fcn.100fec40
test eax, eax
je 0x1005194d
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, ecx
add edi, 1
mov dword [eax], edi
mov edi, dword [eax + 4]
mov ebx, edi
adc ebx, 0
mov dword [eax + 4], ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0x104005c0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [esp + 0x28]
mov edx, 0x1041959b
push 0xe
call fcn.100f38b0
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x100500bc
cmp dword [esp + 0x2c], 0
je 0x100500a4
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x104debf8]
cmp eax, 1
jbe 0x1005028a
mov eax, dword [0x104debfc]
jmp 0x1005028a
lea ecx, [esp + 0x28]
mov edx, 0x104195a9
push 0xa
call fcn.100f38b0
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x10050196
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 4], ecx
je 0x10050157
mov eax, dword [esp + 4]
mov ebx, edi
lea edx, [edi + eax]
jmp 0x10050106
mov ebx, esi
cmp ebx, edx
je 0x10050157
movzx eax, byte [ebx]
lea esi, [ebx + 1]
test al, al
jns 0x10050100
add ebx, 2
cmp al, 0xe0
jae 0x1005011e
cmp esi, edx
cmove ebx, esi
jmp 0x10050102
cmp al, 0xed
jne 0x1005013a
cmp esi, edx
cmove ebx, esi
cmp ebx, edx
je 0x10050157
inc ebx
cmp esi, edx
je 0x10050102
cmp byte [esi], 0x9f
jbe 0x10050102
jmp 0x1005184e
cmp esi, edx
mov ecx, ebx
cmove ecx, esi
lea ebx, [ecx + 1]
cmp ecx, edx
cmove ebx, ecx
cmp al, 0xf0
jb 0x10050102
lea eax, [ebx + 1]
cmp ebx, edx
cmovne ebx, eax
jmp 0x10050102
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x100], edi
lea ecx, [esp + 0x98]
mov edx, 0x1044a47f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 4
call fcn.10051e80
add esp, 8
test al, al
je 0x100501a1
jmp 0x1005028a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x104195b3
push 0xa
call fcn.100f38b0
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1005027f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 4], ecx
je 0x10050247
mov eax, dword [esp + 4]
mov ebx, edi
lea edx, [edi + eax]
jmp 0x100501f6
mov ebx, esi
cmp ebx, edx
je 0x10050247
movzx eax, byte [ebx]
lea esi, [ebx + 1]
test al, al
jns 0x100501f0
add ebx, 2
cmp al, 0xe0
jae 0x1005020e
cmp esi, edx
cmove ebx, esi
jmp 0x100501f2
cmp al, 0xed
jne 0x1005022a
cmp esi, edx
cmove ebx, esi
cmp ebx, edx
je 0x10050247
inc ebx
cmp esi, edx
je 0x100501f2
cmp byte [esi], 0x9f
jbe 0x100501f2
jmp 0x10051919
cmp esi, edx
mov ecx, ebx
cmove ecx, esi
lea ebx, [ecx + 1]
cmp ecx, edx
cmove ebx, ecx
cmp al, 0xf0
jb 0x100501f2
lea eax, [ebx + 1]
cmp ebx, edx
cmovne ebx, eax
jmp 0x100501f2
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x100], edi
lea ecx, [esp + 0x98]
mov edx, 0x1044a47f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 4
call fcn.10051e80
add esp, 8
jmp 0x1005028a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x104195bd
push 0xb
call fcn.100f38b0
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10050366
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 4], ecx
je 0x10050327
mov eax, dword [esp + 4]
mov edi, esi
lea edx, [esi + eax]
jmp 0x100502d6
mov edi, ebx
cmp edi, edx
je 0x10050327
movzx eax, byte [edi]
lea ebx, [edi + 1]
test al, al
jns 0x100502d0
add edi, 2
cmp al, 0xe0
jae 0x100502ee
cmp ebx, edx
cmove edi, ebx
jmp 0x100502d2
cmp al, 0xed
jne 0x1005030a
cmp ebx, edx
cmove edi, ebx
cmp edi, edx
je 0x10050327
inc edi
cmp ebx, edx
je 0x100502d2
cmp byte [ebx], 0x9f
jbe 0x100502d2
jmp 0x100511d8
cmp ebx, edx
mov ecx, edi
cmove ecx, ebx
lea edi, [ecx + 1]
cmp ecx, edx
cmove edi, ecx
cmp al, 0xf0
jb 0x100502d2
lea eax, [edi + 1]
cmp edi, edx
cmovne edi, eax
jmp 0x100502d2
mov eax, dword [esp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x100], esi
lea ecx, [esp + 0x98]
mov edx, 0x1044afbf
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 5
call fcn.10051e80
add esp, 8
test al, al
je 0x10050371
jmp 0x1005045a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x104195c8
push 0xb
call fcn.100f38b0
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1005044f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test ecx, ecx
mov dword [esp + 8], eax
mov eax, ecx
mov dword [esp + 4], ecx
je 0x10050417
mov eax, dword [esp + 4]
mov ebx, edi
lea edx, [edi + eax]
jmp 0x100503c6
mov ebx, esi
cmp ebx, edx
je 0x10050417
movzx eax, byte [ebx]
lea esi, [ebx + 1]
test al, al
jns 0x100503c0
add ebx, 2
cmp al, 0xe0
jae 0x100503de
cmp esi, edx
cmove ebx, esi
jmp 0x100503c2
cmp al, 0xed
jne 0x100503fa
cmp esi, edx
cmove ebx, esi
cmp ebx, edx
je 0x10050417
inc ebx
cmp esi, edx
je 0x100503c2
cmp byte [esi], 0x9f
jbe 0x100503c2
jmp 0x10051205
cmp esi, edx
mov ecx, ebx
cmove ecx, esi
lea ebx, [ecx + 1]
cmp ecx, edx
cmove ebx, ecx
cmp al, 0xf0
jb 0x100503c2
lea eax, [ebx + 1]
cmp ebx, edx
cmovne ebx, eax
jmp 0x100503c2
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x100], edi
lea ecx, [esp + 0x98]
mov edx, 0x1044afbf
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 5
call fcn.10051e80
add esp, 8
jmp 0x1005045a
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x100504db
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
cmp dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
je 0x1005115f
mov dword [esp + 0x10], ebx
mov ebx, edi
mov edi, esi
mov esi, dword [esp]
test esi, esi
je 0x100504d2
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, edi
mov edi, ebx
jmp 0x1005115b
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x10050ab2
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
mov dword [esp + 0xe4], ecx
je 0x10050b41
call fcn.100fec40
test eax, eax
je 0x1005194d
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov edi, ecx
add edi, 1
mov dword [eax], edi
mov edi, dword [eax + 4]
mov ebx, edi
adc ebx, 0
mov dword [eax + 4], ebx
mov dword [esp + 0xbc], edi
mov edi, dword [esp]
lea ebx, [esp + 0x28]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x104005c0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov ecx, ebx
mov edx, edi
push 1
push 0x104257d6
mov esi, dword [esp + 0x24]
push esi
call fcn.1000ba90
add esp, 0xc
lea ecx, [esp + 0x100]
mov edx, ebx
call fcn.10052fc0
cmp dword [esp + 0x100], 1
jne 0x10050bb9
lea ebx, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 1
push 0x104257d5
push esi
call fcn.1000ba90
add esp, 0xc
lea eax, [esp + 0x200]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], esi
mov word [esp + 0x70], 1
mov ecx, 0x14
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x160]
mov ecx, 0x14
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x1a9], 0
jne 0x1005106d
jmp 0x10050625
cmp byte [esp + 0x1a9], 0
mov ebx, edi
jne 0x1005106d
mov esi, dword [esp + 0x190]
mov ecx, ebx
lea edx, [esp + 0x160]
call fcn.10052fc0
cmp dword [esp + 0x28], 1
jne 0x1005065d
mov ecx, dword [esp + 0x1a0]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esi, ecx
sub edi, ecx
mov dword [esp + 0x1a0], eax
jmp 0x100506ac
cmp byte [esp + 0x1a9], 0
jne 0x1005106d
cmp byte [esp + 0x1a8], 0
je 0x10050685
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x1a4]
jmp 0x1005069b
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x1a4]
cmp edi, esi
je 0x1005106d
mov byte [esp + 0x1a9], 1
sub edi, esi
add esi, dword [esp + 0x190]
lea ebx, [esp + 0x1b0]
mov edx, esi
mov ecx, ebx
push 1
push 0x104257d6
push edi
call fcn.1000ba90
add esp, 0xc
lea edx, [esp + 0x100]
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], edi
mov word [esp + 0x1f8], 1
mov ecx, 0x14
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x149], 0
jne 0x1005170e
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x28]
call fcn.10052fc0
cmp dword [esp + 0x28], 1
jne 0x10050736
mov ecx, dword [esp + 0x140]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esi, ecx
sub edi, ecx
mov dword [esp + 0x140], eax
jmp 0x10050785
cmp byte [esp + 0x149], 0
jne 0x1005170e
cmp byte [esp + 0x148], 0
je 0x1005075e
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
jmp 0x10050774
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
cmp edi, esi
je 0x1005170e
mov byte [esp + 0x149], 1
sub edi, esi
add esi, dword [esp + 0x130]
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051970
lea edx, [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [esp], eax
mov ecx, 0x14
lea esi, [esp + 0x100]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
cmp byte [esp + 0x71], 0
je 0x10050845
mov edi, 1
mov eax, 1
cmp edi, 2
jne 0x10051717
mov esi, dword [esp]
mov dword [esp + 4], eax
mov ebx, edx
lea eax, [esi + 8]
mov dword [esp + 0xf4], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
call fcn.10053190
test eax, eax
je 0x100509b0
mov eax, dword [esp + 0xf4]
mov edi, dword [eax + 4]
test edi, edi
js 0x10051946
mov esi, dword [eax]
je 0x10050a04
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051a0e
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
jmp 0x10050a20
mov edi, 1
mov eax, 1
jmp 0x1005087a
mov dword [ebx + edi*8], esi
mov dword [ebx + edi*8 + 4], edx
inc edi
lea edx, [esp + 0x28]
mov dword [esp], ebx
cmp byte [esp + 0x71], 0
jne 0x100507cd
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xf4]
mov ebx, eax
call fcn.10052fc0
cmp dword [esp + 0xf4], 1
jne 0x100508c0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x68], eax
mov eax, ebx
mov ebx, dword [esp]
add esi, ecx
sub edx, ecx
cmp edi, eax
jne 0x10050860
jmp 0x10050904
mov eax, ebx
cmp byte [esp + 0x71], 0
mov ebx, dword [esp]
jne 0x10050aa9
cmp byte [esp + 0x70], 0
je 0x100508e1
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
jmp 0x100508f1
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp edx, esi
je 0x10050aa9
mov byte [esp + 0x71], 1
sub edx, esi
add esi, dword [esp + 0x58]
cmp edi, eax
jne 0x10050860
mov eax, edi
mov dword [esp + 8], edx
inc eax
je 0x10051946
lea ecx, [edi + edi]
mov edx, 8
cmp ecx, eax
cmova eax, ecx
mov ecx, 4
cmp eax, 4
cmovbe eax, ecx
xor ecx, ecx
mul edx
setno dl
jo 0x10051946
test eax, eax
js 0x10051946
mov cl, dl
mov dword [esp + 4], eax
shl ecx, 2
test edi, edi
cmove ebx, edi
test ebx, ebx
je 0x10050980
lea edx, [edi*8]
test edx, edx
je 0x10050980
mov dword [esp], ebx
mov ebx, eax
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapReAlloc
jmp 0x10050994
test eax, eax
je 0x10050996
mov ebx, eax
call sub.KERNEL32.dll_GetProcessHeap
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ecx, eax
mov edx, dword [esp + 8]
test ecx, ecx
je 0x100519c8
mov eax, dword [esp + 4]
mov ebx, ecx
shr eax, 3
jmp 0x10050860
lea ecx, [esp + 0x1b0]
lea eax, [esp + 0xf4]
mov dword [esp + 0x28], 0x104195d4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov edx, ebx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], 0x10018400
mov dword [esp + 0x3c], 1
call fcn.10006620
jmp 0x10050a59
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, ebx
xor edx, edx
call fcn.10116c80
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, ebx
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x28]
mov esi, dword [esp]
add ebx, edi
mov dword [esp + 0x108], ebx
lea ebx, [esp + 0x28]
movsd qword [esp + 0x100], xmm0
mov ecx, dword [esp + 0x108]
movq xmm0, qword [esp + 0x100]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov edi, ebx
mov dword [esp + 0x30], ecx
movq qword [esp + 0x28], xmm0
lea ecx, [esp + 0xb8]
push ebx
push eax
call fcn.10051e80
add esp, 8
cmp dword [esp + 4], 0
je 0x10050615
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x10050615
lea edx, [esp + 0x28]
jmp 0x100507cd
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x7c], ecx
jmp 0x1005115f
lea ecx, [esp + 0x100]
lea edx, [esp + 0x200]
push 0x10419590
call fcn.10051d20
add esp, 4
cmp dword [esp + 0x100], 1
jne 0x10050bec
mov ebx, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov esi, 1
jmp 0x100518d7
call fcn.100fec40
test eax, eax
je 0x1005194d
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, ebx
mov dword [esp + 0x10], edx
add ecx, 1
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp dword [esp + 0xe0], 0
je 0x10050b94
mov dword [esp], edi
mov edi, esi
mov esi, dword [esp + 0xdc]
call sub.KERNEL32.dll_GetProcessHeap
push esi
mov esi, edi
mov edi, dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [esp + 0x14], 0x104005c0
mov dword [esp + 0x7c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x100510dd
mov ecx, edi
mov edx, esi
call fcn.10053190
test eax, eax
je 0x10050fa4
mov edi, edx
lea edx, [esp + 0xdc]
mov ecx, ebx
mov esi, eax
call fcn.10006c60
lea ecx, [esp + 0xb8]
mov edx, esi
push ebx
push edi
jmp 0x10051065
movzx edx, byte [esp + 0x110]
mov esi, 1
mov ecx, 0xde
mov dword [esp], 0
cmp edx, 7
ja 0x100518ad
mov eax, 0x86
bt eax, edx
jae 0x100518ad
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x104]
lea ecx, [esp + 0x160]
mov dword [esp + 0x160], 1
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov eax, edx
shr edx, 2
and eax, 0xfffffffe
add eax, esi
mov dword [esp + 4], eax
call fcn.10116c80
jmp 0x10050c82
mov ecx, dword [esp + 0x160]
mov byte [ecx + eax], bl
inc eax
mov dword [esp + 0x168], eax
xor edi, edi
jmp 0x10050cf1
mov ecx, eax
mov ebx, 3
shr ecx, 0xc
or cl, 0xe0
mov byte [esp + 0x28], cl
mov ecx, eax
and al, 0x3f
shr ecx, 6
or al, 0x80
and cl, 0x3f
or cl, 0x80
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
lea ecx, [esp + 0x160]
mov edx, ebx
call fcn.10116c80
mov esi, dword [esp + 0x168]
mov eax, dword [esp + 0x160]
add eax, esi
push ebx
lea ecx, [esp + 0x2c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebx
mov dword [esp + 0x168], esi
mov esi, dword [esp]
test di, di
je 0x10050d00
shr edi, 0x10
mov ebx, edi
jmp 0x10050d10
cmp esi, dword [esp + 4]
je 0x10050e61
movzx ebx, word [esi]
add esi, 2
mov eax, ebx
and eax, 0xf800
cmp eax, 0xd800
jne 0x10050d70
movzx ecx, bx
xor edi, edi
mov eax, 0xfffd
cmp ecx, 0xdbff
ja 0x10050dd0
mov ecx, dword [esp + 4]
cmp esi, ecx
je 0x10050db7
movzx ecx, word [esi]
add esi, 2
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xdc00
jne 0x10050dbb
add ebx, 0x2800
lea eax, [ecx + 0x2400]
movzx edx, bx
movzx eax, ax
shl edx, 0xa
or eax, edx
add eax, 0x10000
jmp 0x10050dd0
movzx eax, bx
cmp eax, 0x80
jb 0x10050e30
xor edi, edi
cmp eax, 0x800
mov dword [esp], esi
mov dword [esp + 0x28], 0
jae 0x10050c90
mov eax, ebx
and bl, 0x3f
xor edi, edi
shr eax, 6
or bl, 0x80
or al, 0xc0
mov byte [esp + 0x28], al
mov byte [esp + 0x29], bl
mov ebx, 2
jmp 0x10050cb8
mov esi, ecx
jmp 0x10050dd0
movzx edi, cx
shl edi, 0x10
or edi, 1
nop word cs:[eax + eax]
nop
cmp eax, 0x10000
mov dword [esp], esi
mov dword [esp + 0x28], 0
jb 0x10050c90
mov ecx, eax
mov ebx, 4
shr ecx, 0x12
or cl, 0xf0
mov byte [esp + 0x28], cl
mov ecx, eax
shr ecx, 0xc
and cl, 0x3f
or cl, 0x80
mov byte [esp + 0x29], cl
mov ecx, eax
and al, 0x3f
shr ecx, 6
or al, 0x80
and cl, 0x3f
or cl, 0x80
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], al
jmp 0x10050cb8
mov eax, dword [esp + 0x168]
cmp eax, dword [esp + 0x164]
jne 0x10050c70
lea ecx, [esp + 0x160]
mov edx, 1
call fcn.10116c80
mov eax, dword [esp + 0x168]
jmp 0x10050c70
mov edi, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
test edi, edi
je 0x10050e99
nop word [eax + eax]
cmp byte [edx + edi - 1], 0
jne 0x100516e4
dec edi
jne 0x10050e80
mov dword [esp + 0x168], 0
xor edi, edi
cmp byte [esp + 0xc], 7
jne 0x100516f6
mov dword [esp + 0x1b0], 1
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], edx
push 1
push 0x1044b07f
push edi
call fcn.1000ba90
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
and edx, 0xffffff00
mov dword [esp + 0xe8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xec], edx
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x150], edx
mov edx, ecx
cmp eax, ecx
mov dword [esp + 0x80], eax
cmova edx, eax
neg eax
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
lea edx, [ebx + eax]
mov dword [esp], eax
mov eax, ecx
lea eax, [ecx - 1]
mov dword [esp + 0x90], eax
mov eax, edx
mov dword [esp + 0x94], edx
jmp 0x100512c7
lea edi, [esp + 0x100]
lea eax, [esp + 0xdc]
lea ebx, [esp + 0x1b0]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x104195d4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov ecx, edi
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1b4], 0x10045760
mov dword [esp + 0x3c], 1
call fcn.10006620
lea esi, [esp + 0xb8]
mov edx, 0x1044a47f
mov ecx, esi
push edi
push 4
call fcn.10051e80
add esp, 8
lea eax, [esp + 0xdc]
lea edx, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x28], 0x104195d4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], 0x10045760
call fcn.10006620
mov ecx, esi
mov edx, 0x1044afbf
push edi
push 5
call fcn.10051e80
add esp, 8
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
cmp dword [esp + 0xe0], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 8], ecx
je 0x100510dd
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.100fec40
test eax, eax
je 0x1005194d
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, esi
add ecx, 1
mov dword [eax], ecx
mov ecx, edx
adc ecx, 0
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x104005c0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.1004fcd0
lea ecx, [esp + 0x98]
call fcn.1004fcd0
mov esi, dword [esp]
mov ebx, dword [esp + 0x10]
call sub.KERNEL32.dll_GetProcessHeap
push 0x28
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100519a0
mov ecx, dword [esp + 4]
mov dword [eax], 1
mov dword [eax + 4], 1
mov edx, dword [esp + 0x15c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx]
mov dword [edx], eax
test ecx, ecx
mov dword [esp + 0x28], ecx
je 0x100511d0
lock dec dword [ecx]
jne 0x100511d0
lea ecx, [esp + 0x28]
call fcn.1004fca0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
mov dword [esp + 0x100], esi
je 0x10050371
cmp dword [esp + 8], 0
je 0x10050371
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x10050371
test edi, edi
mov dword [esp + 0x100], edi
je 0x1005045a
cmp dword [esp + 8], 0
je 0x1005045a
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005045a
xor cl, 1
mov dword [esp + 0x84], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
sub edi, ecx
lea esi, [eax + ecx]
lea ecx, [esp + 0x1b0]
mov edx, edi
call fcn.10116c80
mov ebx, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b0]
add eax, ebx
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
lea ecx, [esp + 0x1b0]
mov edx, 1
mov dword [esp + 0x1b8], edi
call fcn.10116c80
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1b8]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov byte [eax + ecx], 0xa
inc ecx
mov dword [esp + 0x1b8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x158], 1
mov ecx, dword [esp + 0x18]
jne 0x100513fc
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
cmp esi, 0xffffffff
lea eax, [ecx + eax]
je 0x10051530
cmp eax, dword [esp]
jae 0x10051660
movzx ecx, byte [esp + 0x18]
mov edi, dword [esp + 0x20]
or ecx, dword [esp + 0xec]
mov dword [esp + 0x78], ecx
mov cl, byte [ebx + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
mov edx, 1
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x78]
and edx, dword [esp + 0xf0]
or edx, eax
je 0x10051391
mov eax, dword [esp + 0x80]
mov ecx, esi
add ebx, edi
mov dword [esp + 0x24], esi
cmp eax, esi
cmova ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
cmp ecx, eax
cmova eax, ecx
nop
cmp eax, ecx
je 0x100513ae
lea esi, [edi + ecx]
cmp esi, dword [esp]
jae 0x10051977
mov edx, dword [esp + 4]
lea esi, [ecx + 1]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + ecx]
mov ecx, esi
je 0x10051360
add edi, dword [esp + 0x154]
mov ebx, dword [esp + 0x10]
add edi, esi
jmp 0x10051395
add edi, dword [esp + 0xc]
xor esi, esi
mov eax, dword [esp + 0x90]
add eax, edi
cmp eax, dword [esp]
jb 0x1005130d
jmp 0x10051660
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
nop dword [eax]
cmp esi, ecx
jae 0x1005151f
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x100519b1
lea eax, [ecx + edi]
cmp eax, dword [esp]
jae 0x100519bc
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x100513c0
add edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x150]
jmp 0x10051397
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], esi
jmp 0x10051414
add edi, ecx
mov cl, 1
test edi, edi
je 0x1005142d
cmp dword [esp], edi
je 0x1005142d
jbe 0x100519f8
cmp byte [ebx + edi], 0xbf
jle 0x100519f8
cmp dword [esp], edi
je 0x10051624
lea edx, [ebx + edi]
movzx ebx, byte [edx]
movzx eax, bl
test bl, bl
js 0x10051454
mov ebx, dword [esp + 0x10]
test cl, cl
je 0x100514e2
jmp 0x10051232
mov esi, dword [esp + 0x94]
mov dword [esp + 0x18], ecx
lea ecx, [edx + 1]
cmp ecx, esi
je 0x10051472
movzx ecx, byte [edx + 1]
add edx, 2
and ecx, 0x3f
jmp 0x10051476
xor ecx, ecx
mov edx, esi
and eax, 0x1f
cmp bl, 0xdf
jbe 0x10051492
mov esi, dword [esp + 0x94]
cmp edx, esi
je 0x10051497
movzx esi, byte [edx]
inc edx
and esi, 0x3f
jmp 0x1005149b
shl eax, 6
jmp 0x100514bd
mov edx, esi
xor esi, esi
shl ecx, 6
or ecx, esi
cmp bl, 0xf0
jb 0x100514ba
cmp edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x10]
je 0x100514c5
movzx edx, byte [edx]
and edx, 0x3f
jmp 0x100514c7
shl eax, 0xc
mov ebx, dword [esp + 0x10]
or eax, ecx
jmp 0x100514d6
xor edx, edx
and eax, 7
shl ecx, 6
shl eax, 0x12
or ecx, eax
or ecx, edx
mov eax, ecx
mov ecx, dword [esp + 0x18]
test cl, cl
jne 0x10051232
cmp eax, 0x110000
je 0x10051660
mov ecx, 1
cmp eax, 0x80
jb 0x10051410
mov ecx, 2
cmp eax, 0x800
jb 0x10051410
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
jmp 0x10051410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], 0
jmp 0x10051651
cmp eax, dword [esp]
jae 0x10051660
movzx ecx, byte [esp + 0x18]
mov edi, dword [esp + 0x20]
or ecx, dword [esp + 0xec]
mov dword [esp + 0x24], ecx
jmp 0x10051565
add edi, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
add eax, edi
cmp eax, dword [esp]
jae 0x10051660
mov cl, byte [ebx + eax]
mov esi, 1
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x24]
and esi, dword [esp + 0xf0]
or esi, eax
je 0x1005154f
lea ecx, [ebx + edi]
mov ebx, dword [esp + 0x80]
mov eax, edi
neg eax
nop dword [eax + eax]
cmp dword [esp + 0x7c], ebx
je 0x100515e0
lea esi, [edi + ebx]
cmp esi, dword [esp]
jae 0x100519d8
mov edx, dword [esp + 4]
dec eax
movzx edx, byte [edx + ebx]
cmp dl, byte [ecx + ebx]
lea ebx, [ebx + 1]
je 0x100515b0
mov ebx, dword [esp + 0x10]
neg eax
mov edi, eax
jmp 0x10051553
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
nop dword [eax + eax]
test ecx, ecx
je 0x10051645
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x100519b1
lea eax, [ecx + edi]
cmp eax, dword [esp]
jae 0x100519bc
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x100515f0
add edi, dword [esp + 0xe8]
jmp 0x10051553
test cl, cl
je 0x10051660
mov eax, ecx
mov ecx, dword [esp]
xor al, 1
mov dword [esp + 0x18], eax
mov edi, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], ecx
jmp 0x10051244
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
add eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
jmp 0x10051244
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
sub ebx, eax
lea edi, [ecx + eax]
lea ecx, [esp + 0x1b0]
mov edx, ebx
call fcn.10116c80
mov esi, dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x1c], ebx
add eax, esi
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1b4]
cmp dword [esp + 0x164], 0
mov dword [esp], eax
je 0x100516d7
mov edi, ecx
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 0x88]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ecx, edi
mov edi, dword [esp + 0x1c]
add edi, esi
xor esi, esi
jmp 0x100518ad
mov dword [esp + 0x168], edi
cmp byte [esp + 0xc], 7
je 0x10050ea6
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
xor esi, esi
mov dword [esp], eax
jmp 0x100518ad
xor eax, eax
mov dword [esp], 4
cmp dword [esp + 0xd4], 0
mov dword [esp + 4], eax
je 0x100517ff
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
movdqa xmm0, xmmword [esi]
lea ecx, [ecx + esi + 1]
lea ebx, [esi + 0x10]
mov dword [esp + 0x14], ecx
pmovmskb edx, xmm0
not edx
jmp 0x10051771
mov eax, dword [esi + edi - 4]
lea ecx, [esi + edi - 8]
push dword [esi + edi - 0xc]
push dword [esi + edi - 0x10]
push ecx
call dword [eax + 4]
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
test dx, dx
je 0x10051780
lea eax, [edx - 1]
and eax, edx
jmp 0x100517a8
cmp ebx, ecx
jae 0x100517ff
movdqa xmm0, xmmword [ebx]
add esi, 0xfffffcc0
add ebx, 0x10
pmovmskb edx, xmm0
cmp dx, 0xffff
je 0x10051780
mov ecx, 0xfffffffe
sub ecx, edx
not edx
mov eax, edx
and eax, ecx
mov dword [esp + 8], eax
bsf ax, dx
movzx eax, ax
neg eax
imul edi, eax, 0x34
cmp dword [esi + edi - 0x30], 0
je 0x100517d8
mov eax, dword [esi + edi - 0x34]
mov dword [esp + 0xc], eax
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 0xc]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp byte [esi + edi - 0x14], 2
je 0x1005174e
mov eax, dword [esi + edi - 0x18]
lea ecx, [esi + edi - 0x1c]
push dword [esi + edi - 0x20]
push dword [esi + edi - 0x24]
push ecx
call dword [eax + 4]
add esp, 0xc
jmp 0x1005174e
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x1005187b
add ecx, 0x11
push ecx
push 0xff
push dword [esp + 0xd4]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xd4], 0
cmp edx, 7
jbe 0x10051848
inc edx
shr edx, 3
lea ecx, [edx*8]
sub ecx, edx
mov edx, ecx
mov eax, dword [esp + 4]
jmp 0x10051888
test edi, edi
mov dword [esp + 0x100], edi
je 0x100501a1
cmp dword [esp + 8], 0
je 0x100501a1
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x100501a1
mov dword [esp + 0xd4], 0
xor edx, edx
mov esi, dword [esp]
test eax, eax
mov dword [esp + 0xd0], edx
je 0x1005106d
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005106d
cmp dword [esp + 0x108], 0
mov dword [esp + 0x1c], edi
je 0x100518d4
mov edi, dword [esp + 0x104]
mov ebx, ecx
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ecx, ebx
mov ebx, dword [esp]
test esi, esi
mov dword [esp + 0xc], ecx
je 0x10051902
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051970
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [eax], ebx
mov dword [esi + 4], ecx
jmp 0x1004ff98
mov eax, dword [esp + 8]
test eax, eax
js 0x10050002
push eax
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x10050002
test edi, edi
mov dword [esp + 0x100], edi
je 0x1005028a
cmp dword [esp + 8], 0
je 0x1005028a
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005028a
call fcn.10006550
ud2
mov ecx, 0x1044ace7
mov edx, 0x46
push 0x1044ad30
push 0x10419488
lea eax, [esp + 0x30]
push eax
call fcn.1000a790
add esp, 0xc
ud2
mov ecx, 8
jmp 0x100519cc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp]
add ecx, edi
cmp ecx, edx
cmovb ecx, edx
jmp 0x100519e9
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823url_2.2.0_srclib.rs__filed
mov edx, 0x2b
push 0x104258bc
call fcn.100082b0
add esp, 4
ud2
mov ecx, 0x28
mov edx, 8
call fcn.10006540
ud2
mov edx, dword [esp + 0xc]
push 0x1044b0a0
jmp 0x100519ee
mov edx, dword [esp]
mov ecx, eax
push 0x1044b0b0
jmp 0x100519ee
mov ecx, dword [esp + 4]
mov edx, 4
call fcn.10006540
ud2
add edi, dword [esp + 0x80]
mov edx, dword [esp]
cmp edi, edx
cmovb edi, edx
mov ecx, edi
push 0x1044b090
call fcn.10008300
add esp, 4
ud2
mov edx, dword [esp]
mov ecx, ebx
push 0x1044b080
push edx
push edi
call fcn.10008e00
add esp, 0xc
ud2
mov ecx, edi
mov edx, 1
call fcn.10006540
ud2