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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, edx
mov edi, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
call fcn.00423a30
mov ecx, 7
test eax, eax
jne 0x504a6f
mov ecx, 0x280
xor edx, edx
call fcn.00424d20
mov ecx, 7
test eax, eax
je 0x504a6f
mov ebx, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0
lea eax, [esp + 0x70]
mov ecx, edi
mov edx, 0x16
push 0
push eax
call fcn.004ef0a0
add esp, 8
test eax, eax
je 0x5049c6
mov edi, eax
cmp dword [0x53c208], 0
je 0x504a03
mov eax, dword [0x53de88]
test eax, eax
je 0x504994
push eax
call dword [0x53c258]
add esp, 4
push ebx
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push ebx
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x504a0d
push eax
call dword [0x53c260]
jmp 0x504a0a
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x70]
mov ecx, esi
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x504a9f
mov ecx, dword [esi + 0x64]
test byte [ecx + 0x11], 0x90
je 0x504a79
mov edx, 1
push 0
call fcn.00457030
add esp, 4
jmp 0x504a8c
push ebx
call dword [0x53c22c]
add esp, 4
mov esi, dword [esp + 0x60]
test esi, esi
je 0x504a6d
cmp dword [0x53c208], 0
je 0x504a63
mov eax, dword [0x53de88]
test eax, eax
je 0x504a31
push eax
call dword [0x53c258]
add esp, 4
push esi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push esi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x504a6d
push eax
call dword [0x53c260]
jmp 0x504a6a
push esi
call dword [0x53c22c]
add esp, 4
mov ecx, edi
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov word [ecx + 0x10], 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x504a9f
push eax
call dword [0x53c260]
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 4], ebx
push esi
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x504b20
push 0
push esi
call fcn.00431a60
add esp, 8
mov edi, eax
push 0
push esi
call fcn.00431b10
add esp, 8
test edi, edi
je 0x504b20
mov ebx, eax
test eax, eax
jle 0x504b1c
call fcn.00423a30
test eax, eax
je 0x504af7
push esi
call fcn.00430240
add esp, 4
mov eax, 7
mov ebx, dword [esp + 4]
jmp 0x504972
xor ecx, ecx
mov edx, ebx
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
je 0x504ae0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], eax
push ebx
push edi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esp + 0x64], ebx
push esi
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x5071e6
mov esi, dword [esp + 0x28]
test esi, esi
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x18]
jle 0x504972
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x238]
mov dword [esp + 0xd8], eax
lea eax, [ebx + 0x248]
mov dword [esp + 0x24], eax
cmp ecx, 3
mov eax, 2
cmovge eax, ecx
mov dword [esp + 0xbc], eax
lea eax, [ebx + 0x40]
mov dword [esp + 0xd0], eax
lea eax, [ebx + 0x4c]
mov dword [esp + 0xb8], eax
lea eax, [ebx + 0x78]
mov dword [esp + 0xc8], eax
lea eax, [ebx + 0x230]
mov dword [esp + 0xd4], eax
lea eax, [ebx + 0x50]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
nop word cs:[eax + eax]
mov dword [esp + 0x28], esi
mov eax, dword [edi + 0x100]
mov dword [esp + 8], eax
mov dword [esp + 0xc0], 0
mov ecx, edi
mov edx, 0x1c
push 0
lea eax, [esp + 0xc4]
push eax
call fcn.004ef0a0
add esp, 8
mov esi, dword [esp + 0xc0]
mov ecx, esi
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x504c5e
mov ecx, dword [esi + 0x64]
test byte [ecx + 0x11], 0x90
je 0x504c35
mov edx, dword [esp + 0xbc]
push 0
call fcn.00457030
add esp, 4
jmp 0x504c4b
mov eax, dword [esp + 0xbc]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov word [ecx + 0x10], 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x504c5e
push eax
call dword [0x53c260]
add esp, 4
push esi
call fcn.0042be30
add esp, 4
mov edi, 0xffffffff
cmp eax, 0x64
jne 0x504c91
push 0
push esi
call fcn.0042d040
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edx
push 1
push esi
call fcn.0042d110
add esp, 8
mov edi, eax
shl dword [esp + 8], 0xa
mov dword [esp + 0xb0], edi
push esi
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
xor edx, edx
mov dword [esp], eax
test eax, eax
jne 0x504d22
mov eax, dword [esp + 0x64]
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x504eac
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov esi, dword [esp + 0x60]
mov dword [esp], 0x10b
mov dword [esp + 0x10], 0
cmp byte [esi + eax - 1], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
js 0x504e0a
mov edx, eax
dec eax
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
nop word cs:[eax + eax]
lea eax, [edx - 1]
test eax, eax
jle 0x504d2b
cmp byte [esi + edx - 2], 0
mov edx, eax
js 0x504d10
jmp 0x504d38
mov ecx, dword [esp + 0x2c]
jmp 0x504eac
mov eax, ecx
cmp dword [esp + 0x14], 0
jg 0x504e0a
test eax, eax
mov ecx, 1
cmovle ecx, eax
dec ecx
nop word cs:[eax + eax]
cmp eax, 2
jl 0x504d63
lea edi, [eax - 1]
cmp byte [esi + eax - 2], 0
mov eax, edi
js 0x504d50
jmp 0x504d65
mov edi, ecx
mov dword [esp + 0x64], edi
lea ecx, [esi + edi]
lea edx, [esp + 0x70]
call fcn.004ef420
add eax, edi
movzx edx, byte [esi + eax]
test dl, dl
js 0x504d8e
mov ecx, 1
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0xc]
jmp 0x504df4
and edx, 0x7f
movzx ebx, byte [esi + eax + 1]
mov ecx, ebx
shl ecx, 7
or ecx, edx
mov edx, ecx
mov ecx, 2
test bl, bl
mov edi, dword [esp + 0xc]
jns 0x504df0
mov ecx, edx
and ecx, 0x3fff
movzx ebx, byte [esi + eax + 2]
mov edx, ebx
shl edx, 0xe
or edx, ecx
mov ecx, 3
test bl, bl
jns 0x504df0
mov ecx, edx
and ecx, 0x1fffff
movzx edx, byte [esi + eax + 3]
mov dword [esp], edx
mov edx, dword [esp]
shl edx, 0x15
or edx, ecx
mov ecx, 4
cmp byte [esp], 0
js 0x505258
mov dword [esp + 0x10], edx
add ecx, eax
cmp ecx, dword [esp + 0x14]
mov ecx, 0x10b
mov eax, 0
cmove ecx, eax
mov dword [esp], ecx
mov eax, dword [esp]
mov dword [esp + 0x34], eax
test edi, edi
js 0x504e66
mov edi, dword [esp + 8]
mov ebx, edi
sar ebx, 0x1f
push ebx
push edi
push dword [esp + 0x34]
push dword [esp + 0x44]
call fcn.0050f6d0
add esp, 0x10
mov dword [esp + 0x1c], eax
mov esi, edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
push ebx
push edi
mov edi, eax
push ecx
mov ebx, ecx
push eax
call fcn.0050f6d0
add esp, 0x10
cmp dword [esp + 0x1c], eax
sbb esi, edx
jge 0x504e6e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
xor edx, edx
mov ecx, dword [esp + 0x2c]
jmp 0x504ea4
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
cmovge ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], 1
mov dword [esp + 0x38], edi
mov ecx, ebx
mov edx, 1
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 4]
test edi, edi
jle 0x5071ef
mov esi, 0x10b
test ecx, ecx
js 0x5071f2
mov eax, dword [esp + 0x38]
neg eax
sbb dword [esp + 8], ecx
jl 0x5071f2
mov dword [esp + 8], edx
mov dword [esp + 0x2c], ecx
push 0x280
push 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebx + 0x244], 1
cmp dword [esp], 0
je 0x504f0a
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
jmp 0x5051b0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x18]
mov edx, 8
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
add esp, 8
mov esi, dword [esp + 0x38]
add esi, 1
mov ecx, dword [esp + 0x2c]
adc ecx, 0
mov dword [esp], ecx
test eax, eax
mov dword [esp + 0xc], edi
je 0x504f83
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], 0xffffffff
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, 0xf
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
add esp, 8
test eax, eax
je 0x504fb3
mov dword [esp], eax
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
jmp 0x5051b0
mov ebx, dword [esp + 0x70]
mov ecx, ebx
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x505026
mov ecx, dword [ebx + 0x64]
test byte [ecx + 0x11], 0x90
je 0x505005
mov edx, esi
push dword [esp]
call fcn.00457030
add esp, 4
jmp 0x505013
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
add ebx, 2
mov edi, dword [esp + 0x2c]
adc edi, 0
mov ecx, esi
mov edx, 1
call fcn.004323c0
test eax, eax
mov edx, dword [esp]
jne 0x5050a0
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 0x64]
test byte [ecx + 0x11], 0x90
je 0x50507a
mov edx, ebx
push edi
call fcn.00457030
mov edx, dword [esp + 4]
add esp, 4
jmp 0x505085
mov dword [ecx], esi
mov eax, dword [esp]
mov dword [ecx + 4], eax
mov word [ecx + 0x10], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505026
push eax
call dword [0x53c260]
add esp, 4
push ebx
call fcn.0042be30
add esp, 4
push 0
push ebx
call fcn.0042d110
add esp, 8
mov edi, eax
push ebx
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
test edi, edi
je 0x50506f
cmp dword [esp + 8], 0
mov ebx, dword [esp + 4]
je 0x50514e
mov ecx, 1
cmp edi, 1
je 0x504f45
jmp 0x50514e
xor ecx, ecx
mov ebx, dword [esp + 4]
jmp 0x504f45
mov dword [ecx], ebx
mov dword [ecx + 4], edi
mov word [ecx + 0x10], 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5050a0
push eax
call dword [0x53c260]
mov edx, dword [esp + 4]
add esp, 4
mov edi, dword [esp + 0x14]
and edi, 0xfffffc00
add edi, 0x400
adc edx, 0
mov dword [esp], edx
mov ecx, esi
mov edx, 2
call fcn.004323c0
test eax, eax
mov ebx, dword [esp + 4]
jne 0x505105
mov eax, dword [esp]
mov ecx, dword [esi + 0x64]
test byte [ecx + 0x39], 0x90
je 0x5050e6
add ecx, 0x28
mov edx, edi
push eax
call fcn.00457030
add esp, 4
jmp 0x5050f2
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], eax
mov word [ecx + 0x38], 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505105
push eax
call dword [0x53c260]
add esp, 4
push esi
call fcn.0042be30
add esp, 4
cmp eax, 0x64
mov edi, esi
jne 0x50513d
push 0
push edi
call fcn.00431fc0
add esp, 8
mov esi, eax
push edi
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
cmp esi, 5
jne 0x50514a
or byte [ebx + 0x244], 2
jmp 0x50514a
push edi
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x28]
je 0x50515e
mov dword [esp], eax
jmp 0x504efd
mov dword [esp + 0x1c], edi
mov dword [esp + 0x70], 0
mov edi, dword [esp + 0x24]
pxor xmm0, xmm0
movdqu xmmword [edi + 0x20], xmm0
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
call fcn.00423a30
test eax, eax
je 0x5051cd
mov dword [edi], 0
mov eax, 7
mov ecx, edi
mov edi, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 0x34], eax
nop
call fcn.004edd70
mov eax, dword [esp]
test eax, eax
jne 0x5071f8
test esi, esi
jg 0x504bd0
jmp 0x5071f8
mov eax, dword [esp + 0xc]
lea esi, [eax*4]
mov ecx, esi
xor edx, edx
call fcn.00424d20
mov dword [edi], eax
test eax, eax
je 0x505248
push esi
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov edi, dword [esp + 0x18]
mov ecx, edi
mov edx, 0xc
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
mov ecx, dword [esp + 0x2c]
add esp, 8
test eax, eax
mov esi, dword [esp + 0x28]
jne 0x5051a8
mov edi, dword [esp + 0x70]
mov ecx, edi
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x50529f
mov ecx, dword [edi + 0x64]
test byte [ecx + 0x11], 0x90
je 0x505279
mov edx, dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.00457030
add esp, 4
jmp 0x50528c
mov ecx, edi
mov eax, 7
mov esi, dword [esp + 0x28]
jmp 0x5051a4
and edx, 0xfffffff
movzx ecx, byte [esi + eax + 4]
and ecx, 7
shl ecx, 0x1c
or edx, ecx
mov dword [esp + 0x10], edx
mov ecx, 5
jmp 0x504df4
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov word [ecx + 0x10], 4
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x50529f
push eax
call dword [0x53c260]
add esp, 4
mov dword [esp + 0x14], edi
push edi
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x50544e
xor edi, edi
push 1
mov esi, dword [esp + 0x18]
push esi
call fcn.0042d040
add esp, 8
mov ebx, eax
mov dword [esp + 0x4c], edx
push 2
push esi
call fcn.0042d040
add esp, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
push 3
push esi
call fcn.0042d040
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], edx
push 4
push esi
call fcn.00431a60
add esp, 8
mov dword [esp + 0xa8], eax
push 4
push esi
call fcn.00431b10
mov ecx, dword [esp + 0x54]
add esp, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 0x48], ebx
or ebx, ecx
mov eax, 0
jne 0x50533f
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
jne 0x5054d6
mov eax, dword [esp + 0x30]
add eax, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0x44], edx
mov ebx, ecx
mov edi, eax
lea esi, [eax + 0x60]
call fcn.00423a30
test esi, esi
jle 0x5054cd
mov dword [esp], 7
test eax, eax
jne 0x5054dd
mov ecx, esi
xor edx, edx
call fcn.00424d20
test eax, eax
je 0x5054dd
mov esi, eax
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x50], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 0xc], ebx
mov eax, dword [esp + 0x48]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x18], ecx
test edi, edi
je 0x50540d
mov ebx, esi
add ebx, 0x60
mov dword [esi + 0x28], ebx
mov byte [esi + 5], 1
mov eax, dword [esp + 0x30]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x5053fa
push eax
push dword [esp + 0xac]
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0xc
pxor xmm0, xmm0
movdqu xmmword [ebx + eax], xmm0
mov dword [ebx + eax + 0x10], 0
jmp 0x505419
add eax, 0xffffffff
adc ebx, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov dword [eax + edi*4], esi
mov ebx, dword [esp + 4]
inc dword [ebx + 0x24c]
push dword [esp + 0x14]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
mov esi, dword [esp + 0x28]
jne 0x50544e
inc edi
cmp edi, dword [esp + 0xc]
jl 0x5052b7
push dword [esp + 0x14]
call fcn.00430240
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x505472
mov dword [esp], eax
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
jmp 0x5051b0
mov eax, dword [esp + 0xc]
cmp dword [ebx + 0x24c], eax
mov edi, dword [esp + 0x18]
jne 0x5054bd
mov eax, dword [esp + 0xd8]
mov dword [ebx + 0x254], eax
mov ecx, edi
mov edx, dword [esp + 0x24]
push dword [ebx + 0x23c]
push dword [ebx + 0x238]
call fcn.004ef560
add esp, 8
mov dword [esp + 0x34], eax
mov dword [esp], eax
test eax, eax
je 0x505507
mov ecx, dword [esp + 0x24]
jmp 0x5051b0
mov dword [esp], 0
mov ecx, dword [esp + 0x24]
jmp 0x5051b0
mov dword [esp], 7
jmp 0x5054dd
mov dword [esp], 0x10b
mov ebx, dword [esp + 4]
inc dword [ebx + 0x24c]
push dword [esp + 0x14]
call fcn.00430240
add esp, 4
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp]
jmp 0x5051a8
mov ecx, edi
mov edx, dword [esp + 0x24]
call fcn.004efd50
mov esi, eax
mov dword [esp + 0x34], eax
cmp eax, 0x64
je 0x505525
test esi, esi
jne 0x50732f
cmp dword [esp + 8], 0
je 0x5055c0
cmp dword [esp + 0x1c], 0
jle 0x5055c0
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x270]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x274]
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x18]
mov edx, 0x20
push 0
lea eax, [esp + 0x60]
push eax
call fcn.004ef0a0
add esp, 8
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
add edi, 1
mov ebx, dword [esp + 0x2c]
adc ebx, 0
mov dword [esp + 0xc], ecx
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x505648
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x64]
test byte [ecx + 0x11], 0x90
je 0x505626
mov edx, edi
push ebx
call fcn.00457030
add esp, 4
jmp 0x505631
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x18]
mov edx, 0x1d
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
add esp, 8
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov ebx, dword [esp + 0x70]
mov ecx, ebx
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x5056a8
mov ecx, dword [ebx + 0x64]
test byte [ecx + 0x11], 0x90
je 0x505682
mov edx, dword [esp + 0x38]
push dword [esp + 0x2c]
call fcn.00457030
add esp, 4
jmp 0x505695
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov word [ecx + 0x10], 4
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505648
push eax
call dword [0x53c260]
add esp, 4
dec dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov edx, 2
call fcn.004323c0
test eax, eax
jne 0x505716
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x64]
test byte [ecx + 0x39], 0x90
je 0x5056eb
add ecx, 0x28
mov edx, dword [esp + 0x1c]
push 0
call fcn.00457030
add esp, 4
jmp 0x5056ff
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov word [ecx + 0x10], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5056a8
push eax
call dword [0x53c260]
add esp, 4
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x24c]
mov ecx, ebx
mov edx, 2
call fcn.004323c0
test eax, eax
jne 0x505949
mov ecx, dword [ebx + 0x64]
test byte [ecx + 0x39], 0x90
je 0x505927
add ecx, 0x28
mov eax, edi
sar eax, 0x1f
mov edx, edi
push eax
call fcn.00457030
add esp, 4
jmp 0x505936
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], 0
mov word [ecx + 0x38], 4
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505716
push eax
call dword [0x53c260]
add esp, 4
push dword [esp + 0xc]
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x50644b
push 1
mov edi, dword [esp + 0x10]
push edi
call fcn.0042d040
add esp, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
push 2
push edi
call fcn.0042d040
add esp, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edx
push 3
push edi
call fcn.00431d90
add esp, 8
mov dword [esp], eax
test eax, eax
je 0x5057b0
mov eax, dword [esp]
movzx ecx, byte [eax]
mov eax, ecx
add al, 0xd0
cmp al, 9
ja 0x5057cf
xor eax, eax
xor ebx, ebx
xor edi, edi
mov edx, 0xa
mul edx
mov dword [esp + 8], eax
movzx eax, cl
add ebx, ebx
lea ebx, [ebx + ebx*4]
add eax, 0xffffffd0
add eax, dword [esp + 8]
adc ebx, edx
mov ecx, dword [esp]
movzx ecx, byte [ecx + edi + 1]
inc edi
mov edx, ecx
add dl, 0xd0
mov dword [esp + 0x10], eax
cmp dl, 0xa
jb 0x50577b
jmp 0x5057db
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x28]
mov edi, dword [ecx + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
jmp 0x50587c
xor edi, edi
mov dword [esp + 0x10], 0
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp]
movzx edx, byte [eax + edi]
cmp edx, 0x20
jne 0x5057ee
inc edi
jmp 0x5057df
mov eax, edx
mov ecx, edi
cmp eax, 0x2d
jne 0x50580a
mov eax, dword [esp]
movzx eax, byte [eax + ecx + 1]
inc ecx
mov dword [esp + 0x3c], 0xffffffff
jmp 0x505812
mov dword [esp + 0x3c], 1
mov dword [esp + 8], eax
add al, 0xd0
xor ebx, ebx
mov edi, 0
cmp al, 9
ja 0x505859
mov eax, dword [esp]
add ecx, eax
inc ecx
xor eax, eax
xor edi, edi
mov edx, 0xa
mul edx
movzx ebx, byte [esp + 8]
add edi, edi
lea edi, [edi + edi*4]
add ebx, 0xffffffd0
add ebx, eax
adc edi, edx
movzx eax, byte [ecx]
mov dword [esp + 8], eax
mov edx, eax
add dl, 0xd0
inc ecx
mov eax, ebx
cmp dl, 0xa
jb 0x50582d
mov ecx, dword [esp + 0x3c]
sar ecx, 0x1f
mov eax, ebx
mul dword [esp + 0x3c]
imul ecx, ebx
add ecx, edx
imul edi, dword [esp + 0x3c]
add edi, ecx
mov ecx, dword [esp + 4]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edi
test edi, edi
jns 0x505895
neg eax
mov ecx, 0
sbb ecx, edi
mov edx, dword [esp + 4]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
mov edi, ecx
or eax, edi
mov eax, dword [esp + 4]
sete byte [eax + 0x30]
push 4
mov edi, dword [esp + 0x10]
push edi
call fcn.00431b10
add esp, 8
mov dword [esp + 0x3c], eax
push 4
push edi
call fcn.00431a60
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x505901
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x18]
mov edx, 0x22
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
add esp, 8
mov dword [esp], eax
test eax, eax
je 0x505c31
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
jmp 0x50645a
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
cmp dword [esp + 0x3c], 0
mov ecx, 7
mov eax, 0x10b
cmove ecx, eax
mov dword [esp], ecx
jmp 0x50645a
mov dword [ecx + 0x28], edi
sar edi, 0x1f
mov dword [ecx + 0x2c], edi
mov word [ecx + 0x38], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505949
push eax
call dword [0x53c260]
add esp, 4
push ebx
call fcn.0042be30
add esp, 4
mov dword [esp + 8], 0
cmp eax, 0x64
jne 0x50596e
push 0
push ebx
call fcn.0042d110
add esp, 8
mov dword [esp + 8], eax
push ebx
call fcn.00430240
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov ecx, dword [esp + 0x18]
mov edx, 0xa
push 0
lea eax, [esp + 0x60]
push eax
call fcn.004ef0a0
add esp, 8
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
push eax
call fcn.0042be30
add esp, 4
cmp eax, 0x64
jne 0x5059ee
push 0
push dword [esp + 4]
call fcn.0042d040
add esp, 8
mov ebx, dword [esp + 4]
mov dword [ebx + 0x18], eax
mov ecx, dword [esp + 8]
shl ecx, 4
mov edi, ecx
sar edi, 0x1f
add ecx, eax
mov dword [ebx + 0x1c], edx
adc edi, edx
add ecx, 0xffffffff
mov dword [ebx + 0x20], ecx
adc edi, 0xffffffff
mov dword [ebx + 0x24], edi
push dword [esp]
call fcn.00430240
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push 0
push dword [eax + 0x24]
call fcn.00503a60
add esp, 0xc
mov dword [esp], eax
test eax, eax
jne 0x50645a
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 8]
mov dword [edx], ecx
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x10], eax
mov edi, dword [edx + 0x18]
mov dword [esp + 0x30], edi
mov ebx, dword [edx + 0x1c]
mov dword [esp], ebx
mov dword [edx + 0x3c], ebx
mov eax, ecx
sar eax, 0x1f
mov ecx, edi
mov edi, dword [esp + 8]
add ecx, edi
adc eax, ebx
mov ebx, dword [esp + 0x30]
mov dword [edx + 0x38], ebx
mov dword [edx + 0x58], ecx
mov dword [edx + 0x5c], eax
lea ecx, [edi + edi]
mov dword [esp + 0x1c], ecx
mov eax, ecx
sar eax, 0x1f
mov edi, ebx
add edi, ecx
mov dword [edx + 0x78], edi
mov ecx, dword [esp]
adc eax, ecx
mov dword [edx + 0x7c], eax
mov eax, dword [esp + 8]
lea eax, [eax + eax*2]
mov dword [esp + 0x10], eax
sar eax, 0x1f
mov edi, ebx
add edi, dword [esp + 0x10]
mov dword [edx + 0x98], edi
adc eax, ecx
mov dword [edx + 0x9c], eax
mov eax, dword [esp + 8]
lea eax, [eax*4]
mov dword [esp + 0x14], eax
sar eax, 0x1f
mov edi, ebx
add edi, dword [esp + 0x14]
adc eax, ecx
mov dword [edx + 0xb8], edi
mov dword [edx + 0xbc], eax
mov eax, dword [esp + 8]
lea ecx, [eax + eax*4]
mov dword [esp + 0xc], ecx
mov eax, ecx
sar eax, 0x1f
mov edi, ebx
add edi, ecx
mov dword [edx + 0xd8], edi
mov ecx, dword [esp]
adc eax, ecx
mov dword [edx + 0xdc], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
mov edi, eax
sar edi, 0x1f
add eax, ebx
mov dword [edx + 0xf8], eax
adc edi, ecx
mov dword [edx + 0xfc], edi
mov eax, dword [esp + 8]
lea ecx, [eax*8]
mov edi, ecx
sub edi, eax
mov eax, edi
sar eax, 0x1f
add edi, ebx
mov dword [edx + 0x118], edi
mov edi, dword [esp]
adc eax, edi
mov dword [edx + 0x11c], eax
mov eax, ecx
sar eax, 0x1f
add ecx, ebx
mov dword [edx + 0x138], ecx
adc eax, edi
mov dword [edx + 0x13c], eax
mov eax, dword [esp + 8]
lea eax, [eax + eax*8]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
mov dword [edx + 0x158], eax
adc ecx, edi
mov dword [edx + 0x15c], ecx
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
mov dword [edx + 0x178], eax
adc ecx, edi
mov dword [edx + 0x17c], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea eax, [ecx + eax*2]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
mov dword [edx + 0x198], eax
adc ecx, edi
mov dword [edx + 0x19c], ecx
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
mov dword [edx + 0x1b8], eax
adc ecx, edi
mov dword [edx + 0x1bc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
lea eax, [ecx + eax*4]
mov edi, eax
sar edi, 0x1f
add eax, ebx
mov dword [edx + 0x1d8], eax
adc edi, dword [esp]
mov eax, ecx
shl ecx, 4
sub ecx, eax
sub ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ebx
adc eax, dword [esp]
mov dword [edx + 0x1dc], edi
mov dword [edx + 0x1f8], ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
mov edi, ecx
sar edi, 0x1f
add ebx, ecx
adc edi, dword [esp]
mov dword [edx + 0x1fc], eax
mov dword [edx + 0x218], ebx
mov dword [edx + 0x21c], edi
mov dword [esp], 0
jmp 0x50645a
mov ebx, dword [esp + 0x70]
mov ecx, ebx
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x505c86
mov ecx, dword [ebx + 0x64]
test byte [ecx + 0x11], 0x90
je 0x505c60
mov edx, dword [esp + 0x10]
push dword [esp + 0x20]
call fcn.00457030
add esp, 4
jmp 0x505c73
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov word [ecx + 0x10], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x505c86
push eax
call dword [0x53c260]
add esp, 4
push ebx
call fcn.0042be30
add esp, 4
mov edi, eax
xor eax, eax
cmp edi, 0x64
sete al
mov dword [esp + 8], eax
push ebx
call fcn.00430240
add esp, 4
mov dword [esp], eax
test eax, eax
jne 0x505e9b
cmp edi, 0x64
jne 0x505e9b
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x58]
call fcn.004ef290
add esp, 0xc
mov dword [esp], eax
test eax, eax
je 0x505cfc
mov dword [esp + 8], 1
jmp 0x505e3b
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x78]
pxor xmm0, xmm0
movdqu xmmword [edx + 0x10], xmm0
movdqu xmmword [edx], xmm0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
test ecx, ecx
je 0x505d44
cmp byte [ecx], 0
je 0x505d4d
inc ecx
lea edx, [esp + 0x80]
call fcn.004ef420
inc eax
jmp 0x505d52
mov dword [esp], 0
jmp 0x505d6d
mov eax, 1
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x70]
call fcn.005080b0
mov dword [esp], eax
test eax, eax
jne 0x505d6d
cmp dword [esp + 0x70], 0
jne 0x505d56
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov eax, ebx
cmovl eax, ecx
test edi, edi
je 0x505db5
cmp dword [esp + 0x30], 0
je 0x505db5
test eax, eax
je 0x505db5
push eax
push edi
push dword [esp + 0x38]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
je 0x505dcf
mov eax, 0
mov ecx, dword [esp + 8]
cmovle ecx, eax
jmp 0x505ddf
cmp ebx, dword [esp + 0x14]
mov eax, 0
mov ecx, dword [esp + 8]
cmovge ecx, eax
mov dword [esp + 8], ecx
test edi, edi
jne 0x505de3
jmp 0x505e3b
cmp ebx, dword [esp + 0x14]
mov eax, 0
mov ecx, dword [esp + 8]
cmovge ecx, eax
mov dword [esp + 8], ecx
cmp dword [0x53c208], 0
je 0x505e31
mov eax, dword [0x53de88]
test eax, eax
je 0x505dff
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x505e3b
push eax
call dword [0x53c260]
jmp 0x505e38
push edi
call dword [0x53c22c]
add esp, 4
mov edi, dword [esp + 0x54]
test edi, edi
je 0x505e9b
cmp dword [0x53c208], 0
je 0x505e91
mov eax, dword [0x53de88]
test eax, eax
je 0x505e5f
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x505e9b
push eax
call dword [0x53c260]
jmp 0x505e98
push edi
call dword [0x53c22c]
add esp, 4
cmp dword [esp], 0
jne 0x506437
cmp dword [esp + 8], 0
je 0x506437
mov eax, dword [esp + 0x40]
movsx eax, byte [eax]
mov dword [esp + 8], eax
add al, 0xf0
cmp al, 0xf0
ja 0x505ed9
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
mov dword [esp], 0x10b
jmp 0x50645a
mov edx, dword [esp + 0x10]
mov edi, edx
mov ecx, dword [esp + 0x4c]
sub edi, ecx
lea eax, [edi + 1]
add edi, 0x10
test eax, eax
cmovns edi, eax
sar edi, 4
mov eax, dword [esp + 4]
mov dword [esp + 0x30], edi
mov dword [eax], edi
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
cmp byte [esp + 8], 0xe
ja 0x506000
mov ecx, 1
mov eax, dword [esp + 8]
sub ecx, eax
mov ebx, eax
test cl, 1
je 0x505f6d
mov eax, dword [esp + 8]
lea edi, [eax + 1]
mov ecx, edi
imul ecx, dword [esp + 0x30]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 4]
add ecx, dword [eax + 0x18]
adc edx, dword [eax + 0x1c]
mov ebx, edi
shl edi, 5
mov dword [eax + edi + 0x38], ecx
mov dword [eax + edi + 0x3c], edx
cmp byte [esp + 8], 0xe
je 0x505fee
mov ecx, ebx
lea eax, [ebx - 0xf]
mov dword [esp + 0x14], eax
mov edi, ebx
shl edi, 5
add edi, dword [esp + 0xc8]
lea edx, [ebx + 2]
mov eax, dword [esp + 0x30]
imul edx, eax
mov dword [esp], edx
lea edx, [eax + eax]
mov dword [esp + 0x1c], edx
inc ecx
imul ecx, eax
mov ebx, ecx
mov eax, ebx
mov dword [esp + 0x10], ebx
mov ecx, ebx
sar ecx, 0x1f
mov ebx, dword [esp + 4]
mov edx, dword [ebx + 0x18]
add edx, eax
adc ecx, dword [ebx + 0x1c]
mov dword [edi - 0x20], edx
mov dword [edi - 0x1c], ecx
mov eax, dword [esp]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [ebx + 0x18]
add edx, eax
adc ecx, dword [ebx + 0x1c]
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 0x40
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp], eax
mov ebx, dword [esp + 0x10]
add ebx, ecx
add dword [esp + 0x14], 2
jne 0x505fa3
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 8]
mov ebx, eax
shl ebx, 5
mov edx, dword [esp + 0x30]
imul edx, eax
mov eax, edx
sar eax, 0x1f
add edx, dword [esp + 0x4c]
adc eax, dword [esp + 0x48]
mov ecx, dword [esp + 4]
mov dword [ecx + ebx + 0x38], edx
mov dword [ecx + ebx + 0x3c], eax
lea eax, [ecx + ebx]
add eax, 0x4c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xe8]
mov eax, dword [esp + 0x3c]
cmp eax, edi
cmovg edi, eax
add edi, 0x14
mov eax, dword [ecx + ebx + 0x4c]
mov dword [esp], eax
cmp dword [ecx + ebx + 0x54], edi
jge 0x5060a9
call fcn.00423a30
test eax, eax
je 0x506077
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
mov dword [esp], 7
jmp 0x50645a
test edi, edi
mov edx, 0
cmovg edx, edi
mov ecx, dword [esp]
push 0
call fcn.00424fb0
add esp, 4
mov dword [esp], eax
test eax, eax
je 0x50605f
mov eax, dword [esp + 4]
add eax, ebx
add eax, 0x54
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [eax], ecx
mov edi, dword [esp + 0x3c]
push edi
push dword [esp + 0x44]
push dword [esp + 8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [eax + ebx + 0x50], edi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
pxor xmm0, xmm0
movdqu xmmword [eax + edi], xmm0
mov dword [eax + edi + 0x10], 0
cmp byte [esp + 8], 0
js 0x50644b
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov ebx, dword [esp + 8]
shl ebx, 5
mov eax, dword [esp + 4]
mov ecx, dword [eax + ebx + 0x4c]
mov dword [esp], 0
test ecx, ecx
je 0x5063bf
mov eax, dword [esp + 4]
mov eax, dword [eax + ebx + 0x50]
lea edx, [esp + 0x78]
pxor xmm0, xmm0
movdqu xmmword [edx + 0x10], xmm0
movdqu xmmword [edx], xmm0
mov dword [edx + 0x24], 0
mov dword [edx + 0x20], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
cmp byte [ecx], 0
je 0x506166
inc ecx
lea edx, [esp + 0x80]
call fcn.004ef420
inc eax
jmp 0x50616b
mov eax, 1
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x70]
call fcn.005080b0
mov dword [esp], eax
test eax, eax
sete cl
cmp dword [esp + 0x70], 0
je 0x5061a9
cmp dword [esp], 0
jne 0x5061a9
lea ecx, [esp + 0x70]
call fcn.005080b0
test eax, eax
sete cl
cmp dword [esp + 0x70], 0
mov dword [esp], eax
je 0x5061a9
test eax, eax
je 0x50618d
test cl, cl
je 0x5063bf
mov eax, dword [esp + 4]
lea ecx, [eax + ebx]
add ecx, 0x40
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x8c]
cmp dword [eax + ebx + 0x48], edi
jge 0x50621b
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
call fcn.00423a30
mov dword [esp], 7
test eax, eax
jne 0x5063bf
test edi, edi
mov edx, 0
cmovg edx, edi
mov ecx, dword [esp + 0x14]
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
je 0x5063bf
mov ecx, dword [esp + 4]
add ecx, ebx
add ecx, 0x48
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test edi, edi
jle 0x506235
push edi
push dword [esp + 0x8c]
mov eax, dword [esp + 0x18]
push dword [eax]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [eax + ebx + 0x44], edi
mov dword [esp], 0
cmp dword [esp + 8], 0
jle 0x5063bf
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 8]
lea edi, [eax - 1]
shl edi, 5
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 4]
mov dword [ecx + edi + 0x3c], eax
mov dword [esp + 0x10], edi
mov dword [ecx + edi + 0x38], edx
mov edi, dword [esp + 0x18]
mov ecx, edi
lea ebx, [esp + 0x58]
push ebx
lea ebx, [esp + 0x58]
push ebx
push eax
call fcn.004ef290
add esp, 0xc
mov ebx, dword [esp + 0x58]
mov edi, dword [edi + 0xe8]
cmp ebx, edi
cmovg edi, ebx
mov dword [esp], eax
test eax, eax
jne 0x50635f
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx]
add edx, 0x4c
add edi, 0x14
mov dword [esp + 0x1c], edx
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp dword [eax + ecx + 0x54], edi
jge 0x506324
call fcn.00423a30
mov dword [esp], 7
test eax, eax
jne 0x50635f
test edi, edi
mov edx, 0
cmovg edx, edi
mov ecx, dword [esp + 0x14]
push 0
call fcn.00424fb0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x50635f
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, ecx
add eax, 0x54
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
push ebx
push dword [esp + 0x58]
push dword [esp + 0x1c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx + 0x50], ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
pxor xmm0, xmm0
movdqu xmmword [eax + ebx], xmm0
mov dword [eax + ebx + 0x10], 0
mov dword [esp], 0
mov edi, dword [esp + 0x54]
test edi, edi
je 0x5063bf
cmp dword [0x53c208], 0
je 0x5063b5
mov eax, dword [0x53de88]
test eax, eax
je 0x506383
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x5063bf
push eax
call dword [0x53c260]
jmp 0x5063bc
push edi
call dword [0x53c22c]
add esp, 4
mov edi, dword [esp + 0x88]
test edi, edi
je 0x506422
cmp dword [0x53c208], 0
je 0x506418
mov eax, dword [0x53de88]
test eax, eax
je 0x5063e6
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x506422
push eax
call dword [0x53c260]
jmp 0x50641f
push edi
call dword [0x53c22c]
add esp, 4
cmp dword [esp + 8], 0
jle 0x506437
dec dword [esp + 8]
cmp dword [esp], 0
je 0x5060e8
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
cmp dword [esp], 0
jne 0x50645a
jmp 0x506457
push dword [esp + 0xc]
call fcn.00430240
add esp, 4
mov dword [esp], eax
mov eax, dword [esp]
mov dword [esp + 0x34], eax
test eax, eax
je 0x506665
mov dword [esp + 8], 0
mov ecx, dword [esp + 4]
neg dword [ecx + 0x28]
mov eax, 0
sbb eax, dword [ecx + 0x2c]
mov dword [ecx + 0x2c], eax
mov edi, 0xf
mov esi, dword [esp + 0xd4]
jmp 0x5064a7
push ebx
call dword [0x53c22c]
add esp, 4
add esi, 0xffffffe0
add edi, 0xffffffff
jae 0x50710c
cmp dword [esi], 0
jg 0x50656f
mov ebx, dword [esi - 4]
test ebx, ebx
je 0x50650f
cmp dword [0x53c208], 0
je 0x506505
mov eax, dword [0x53de88]
test eax, eax
je 0x5064d3
push eax
call dword [0x53c258]
add esp, 4
push ebx
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push ebx
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x50650f
push eax
call dword [0x53c260]
jmp 0x50650c
push ebx
call dword [0x53c22c]
add esp, 4
mov ebx, dword [esi - 0x10]
test ebx, ebx
je 0x50649b
cmp dword [0x53c208], 0
je 0x506491
mov eax, dword [0x53de88]
test eax, eax
je 0x506536
push eax
call dword [0x53c258]
add esp, 4
push ebx
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push ebx
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x50649b
push eax
call dword [0x53c260]
jmp 0x506498
mov dword [esp + 0xc], edi
test edi, edi
je 0x506ec1
jg 0x506f82
cmp dword [esp], 0
jne 0x5065f3
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
add edx, 1
adc eax, 0
mov dword [esp], 0
cmp byte [ecx + 0x30], 0
mov edi, 0
jne 0x5065b6
mov ecx, dword [esp + 4]
mov esi, dword [ecx + 0x28]
mov dword [esp], esi
mov edi, dword [ecx + 0x2c]
mov ebx, dword [esp + 0xc]
shl ebx, 5
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 4]
push dword [esi + ebx + 0x50]
push dword [esi + ebx + 0x4c]
push edi
push dword [esp + 0xc]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x10]
push eax
call fcn.00503fb0
add esp, 0x30
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
shl ecx, 5
mov eax, dword [esp + 4]
mov edi, ecx
mov esi, dword [eax + ecx + 0x4c]
test esi, esi
je 0x5070a1
cmp dword [0x53c208], 0
je 0x507097
mov eax, dword [0x53de88]
test eax, eax
je 0x50662c
push eax
call dword [0x53c258]
add esp, 4
push esi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push esi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x5070a1
push eax
call dword [0x53c260]
jmp 0x50709e
mov eax, dword [esp + 4]
cmp dword [eax], 0
je 0x50708b
test esi, esi
je 0x50716b
mov ebx, dword [esp + 4]
jmp 0x506689
cmp ecx, 0x64
jne 0x50715c
mov edi, dword [ebx + 0x270]
mov edx, dword [ebx + 0x274]
mov dword [esp + 0x14], 0
test edx, edx
mov dword [esp + 0x30], edx
jle 0x5066df
mov eax, dword [ebx + 0x44]
test eax, eax
jle 0x5066df
mov ecx, dword [ebx + 0x40]
dec edx
dec eax
cmp edx, eax
cmovb eax, edx
inc eax
xor edx, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
movzx edx, byte [ecx + edx]
mov esi, dword [esp + 0x14]
cmp dl, byte [edi + esi]
mov edx, dword [esp + 0x14]
jne 0x5066db
inc edx
cmp eax, edx
jne 0x5066b9
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edi
mov eax, edx
mov esi, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x40], eax
jle 0x506a63
mov eax, dword [ebx + 0x27c]
mov edi, ebx
mov ebx, esi
sar ebx, 0x1f
lea ecx, [eax + edx]
inc ecx
mov dword [esp + 0xc4], ecx
sub ecx, esi
mov dword [esp + 8], ecx
mov dword [esp + 0x3c], eax
add eax, edx
add eax, 2
mov dword [esp + 0x1c], eax
sub eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x278]
mov dword [esp + 0xa8], eax
xor edi, edi
mov eax, ebx
mov dword [esp], esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
inc edi
mov esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp]
shld esi, eax, 0x19
shr ebx, 7
mov eax, 0x7f
cmp eax, dword [esp]
mov eax, 0
sbb eax, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esp + 8], eax
lea eax, [edx + 1]
mov dword [esp + 0xc], eax
mov eax, ebx
jb 0x506737
xor edi, edi
xor eax, eax
mov ebx, dword [esp + 0x40]
mov dword [esp], edi
shld edi, ebx, 0x19
shr eax, 7
inc ecx
mov esi, 0x7f
cmp esi, ebx
mov esi, 0
sbb esi, dword [esp]
mov esi, edx
lea edx, [edx + 1]
mov ebx, edi
mov edi, eax
jb 0x50677e
mov edx, dword [esp + 0x3c]
mov eax, edx
sar eax, 0x1f
mov ecx, eax
mov ebx, 0x7f
mov edi, eax
shld edi, edx, 0x19
shr ecx, 7
inc esi
cmp ebx, edx
mov edx, 0
sbb edx, eax
mov edx, edi
mov eax, ecx
jb 0x5067b3
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0x50]
lea edx, [eax + esi]
test eax, eax
jle 0x506a29
mov ecx, dword [esp + 0x18]
cmp edx, dword [ecx + 0xe8]
jle 0x506a29
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x18]
push eax
push dword [ebx + 0x4c]
push dword [ebx + 0x3c]
call fcn.00503a60
add esp, 0xc
inc dword [ebx + 4]
mov dword [esp], eax
test eax, eax
jne 0x506cbb
mov eax, dword [esp + 0x14]
lea ecx, [eax + 1]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 8], ecx
lea ecx, [eax + 2]
mov dword [esp + 0xa4], ecx
mov ecx, 1
mov dword [esp + 0x48], ecx
shl ecx, 5
xor edi, edi
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + ecx + 0x44]
test eax, eax
mov dword [esp + 0x20], ecx
js 0x506888
test ecx, ecx
jle 0x506888
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx + 0x40]
mov eax, dword [esp + 0x20]
dec eax
mov edx, dword [esp + 0x14]
cmp edx, eax
cmovb eax, edx
inc eax
xor edi, edi
mov esi, dword [esp + 0x4c]
movzx edx, byte [ecx + edi]
cmp dl, byte [esi + edi]
jne 0x506888
inc edi
cmp eax, edi
jne 0x506878
mov edi, eax
mov edx, dword [esp + 0x6c]
sub edx, edi
jle 0x506c93
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
add eax, ecx
add eax, 0x38
mov dword [esp + 0x10], eax
mov esi, edi
mov ecx, edi
sar ecx, 0x1f
mov eax, dword [esp + 0xa4]
sub eax, edi
mov dword [esp], eax
mov dword [esp + 0x50], edx
mov eax, edx
mov dword [esp + 0xb4], edi
mov edx, ecx
mov ebx, ecx
shld ebx, esi, 0x19
shr edx, 7
inc eax
mov edi, 0x7f
cmp edi, esi
mov esi, 0
sbb esi, ecx
mov edi, dword [esp]
lea ecx, [edi + 1]
mov dword [esp], ecx
mov esi, ebx
mov ecx, edx
jb 0x5068c7
xor eax, eax
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov ebx, 0x7f
mov esi, eax
shld esi, edx, 0x19
shr ecx, 7
inc edi
cmp ebx, edx
mov edx, 0
sbb edx, eax
mov edx, esi
mov eax, ecx
jb 0x5068fb
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esi + ecx]
add eax, 0x50
mov dword [esp + 0x44], eax
mov ebx, dword [esi + ecx + 0x50]
cmp dword [esp + 0x20], 0
mov ecx, dword [esp + 0x18]
je 0x506aaa
lea eax, [ebx + edi]
cmp eax, dword [ecx + 0xe8]
jle 0x506aaa
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ebx
mov edi, dword [esp + 0x10]
push dword [esi + edi + 0x4c]
push dword [eax + 4]
call fcn.00503a60
add esp, 0xc
mov dword [esp], eax
mov eax, dword [esi + edi + 0x4c]
mov ecx, dword [esp + 0x48]
mov byte [eax], cl
mov eax, dword [esi + edi + 0x4c]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x40]
add edx, 1
mov esi, dword [esp + 8]
adc esi, 0
mov ecx, 1
mov edi, esi
mov dword [esp + 8], esi
mov eax, edx
mov ebx, eax
or bl, 0x80
mov edx, esi
shld edx, eax, 0x19
mov esi, dword [esp + 0xc]
mov byte [esi + ecx], bl
shr edi, 7
inc ecx
mov esi, 0x7f
cmp esi, eax
mov esi, 0
sbb esi, dword [esp + 8]
mov esi, edi
jb 0x50698c
and al, 0x7f
mov edx, dword [esp + 0xc]
mov byte [edx + ecx - 1], al
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
mov esi, dword [edx + 4]
mov eax, edi
add eax, 1
mov ecx, esi
adc ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 0xc], 0
cmp dword [esp], 0
jne 0x506cb7
mov dword [esp + 0x40], edi
mov eax, edi
mov dword [esp + 8], esi
or eax, esi
mov ebx, dword [esp + 4]
je 0x506cbb
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, 0x10
mov eax, dword [esp + 0x14]
jne 0x50683a
mov dword [esp], 0
jmp 0x506cbb
mov ecx, esi
sar ecx, 0x1f
add dword [ebx + 0x28], esi
adc dword [ebx + 0x2c], ecx
cmp dword [ebx + 0x54], edx
jge 0x506d57
mov edi, edx
mov eax, dword [esp + 0xb8]
mov esi, dword [eax]
call fcn.00423a30
test eax, eax
je 0x506a71
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x28]
mov ecx, 7
jmp 0x506daa
mov ecx, 0x10b
mov esi, dword [esp + 0x28]
jmp 0x506daa
test edi, edi
mov edx, 0
cmovg edx, edi
mov ecx, esi
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x28]
mov ecx, 7
je 0x506daa
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x50]
jmp 0x506d57
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0xc]
add eax, esi
add eax, 0x4c
mov dword [esp + 0x20], eax
mov dword [esp], ebx
test ebx, ebx
jne 0x506b8f
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xe8]
mov eax, dword [esp + 0x20]
mov esi, dword [eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
cmp dword [eax + ecx + 0x54], edi
jge 0x506b30
call fcn.00423a30
mov dword [esp], 7
test eax, eax
jne 0x506cb7
test edi, edi
mov edx, 0
cmovg edx, edi
mov ecx, esi
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
mov ebx, dword [esp + 4]
je 0x506cbb
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, ebx
add eax, 0x54
mov dword [eax], edi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0x48]
mov byte [esi], al
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp], 1
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov ebx, ecx
or bl, 0x80
mov edi, dword [esp + 8]
mov esi, edi
shld esi, ecx, 0x19
mov dword [esp + 0x40], esi
mov esi, dword [esp]
mov byte [eax + esi], bl
shr edx, 7
inc esi
mov dword [esp], esi
mov esi, 0x7f
cmp esi, ecx
mov esi, 0
sbb esi, edi
mov dword [esp + 8], edx
jb 0x506b47
and cl, 0x7f
mov edx, dword [esp]
mov byte [eax + edx - 1], cl
mov eax, dword [esp + 0x44]
mov dword [eax], edx
mov edx, dword [esp]
add edx, dword [esp + 0xa4]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
cmp dword [eax + ecx + 0x54], edx
jge 0x506bf6
mov esi, edx
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
call fcn.00423a30
mov dword [esp], 7
test eax, eax
jne 0x506cb7
test esi, esi
mov edx, 0
cmovg edx, esi
mov ecx, edi
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
mov ebx, dword [esp + 4]
je 0x506cbb
mov ecx, dword [esp + 0xc]
add ecx, ebx
add ecx, 0x54
mov dword [ecx], esi
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
cmp dword [eax + edx + 0x48], ecx
jle 0x506c9c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xc], 0
je 0x506dc3
mov edi, dword [esp + 0xb4]
mov esi, edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x44]
add ecx, dword [eax]
mov dword [esp + 0xc], ecx
sar esi, 0x1f
mov dword [esp], 0
mov eax, esi
mov ebx, edi
mov ecx, ebx
or cl, 0x80
mov edi, eax
mov dword [esp + 8], eax
shld edi, ebx, 0x19
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov byte [edx + eax], cl
shr esi, 7
inc eax
mov dword [esp], eax
mov eax, 0x7f
cmp eax, ebx
mov ecx, 0
sbb ecx, dword [esp + 8]
mov eax, esi
jb 0x506c3f
and bl, 0x7f
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov byte [eax + ecx - 1], bl
mov eax, dword [esp + 0x44]
add ecx, dword [eax]
mov dword [esp], ecx
mov dword [eax], ecx
jmp 0x506dcc
mov dword [esp], 0x10b
jmp 0x506cb7
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 8]
call fcn.00423a30
mov dword [esp], 7
test eax, eax
je 0x506e80
mov ebx, dword [esp + 4]
add dword [ebx + 0x38], 1
adc dword [ebx + 0x3c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x50], 0
mov edx, dword [esp + 0x30]
mov eax, edx
sar eax, 0x1f
mov ecx, eax
mov ebx, dword [esp + 0xc4]
mov esi, eax
shld esi, edx, 0x19
shr ecx, 7
inc ebx
mov edi, 0x7f
cmp edi, edx
mov edx, 0
sbb edx, eax
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [esp + 0x1c], eax
mov edx, esi
mov eax, ecx
jb 0x506ce3
mov edx, dword [esp + 0x3c]
mov eax, edx
sar eax, 0x1f
mov ecx, eax
mov esi, eax
shld esi, edx, 0x19
shr ecx, 7
inc edi
cmp edx, 0x80
sbb eax, 0
mov edx, esi
mov eax, ecx
jae 0x506d17
mov eax, edi
sar eax, 0x1f
mov ebx, dword [esp + 4]
add dword [ebx + 0x28], edi
adc dword [ebx + 0x2c], eax
mov ecx, dword [esp]
test ecx, ecx
mov esi, dword [esp + 0x28]
jne 0x506daa
mov edx, edi
xor eax, eax
cmp dword [ebx + 0x54], edx
jl 0x506a3d
test eax, eax
jne 0x506d68
mov dword [ebx + 0x50], 1
mov eax, dword [ebx + 0x4c]
mov byte [eax], 0
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xd0]
push dword [esp + 0x3c]
push dword [esp + 0xac]
push dword [esp + 0x38]
push dword [esp + 0x58]
call fcn.00508310
add esp, 0x10
mov ecx, eax
test eax, eax
mov esi, dword [esp + 0x28]
jne 0x506daa
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
call fcn.004efd50
mov ecx, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jl 0x506680
cmp ecx, 0x64
jne 0x506680
jmp 0x507156
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp]
add ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x50]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0xc], ecx
mov edx, ebx
mov eax, edx
or al, 0x80
mov ebx, ecx
shld ebx, edx, 0x19
mov ecx, dword [esp]
mov edi, dword [esp + 8]
mov byte [ecx + edi], al
shr esi, 7
inc edi
mov dword [esp + 8], edi
mov eax, 0x7f
cmp eax, edx
mov eax, 0
sbb eax, dword [esp + 0xc]
mov ecx, esi
jb 0x506de8
and dl, 0x7f
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov byte [eax + ecx - 1], dl
mov ebx, dword [esp + 0x44]
add ecx, dword [ebx]
mov dword [ebx], ecx
mov eax, dword [esp + 0x20]
add ecx, dword [eax]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0xb4]
add eax, esi
mov edi, dword [esp + 0x50]
push edi
push eax
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
add dword [ebx], edi
mov edi, dword [esp + 0x6c]
push edi
push esi
mov esi, dword [esp + 0x18]
push dword [esi + 8]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esi + 0xc], edi
mov dword [esp], 0
mov ebx, dword [esp + 4]
jmp 0x506cbb
mov eax, dword [esp + 0x6c]
test eax, eax
mov edx, 0
cmovg edx, eax
mov ecx, esi
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
mov ebx, dword [esp + 4]
je 0x506cbb
mov ecx, dword [esp + 0xc]
add ecx, ebx
add ecx, 0x48
mov edx, dword [esp + 0x6c]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], eax
jmp 0x506c0c
mov dword [esp + 0xc], 1
cmp dword [esp], 0
jne 0x506f82
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x6c]
cmp dword [eax + 0x74], 0xa
jg 0x506f19
call fcn.00423a30
mov dword [esp], 7
test eax, eax
jne 0x506f82
mov ecx, esi
mov edx, 0xb
push 0
call fcn.00424fb0
add esp, 4
test eax, eax
je 0x506f82
mov esi, eax
mov eax, dword [esp + 4]
mov dword [eax + 0x74], 0xb
mov dword [eax + 0x6c], esi
mov byte [esi], 1
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x6c]
mov dword [esp + 0xc], ecx
mov ebx, dword [eax + 0x38]
mov esi, dword [eax + 0x3c]
mov ecx, 1
mov edi, esi
mov dword [esp], esi
mov edx, ebx
mov eax, edx
or al, 0x80
mov ebx, esi
shld ebx, edx, 0x19
mov esi, dword [esp + 0xc]
mov byte [esi + ecx], al
shr edi, 7
inc ecx
mov eax, 0x7f
cmp eax, edx
mov eax, 0
sbb eax, dword [esp]
mov esi, edi
jb 0x506f34
and dl, 0x7f
mov eax, dword [esp + 0xc]
mov byte [eax + ecx - 1], dl
mov eax, dword [esp + 4]
mov dword [eax + 0x70], ecx
mov dword [esp], 0
mov dword [esp + 0xc], 1
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0xcc]
jmp 0x506fa3
push edi
call dword [0x53c22c]
add esp, 4
add ebx, 0x20
dec esi
je 0x506581
mov eax, dword [ebx]
test eax, eax
mov ecx, dword [esp + 0x18]
jle 0x506fc8
cmp dword [esp], 0
jne 0x506fc8
mov edx, dword [ebx - 0x18]
push eax
push dword [ebx - 4]
push dword [ebx - 0x14]
call fcn.00503a60
add esp, 0xc
mov dword [esp], eax
mov edi, dword [ebx - 4]
test edi, edi
je 0x507027
cmp dword [0x53c208], 0
je 0x50701d
mov eax, dword [0x53de88]
test eax, eax
je 0x506feb
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x507027
push eax
call dword [0x53c260]
jmp 0x507024
push edi
call dword [0x53c22c]
add esp, 4
mov edi, dword [ebx - 0x10]
test edi, edi
je 0x506f99
cmp dword [0x53c208], 0
je 0x506f8f
mov eax, dword [0x53de88]
test eax, eax
je 0x507052
push eax
call dword [0x53c258]
add esp, 4
push edi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push edi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x506f99
push eax
call dword [0x53c260]
jmp 0x506f96
mov dword [esp], 0
jmp 0x506469
push esi
call dword [0x53c22c]
add esp, 4
mov eax, dword [esp + 4]
mov esi, dword [eax + edi + 0x40]
test esi, esi
je 0x507105
cmp dword [0x53c208], 0
je 0x5070fb
mov eax, dword [0x53de88]
test eax, eax
je 0x5070c9
push eax
call dword [0x53c258]
add esp, 4
push esi
call dword [0x53c234]
add esp, 4
sub dword [0x53de30], eax
dec dword [0x53de54]
push esi
call dword [0x53c22c]
add esp, 4
mov eax, dword [0x53de88]
test eax, eax
je 0x507105
push eax
call dword [0x53c260]
jmp 0x507102
push esi
call dword [0x53c22c]
add esp, 4
mov eax, dword [esp]
mov dword [esp + 0x34], eax
cmp byte [esp + 8], 0
je 0x50711d
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
je 0x50712a
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x18]
jmp 0x504f76
mov edx, dword [esp + 0x38]
add edx, 1
mov eax, dword [esp + 0x2c]
adc eax, 0
mov edi, dword [esp + 0x18]
mov ecx, edi
mov ebx, dword [esp + 4]
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push eax
call fcn.00503550
add esp, 0xc
jmp 0x504f76
mov dword [esp + 0x34], ecx
jmp 0x507172
mov dword [esp + 0x34], ecx
mov dword [esp], ecx
test ecx, ecx
jne 0x506469
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
not eax
add dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x28]
push dword [esp + 0x34]
call fcn.00507350
add esp, 0xc
mov dword [esp], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x5071db
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x34]
push esi
push eax
push dword [esp + 0x34]
call fcn.00507f70
add esp, 0xc
mov dword [esp + 0xac], 1
mov eax, dword [esp + 0x34]
mov dword [esp], eax
jmp 0x506469
mov al, 1
mov dword [esp + 8], eax
jmp 0x506483
mov ebx, dword [esp + 4]
jmp 0x504972
mov esi, dword [esp]
mov eax, esi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0xac], 0
je 0x504972
test eax, eax
jne 0x504972
mov dword [esp + 0x70], 0
mov ecx, edi
mov edx, 0x17
push 0
lea eax, [esp + 0x74]
push eax
call fcn.004ef0a0
add esp, 8
test eax, eax
jne 0x504972
mov esi, dword [esp + 0x70]
mov ecx, esi
mov edx, 1
call fcn.004323c0
test eax, eax
jne 0x507288
mov ecx, dword [esi + 0x64]
test byte [ecx + 0x11], 0x90
je 0x507262
mov edx, 1
push 0
call fcn.00457030
add esp, 4
jmp 0x507275
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov word [ecx + 0x10], 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507288
push eax
call dword [0x53c260]
add esp, 4
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov ecx, esi
mov edx, 2
call fcn.004323c0
test eax, eax
jne 0x5072ed
test edi, edi
je 0x5072da
mov eax, ebx
sar eax, 0x1f
mov ecx, dword [esi + 0x64]
add ecx, 0x28
mov edx, edi
push 0
push 0
push eax
push ebx
call fcn.00430c10
add esp, 0x10
test eax, eax
je 0x5072da
mov edi, eax
mov ecx, dword [esi]
mov dword [ecx + 0x40], eax
mov edx, eax
call fcn.00444780
mov ecx, dword [esi]
mov edx, edi
call fcn.00453910
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5072ed
push eax
call dword [0x53c260]
add esp, 4
push esi
call fcn.0042be30
add esp, 4
push esi
call fcn.00430240
add esp, 4
mov edi, eax
mov ecx, esi
mov edx, 2
call fcn.004323c0
test eax, eax
mov ebx, dword [esp + 4]
jne 0x507328
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x507328
push eax
call dword [0x53c260]
add esp, 4
mov eax, edi
jmp 0x504972
mov ecx, dword [esp + 0x24]
call fcn.004edd70
mov ebx, dword [esp + 4]
jmp 0x5071f2