Function at 0x100500f0
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 0x10051c47
mov eax, dword [eax]
lea ecx, [esp + 0x28]
mov edx, 0x103982da
mov dword [esp + 0x15c], eax
push 0x3b
call fcn.10051d00
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 bind
call sub.ADVAPI32.dll_RegOpenKeyExW
mov edi, eax
xor eax, eax
test edi, edi
jne 0x10050168
mov eax, dword [esp + 0x100]
mov ecx, bind
mov dword [esp + 8], eax
or ecx, dword [esp + 0x2c]
cmp ecx, 0x80000000
jne 0x100501a8
test edi, edi
je 0x100501ba
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051c30
mov ecx, dword [esp + 8]
mov esi, eax
mov dword [esi + 4], edi
mov dword [esi], ecx
jmp 0x10050266
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
test edi, edi
jne 0x10050181
mov eax, dword [esp + 8]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x200]
mov dword [esp + 0x200], eax
push 0x10398315
call fcn.10051fe0
add esp, 4
cmp dword [esp + 0x28], 1
jne 0x100501f2
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x10050236
cmp byte [esp + 0x38], 4
jne 0x10050205
mov eax, dword [esp + 0x2c]
xor edi, edi
xor esi, esi
mov eax, dword [eax]
jmp 0x10050211
mov edi, 0xde
xor eax, eax
mov esi, 1
cmp dword [esp + 0x30], 0
mov dword [esp + 0x14], eax
je 0x1005022e
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 0x10050dc0
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051c30
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 0x10050266
push eax
call sub.ADVAPI32.dll_RegCloseKey
cmp byte [esi], 2
jb 0x100502b2
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 0x100502a1
mov edi, dword [edi]
cmp dword [eax + 8], 9
jae 0x10050291
call sub.KERNEL32.dll_GetProcessHeap
push edi
jmp 0x10050299
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.100fef20
test eax, eax
je 0x10051c0d
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], 0x1037f350
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [esp + 0x28]
mov edx, 0x1039832b
push 0xe
call fcn.100f3b90
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1005037c
cmp dword [esp + 0x2c], 0
je 0x10050364
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [0x10551ebc]
cmp eax, 1
jbe 0x1005054a
mov eax, dword [0x10551ec0]
jmp 0x1005054a
lea ecx, [esp + 0x28]
mov edx, 0x10398339
push 0xa
call fcn.100f3b90
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x10050456
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 0x10051b0e
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, 0x103c920f
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.10052140
add esp, 8
test al, al
je 0x10050461
jmp 0x1005054a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x10398343
push 0xa
call fcn.100f3b90
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1005053f
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 0x10050507
mov eax, dword [esp + 4]
mov ebx, edi
lea edx, [edi + eax]
jmp 0x100504b6
mov ebx, esi
cmp ebx, edx
je 0x10050507
movzx eax, byte [ebx]
lea esi, [ebx + 1]
test al, al
jns 0x100504b0
add ebx, 2
cmp al, 0xe0
jae 0x100504ce
cmp esi, edx
cmove ebx, esi
jmp 0x100504b2
cmp al, 0xed
jne 0x100504ea
cmp esi, edx
cmove ebx, esi
cmp ebx, edx
je 0x10050507
inc ebx
cmp esi, edx
je 0x100504b2
cmp byte [esi], 0x9f
jbe 0x100504b2
jmp 0x10051bd9
cmp esi, edx
mov ecx, ebx
cmove ecx, esi
lea ebx, [ecx + 1]
cmp ecx, edx
cmove ebx, ecx
cmp al, 0xf0
jb 0x100504b2
lea eax, [ebx + 1]
cmp ebx, edx
cmovne ebx, eax
jmp 0x100504b2
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x100], edi
lea ecx, [esp + 0x98]
mov edx, 0x103c920f
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.10052140
add esp, 8
jmp 0x1005054a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x1039834d
push 0xb
call fcn.100f3b90
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10050626
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 0x100505e7
mov eax, dword [esp + 4]
mov edi, esi
lea edx, [esi + eax]
jmp 0x10050596
mov edi, ebx
cmp edi, edx
je 0x100505e7
movzx eax, byte [edi]
lea ebx, [edi + 1]
test al, al
jns 0x10050590
add edi, 2
cmp al, 0xe0
jae 0x100505ae
cmp ebx, edx
cmove edi, ebx
jmp 0x10050592
cmp al, 0xed
jne 0x100505ca
cmp ebx, edx
cmove edi, ebx
cmp edi, edx
je 0x100505e7
inc edi
cmp ebx, edx
je 0x10050592
cmp byte [ebx], 0x9f
jbe 0x10050592
jmp 0x10051498
cmp ebx, edx
mov ecx, edi
cmove ecx, ebx
lea edi, [ecx + 1]
cmp ecx, edx
cmove edi, ecx
cmp al, 0xf0
jb 0x10050592
lea eax, [edi + 1]
cmp edi, edx
cmovne edi, eax
jmp 0x10050592
mov eax, dword [esp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x100], esi
lea ecx, [esp + 0x98]
mov edx, 0x103c9d4f
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.10052140
add esp, 8
test al, al
je 0x10050631
jmp 0x1005071a
mov dword [esp + 0x100], 0
lea ecx, [esp + 0x28]
mov edx, 0x10398358
push 0xb
call fcn.100f3b90
add esp, 4
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1005070f
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 0x100506d7
mov eax, dword [esp + 4]
mov ebx, edi
lea edx, [edi + eax]
jmp 0x10050686
mov ebx, esi
cmp ebx, edx
je 0x100506d7
movzx eax, byte [ebx]
lea esi, [ebx + 1]
test al, al
jns 0x10050680
add ebx, 2
cmp al, 0xe0
jae 0x1005069e
cmp esi, edx
cmove ebx, esi
jmp 0x10050682
cmp al, 0xed
jne 0x100506ba
cmp esi, edx
cmove ebx, esi
cmp ebx, edx
je 0x100506d7
inc ebx
cmp esi, edx
je 0x10050682
cmp byte [esi], 0x9f
jbe 0x10050682
jmp 0x100514c5
cmp esi, edx
mov ecx, ebx
cmove ecx, esi
lea ebx, [ecx + 1]
cmp ecx, edx
cmove ebx, ecx
cmp al, 0xf0
jb 0x10050682
lea eax, [ebx + 1]
cmp ebx, edx
cmovne ebx, eax
jmp 0x10050682
mov eax, dword [esp + 8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x100], edi
lea ecx, [esp + 0x98]
mov edx, 0x103c9d4f
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.10052140
add esp, 8
jmp 0x1005071a
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x1005079b
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 0x1005141f
mov dword [esp + 0x10], ebx
mov ebx, edi
mov edi, esi
mov esi, dword [esp]
test esi, esi
je 0x10050792
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, edi
mov edi, ebx
jmp 0x1005141b
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x10050d72
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 0x10050e01
call fcn.100fef20
test eax, eax
je 0x10051c0d
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], 0x1037f350
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov ecx, ebx
mov edx, edi
push 1
push 0x103a4566
mov esi, dword [esp + 0x24]
push esi
call fcn.1000bd20
add esp, 0xc
lea ecx, [esp + 0x100]
mov edx, ebx
call fcn.10053280
cmp dword [esp + 0x100], 1
jne 0x10050e79
lea ebx, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 1
push 0x103a4565
push esi
call fcn.1000bd20
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 0x1005132d
jmp 0x100508e5
cmp byte [esp + 0x1a9], 0
mov ebx, edi
jne 0x1005132d
mov esi, dword [esp + 0x190]
mov ecx, ebx
lea edx, [esp + 0x160]
call fcn.10053280
cmp dword [esp + 0x28], 1
jne 0x1005091d
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 0x1005096c
cmp byte [esp + 0x1a9], 0
jne 0x1005132d
cmp byte [esp + 0x1a8], 0
je 0x10050945
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x1a4]
jmp 0x1005095b
mov esi, dword [esp + 0x1a0]
mov edi, dword [esp + 0x1a4]
cmp edi, esi
je 0x1005132d
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 0x103a4566
push edi
call fcn.1000bd20
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 0x100519ce
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x28]
call fcn.10053280
cmp dword [esp + 0x28], 1
jne 0x100509f6
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 0x10050a45
cmp byte [esp + 0x149], 0
jne 0x100519ce
cmp byte [esp + 0x148], 0
je 0x10050a1e
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
jmp 0x10050a34
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
cmp edi, esi
je 0x100519ce
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 0x10051c30
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 0x10050b05
mov edi, 1
mov eax, 1
cmp edi, 2
jne 0x100519d7
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.10053450
test eax, eax
je 0x10050c70
mov eax, dword [esp + 0xf4]
mov edi, dword [eax + 4]
test edi, edi
js 0x10051c06
mov esi, dword [eax]
je 0x10050cc4
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051cce
mov ecx, ebx
mov edx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0
jmp 0x10050ce0
mov edi, 1
mov eax, 1
jmp 0x10050b3a
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 0x10050a8d
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xf4]
mov ebx, eax
call fcn.10053280
cmp dword [esp + 0xf4], 1
jne 0x10050b80
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 0x10050b20
jmp 0x10050bc4
mov eax, ebx
cmp byte [esp + 0x71], 0
mov ebx, dword [esp]
jne 0x10050d69
cmp byte [esp + 0x70], 0
je 0x10050ba1
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
jmp 0x10050bb1
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp edx, esi
je 0x10050d69
mov byte [esp + 0x71], 1
sub edx, esi
add esi, dword [esp + 0x58]
cmp edi, eax
jne 0x10050b20
mov eax, edi
mov dword [esp + 8], edx
inc eax
je 0x10051c06
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 0x10051c06
test eax, eax
js 0x10051c06
mov cl, dl
mov dword [esp + 4], eax
shl ecx, 2
test edi, edi
cmove ebx, edi
test ebx, ebx
je 0x10050c40
lea edx, [edi*8]
test edx, edx
je 0x10050c40
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 0x10050c54
test eax, eax
je 0x10050c56
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 0x10051c88
mov eax, dword [esp + 4]
mov ebx, ecx
shr eax, 3
jmp 0x10050b20
lea ecx, [esp + 0x1b0]
lea eax, [esp + 0xf4]
mov dword [esp + 0x28], 0x10398364
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], 0x10018680
mov dword [esp + 0x3c], 1
call fcn.100068b0
jmp 0x10050d19
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, ebx
xor edx, edx
call fcn.10116f60
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.10052140
add esp, 8
cmp dword [esp + 4], 0
je 0x100508d5
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x100508d5
lea edx, [esp + 0x28]
jmp 0x10050a8d
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 0x1005141f
lea ecx, [esp + 0x100]
lea edx, [esp + 0x200]
push 0x10398320
call fcn.10051fe0
add esp, 4
cmp dword [esp + 0x100], 1
jne 0x10050eac
mov ebx, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov esi, 1
jmp 0x10051b97
call fcn.100fef20
test eax, eax
je 0x10051c0d
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 0x10050e54
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], 0x1037f350
mov dword [esp + 0x7c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x1005139d
mov ecx, edi
mov edx, esi
call fcn.10053450
test eax, eax
je 0x10051264
mov edi, edx
lea edx, [esp + 0xdc]
mov ecx, ebx
mov esi, eax
call fcn.10006ef0
lea ecx, [esp + 0xb8]
mov edx, esi
push ebx
push edi
jmp 0x10051325
movzx edx, byte [esp + 0x110]
mov esi, 1
mov ecx, 0xde
mov dword [esp], 0
cmp edx, 7
ja 0x10051b6d
mov eax, 0x86
bt eax, edx
jae 0x10051b6d
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.10116f60
jmp 0x10050f42
mov ecx, dword [esp + 0x160]
mov byte [ecx + eax], bl
inc eax
mov dword [esp + 0x168], eax
xor edi, edi
jmp 0x10050fb1
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.10116f60
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 0x10050fc0
shr edi, 0x10
mov ebx, edi
jmp 0x10050fd0
cmp esi, dword [esp + 4]
je 0x10051121
movzx ebx, word [esi]
add esi, 2
mov eax, ebx
and eax, 0xf800
cmp eax, 0xd800
jne 0x10051030
movzx ecx, bx
xor edi, edi
mov eax, 0xfffd
cmp ecx, 0xdbff
ja 0x10051090
mov ecx, dword [esp + 4]
cmp esi, ecx
je 0x10051077
movzx ecx, word [esi]
add esi, 2
mov edx, ecx
and edx, 0xfc00
cmp edx, 0xdc00
jne 0x1005107b
add ebx, 0x2800
lea eax, [ecx + 0x2400]
movzx edx, bx
movzx eax, ax
shl edx, 0xa
or eax, edx
add eax, 0x10000
jmp 0x10051090
movzx eax, bx
cmp eax, 0x80
jb 0x100510f0
xor edi, edi
cmp eax, 0x800
mov dword [esp], esi
mov dword [esp + 0x28], 0
jae 0x10050f50
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 0x10050f78
mov esi, ecx
jmp 0x10051090
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 0x10050f50
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 0x10050f78
mov eax, dword [esp + 0x168]
cmp eax, dword [esp + 0x164]
jne 0x10050f30
lea ecx, [esp + 0x160]
mov edx, 1
call fcn.10116f60
mov eax, dword [esp + 0x168]
jmp 0x10050f30
mov edi, dword [esp + 0x168]
mov edx, dword [esp + 0x160]
test edi, edi
je 0x10051159
nop word [eax + eax]
cmp byte [edx + edi - 1], 0
jne 0x100519a4
dec edi
jne 0x10051140
mov dword [esp + 0x168], 0
xor edi, edi
cmp byte [esp + 0xc], 7
jne 0x100519b6
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 0x103c9e0f
push edi
call fcn.1000bd20
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 0x10051587
lea edi, [esp + 0x100]
lea eax, [esp + 0xdc]
lea ebx, [esp + 0x1b0]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x10398364
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], 0x10045a10
mov dword [esp + 0x3c], 1
call fcn.100068b0
lea esi, [esp + 0xb8]
mov edx, 0x103c920f
mov ecx, esi
push edi
push 4
call fcn.10052140
add esp, 8
lea eax, [esp + 0xdc]
lea edx, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x28], 0x10398364
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], 0x10045a10
call fcn.100068b0
mov ecx, esi
mov edx, 0x103c9d4f
push edi
push 5
call fcn.10052140
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 0x1005139d
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.100fef20
test eax, eax
je 0x10051c0d
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], 0x1037f350
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.1004ff90
lea ecx, [esp + 0x98]
call fcn.1004ff90
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 0x10051c60
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 0x10051490
lock dec dword [ecx]
jne 0x10051490
lea ecx, [esp + 0x28]
call fcn.1004ff60
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
mov dword [esp + 0x100], esi
je 0x10050631
cmp dword [esp + 8], 0
je 0x10050631
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x10050631
test edi, edi
mov dword [esp + 0x100], edi
je 0x1005071a
cmp dword [esp + 8], 0
je 0x1005071a
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005071a
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.10116f60
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.10116f60
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 0x100516bc
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
cmp esi, 0xffffffff
lea eax, [ecx + eax]
je 0x100517f0
cmp eax, dword [esp]
jae 0x10051920
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 0x10051651
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 0x1005166e
lea esi, [edi + ecx]
cmp esi, dword [esp]
jae 0x10051c37
mov edx, dword [esp + 4]
lea esi, [ecx + 1]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + ecx]
mov ecx, esi
je 0x10051620
add edi, dword [esp + 0x154]
mov ebx, dword [esp + 0x10]
add edi, esi
jmp 0x10051655
add edi, dword [esp + 0xc]
xor esi, esi
mov eax, dword [esp + 0x90]
add eax, edi
cmp eax, dword [esp]
jb 0x100515cd
jmp 0x10051920
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
nop dword [eax]
cmp esi, ecx
jae 0x100517df
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x10051c71
lea eax, [ecx + edi]
cmp eax, dword [esp]
jae 0x10051c7c
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x10051680
add edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x150]
jmp 0x10051657
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], esi
jmp 0x100516d4
add edi, ecx
mov cl, 1
test edi, edi
je 0x100516ed
cmp dword [esp], edi
je 0x100516ed
jbe 0x10051cb8
cmp byte [ebx + edi], 0xbf
jle 0x10051cb8
cmp dword [esp], edi
je 0x100518e4
lea edx, [ebx + edi]
movzx ebx, byte [edx]
movzx eax, bl
test bl, bl
js 0x10051714
mov ebx, dword [esp + 0x10]
test cl, cl
je 0x100517a2
jmp 0x100514f2
mov esi, dword [esp + 0x94]
mov dword [esp + 0x18], ecx
lea ecx, [edx + 1]
cmp ecx, esi
je 0x10051732
movzx ecx, byte [edx + 1]
add edx, 2
and ecx, 0x3f
jmp 0x10051736
xor ecx, ecx
mov edx, esi
and eax, 0x1f
cmp bl, 0xdf
jbe 0x10051752
mov esi, dword [esp + 0x94]
cmp edx, esi
je 0x10051757
movzx esi, byte [edx]
inc edx
and esi, 0x3f
jmp 0x1005175b
shl eax, 6
jmp 0x1005177d
mov edx, esi
xor esi, esi
shl ecx, 6
or ecx, esi
cmp bl, 0xf0
jb 0x1005177a
cmp edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x10]
je 0x10051785
movzx edx, byte [edx]
and edx, 0x3f
jmp 0x10051787
shl eax, 0xc
mov ebx, dword [esp + 0x10]
or eax, ecx
jmp 0x10051796
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 0x100514f2
cmp eax, 0x110000
je 0x10051920
mov ecx, 1
cmp eax, 0x80
jb 0x100516d0
mov ecx, 2
cmp eax, 0x800
jb 0x100516d0
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
jmp 0x100516d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], 0
jmp 0x10051911
cmp eax, dword [esp]
jae 0x10051920
movzx ecx, byte [esp + 0x18]
mov edi, dword [esp + 0x20]
or ecx, dword [esp + 0xec]
mov dword [esp + 0x24], ecx
jmp 0x10051825
add edi, dword [esp + 0xc]
mov eax, dword [esp + 0x90]
add eax, edi
cmp eax, dword [esp]
jae 0x10051920
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 0x1005180f
lea ecx, [ebx + edi]
mov ebx, dword [esp + 0x80]
mov eax, edi
neg eax
nop dword [eax + eax]
cmp dword [esp + 0x7c], ebx
je 0x100518a0
lea esi, [edi + ebx]
cmp esi, dword [esp]
jae 0x10051c98
mov edx, dword [esp + 4]
dec eax
movzx edx, byte [edx + ebx]
cmp dl, byte [ecx + ebx]
lea ebx, [ebx + 1]
je 0x10051870
mov ebx, dword [esp + 0x10]
neg eax
mov edi, eax
jmp 0x10051813
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
nop dword [eax + eax]
test ecx, ecx
je 0x10051905
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x10051c71
lea eax, [ecx + edi]
cmp eax, dword [esp]
jae 0x10051c7c
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x100518b0
add edi, dword [esp + 0xe8]
jmp 0x10051813
test cl, cl
je 0x10051920
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 0x10051504
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
add eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
jmp 0x10051504
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.10116f60
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 0x10051997
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 0x10051b6d
mov dword [esp + 0x168], edi
cmp byte [esp + 0xc], 7
je 0x10051166
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x164]
xor esi, esi
mov dword [esp], eax
jmp 0x10051b6d
xor eax, eax
mov dword [esp], 4
cmp dword [esp + 0xd4], 0
mov dword [esp + 4], eax
je 0x10051abf
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 0x10051a31
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 0x10051a40
lea eax, [edx - 1]
and eax, edx
jmp 0x10051a68
cmp ebx, ecx
jae 0x10051abf
movdqa xmm0, xmmword [ebx]
add esi, 0xfffffcc0
add ebx, 0x10
pmovmskb edx, xmm0
cmp dx, 0xffff
je 0x10051a40
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 0x10051a98
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 0x10051a0e
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 0x10051a0e
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x10051b3b
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 0x10051b08
inc edx
shr edx, 3
lea ecx, [edx*8]
sub ecx, edx
mov edx, ecx
mov eax, dword [esp + 4]
jmp 0x10051b48
test edi, edi
mov dword [esp + 0x100], edi
je 0x10050461
cmp dword [esp + 8], 0
je 0x10050461
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x10050461
mov dword [esp + 0xd4], 0
xor edx, edx
mov esi, dword [esp]
test eax, eax
mov dword [esp + 0xd0], edx
je 0x1005132d
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005132d
cmp dword [esp + 0x108], 0
mov dword [esp + 0x1c], edi
je 0x10051b94
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 0x10051bc2
call sub.KERNEL32.dll_GetProcessHeap
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10051c30
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [eax], ebx
mov dword [esi + 4], ecx
jmp 0x10050258
mov eax, dword [esp + 8]
test eax, eax
js 0x100502c2
push eax
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x100502c2
test edi, edi
mov dword [esp + 0x100], edi
je 0x1005054a
cmp dword [esp + 8], 0
je 0x1005054a
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
jmp 0x1005054a
call fcn.100067e0
ud2
mov ecx, 0x103c9a77
mov edx, 0x46
push 0x103c9ac0
push 0x10398218
lea eax, [esp + 0x30]
push eax
call fcn.1000aa20
add esp, 0xc
ud2
mov ecx, 8
jmp 0x10051c8c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp]
add ecx, edi
cmp ecx, edx
cmovb ecx, edx
jmp 0x10051ca9
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823url_2.2.0_srclib.rs__file
mov edx, 0x2b
push 0x103a464c
call fcn.10008540
add esp, 4
ud2
mov ecx, 0x28
mov edx, 8
call fcn.100067d0
ud2
mov edx, dword [esp + 0xc]
push 0x103c9e30
jmp 0x10051cae
mov edx, dword [esp]
mov ecx, eax
push 0x103c9e40
jmp 0x10051cae
mov ecx, dword [esp + 4]
mov edx, 4
call fcn.100067d0
ud2
add edi, dword [esp + 0x80]
mov edx, dword [esp]
cmp edi, edx
cmovb edi, edx
mov ecx, edi
push 0x103c9e20
call fcn.10008590
add esp, 4
ud2
mov edx, dword [esp]
mov ecx, ebx
push 0x103c9e10
push edx
push edi
call fcn.10009090
add esp, 0xc
ud2
mov ecx, edi
mov edx, 1
call fcn.100067d0
ud2