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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ecx + 0x160]
mov dword [esp + 0x44], edi
cmp dword [ecx + 0x90], esi
je 0x50ee32
mov ebx, dword [ecx + 0x128]
lea edi, [ebx + 4]
jmp 0x50ee3e
lea ebx, [ecx + 0x11c]
lea edi, [ecx + 0x120]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x40], ebx
mov dword [ebx], eax
lea eax, [ecx + 4]
mov dword [esp + 4], eax
lea eax, [ecx + 0x11c]
mov dword [esp + 0x24], eax
lea eax, [ecx + 0x120]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x19c]
mov dword [esp + 0x58], eax
mov dword [esp + 8], ecx
lea eax, [ecx + 0x1a8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + 0x50]
mov dword [esp + 0x50], ecx
add eax, 0x5c
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
push esi
call dword [esi + 4]
add esp, 0x10
mov ebx, eax
cmp eax, 0xfffffffd
je 0x50eeb5
cmp ebx, 0xfffffffb
jne 0x50eed0
cmp byte [ebp + 0x18], 0
mov eax, dword [ebp + 0xc]
mov esi, eax
cmove esi, edi
jmp 0x50eed7
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, ebx
push dword [ebp + 0x1c]
push 0xaca
push esi
push eax
call fcn.0050bb10
add esp, 0x10
test al, al
je 0x50ff1a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov dword [eax], edx
add ebx, 5
cmp ebx, 0x12
ja case.default.0x50ef12
mov edi, 0x11
jmp dword [ebx*4 + str.QrQ]
mov dword [esp + 0x20], 0
mov esi, dword [esp + 8]
mov ebx, dword [esi + 0x16c]
test ebx, ebx
je 0x50f4ab
mov eax, dword [ebx]
mov dword [esi + 0x16c], eax
jmp 0x50f4df
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esi, dword [eax + 0x40]
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x2c]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
push esi
push eax
call dword [eax + 0x1c]
add esp, 8
mov edi, eax
mov dword [esp], esi
mov eax, dword [esp + 0x5c]
cmp dword [eax], 0
mov ebx, dword [esp + 8]
jne 0x50ef8d
mov ecx, dword [esp + 0x58]
call fcn.0050d0b0
test al, al
je 0x50ff10
add esi, edi
nop
push dword [ebx + 0x1a4]
push dword [esp + 0x60]
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
cmp eax, 2
jb 0x50efc1
mov ecx, dword [esp + 0x58]
call fcn.0050d0b0
test al, al
jne 0x50ef90
jmp 0x50ff10
cmp dword [ebx + 0x1ac], 0
mov edi, 1
je case.0x50ef12.12
mov eax, dword [ebx + 0x1a8]
cmp eax, dword [ebx + 0x1a4]
jne 0x50eff8
mov ecx, dword [esp + 0x58]
call fcn.0050d0b0
test al, al
je case.0x50ef12.12
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov dword [ebx + 0x1a8], ecx
mov byte [eax], 0
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x28], eax
test eax, eax
je case.0x50ef12.12
mov eax, dword [ebx + 0x1a8]
mov dword [ebx + 0x1ac], eax
mov ecx, ebx
mov edx, dword [ebp + 8]
push 2
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0xc]
call fcn.00510760
add esp, 0x10
test eax, eax
jne 0x51013e
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1a8]
mov dword [ebx + 0x1ac], ecx
test eax, eax
je 0x50f8fc
mov esi, dword [esp + 0x28]
push dword [ebx + 0x184]
push esi
push dword [ebx + 4]
call eax
add esp, 0xc
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x50f917
cmp dword [ebx + 0x34], 0
je 0x50f90b
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [ebx + 0x38]
jmp 0x50f90b
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50fa20
mov edi, edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
jne 0x50fa07
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50f0db
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
jae 0x50f0f0
jmp 0x50fa20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
cmp dword [eax + 0x134], ecx
je 0x510299
mov edx, eax
mov ebx, dword [eax + 0x168]
mov eax, dword [eax + 0x16c]
mov ecx, dword [ebx]
mov dword [edx + 0x168], ecx
mov dword [ebx], eax
mov dword [edx + 0x16c], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x40]
add esi, esi
add esi, dword [ebp + 0xc]
push esi
push eax
call dword [eax + 0x1c]
add esp, 8
cmp eax, dword [ebx + 8]
jne 0x51002d
push eax
push esi
push dword [ebx + 4]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x51002d
mov ecx, dword [esp + 8]
add dword [ecx + 0x134], 0xffffffff
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x50f8c5
cmp byte [ecx + 0xe8], 0
je 0x50f239
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x50f239
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x1c]
mov dl, byte [ecx]
test dl, dl
je 0x50f1ef
add ecx, 1
nop dword [eax]
mov byte [eax], dl
add eax, 1
movzx edx, byte [ecx]
add ecx, 1
test dl, dl
jne 0x50f1e0
mov ecx, dword [esp + 8]
cmp byte [ecx + 0xe9], 0
je 0x50f22f
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x50f22f
mov edx, dword [esp + 8]
mov dl, byte [edx + 0x1d4]
mov byte [eax], dl
add eax, 1
mov dl, byte [ecx]
test dl, dl
je 0x50f22f
add ecx, 1
nop dword [eax + eax]
mov byte [eax], dl
add eax, 1
movzx edx, byte [ecx]
add ecx, 1
test dl, dl
jne 0x50f220
mov byte [eax], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x38]
push dword [ebx + 0xc]
mov ecx, dword [esp + 8]
push dword [ecx]
call eax
add esp, 8
mov esi, dword [ebx + 0x2c]
test esi, esi
mov edx, dword [esp + 8]
jne 0x50f2a8
cmp dword [edx + 0x134], 0
mov ebx, edx
jne 0x50fa20
mov eax, dword [ebx + 0x1dc]
cmp eax, 2
je 0x50fa20
cmp eax, 3
je 0x50f99f
jmp 0x510199
mov eax, dword [ecx + 4]
mov dword [ebx + 0x2c], eax
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x174]
mov dword [esi + 4], eax
mov dword [edx + 0x174], esi
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov dword [eax + 4], ecx
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x50f252
mov eax, dword [edx + 0x68]
mov ecx, esi
test eax, eax
je 0x50f280
mov ecx, dword [esi]
push dword [ecx]
mov ecx, dword [esp + 8]
push dword [ecx]
call eax
add esp, 8
mov ecx, dword [ebx + 0x2c]
jmp 0x50f280
mov ebx, dword [esp + 8]
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x50f6af
mov eax, dword [ebp + 8]
cmp byte [eax + 0x44], 0
je 0x50f2fd
mov eax, dword [ebp + 0xc]
sub edx, eax
push edx
push eax
mov eax, dword [esp + 0xc]
push dword [eax]
jmp 0x50f467
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x28], eax
push dword [ebx + 0x30]
lea eax, [esp + 0x2c]
push eax
push edx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x28]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call esi
add esp, 0xc
cmp edi, 2
jae 0x50f2f0
jmp 0x50fa20
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x50f754
mov byte [esp + 0x28], 0xa
push 1
lea ecx, [esp + 0x2c]
push ecx
jmp 0x50f413
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x50f7f4
mov ecx, dword [esp + 4]
push dword [ecx]
call eax
add esp, 4
mov esi, dword [ebp + 0x10]
movzx eax, byte [ebp + 0x18]
mov ecx, ebx
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push esi
lea eax, [esp + 0x24]
push eax
call fcn.00511850
add esp, 0x14
test eax, eax
jne 0x510026
cmp dword [esp + 0x14], 0
jne 0x50fa20
jmp 0x510132
mov byte [esp + 0x20], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp + 0xc]
add ecx, eax
sub edx, eax
push edx
push ecx
push esi
call dword [esi + 0x2c]
add esp, 0xc
mov byte [esp + 0x20], al
test al, al
je 0x50f830
mov ebx, dword [esp + 8]
mov ecx, ebx
mov edx, 9
push 1
push 0xb0c
lea eax, [esp + 0x29]
push eax
lea edi, [esp + 0x2c]
push edi
call fcn.0050bb10
add esp, 0x10
mov eax, dword [ebx + 0x3c]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50f9e8
push 1
push edi
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
jmp 0x50fa20
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x28]
add esp, 8
test eax, eax
js 0x51012b
mov ebx, dword [esp + 8]
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x50f896
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 4]
mov edi, dword [ecx]
mov ecx, eax
lea edx, [esp + 0x28]
call fcn.005307d0
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call esi
add esp, 0xc
jmp 0x50fa20
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, edx
mov edx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0050e320
jmp 0x50f49b
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, edx
mov edx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0050e620
add esp, 8
test eax, eax
jne 0x50fa20
jmp 0x50ff10
push 0x30
call dword [esi + 0xc]
add esp, 4
mov edi, 1
test eax, eax
je case.0x50ef12.12
mov ebx, eax
push 0x20
call dword [esi + 0xc]
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x510182
add eax, 0x20
mov dword [ebx + 0x28], eax
mov esi, dword [esp + 8]
mov dword [ebx + 0x2c], 0
mov eax, dword [esi + 0x168]
mov dword [ebx], eax
mov dword [esi + 0x168], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
add eax, dword [esi + 0x40]
mov dword [ebx + 4], eax
push eax
push esi
call dword [esi + 0x1c]
add esp, 8
mov dword [ebx + 8], eax
mov eax, dword [esp + 8]
add dword [eax + 0x134], 1
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
add edi, eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
add ecx, 0xffffffff
push ecx
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0x34]
push eax
push esi
call dword [esi + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x24]
mov esi, edx
sub esi, ecx
mov dword [esp + 0x10], edi
cmp dword [esp + 0x28], edi
jae 0x50f5cf
nop word cs:[eax + eax]
nop
cmp eax, 1
je 0x50f5cf
mov edi, dword [ebx + 0x28]
sub edi, ecx
add edi, edi
push edi
push ecx
mov eax, dword [esp + 0x10]
call dword [eax + 0x10]
add esp, 8
test eax, eax
je 0x50ff10
mov dword [ebx + 0x24], eax
lea ecx, [eax + edi]
mov dword [ebx + 0x28], ecx
add esi, eax
mov dword [esp + 0x20], esi
add eax, edi
add eax, 0xffffffff
push eax
lea eax, [esp + 0x24]
push eax
mov edi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x24]
mov esi, edx
sub esi, ecx
cmp dword [esp + 0x28], edi
jb 0x50f570
mov dword [ebx + 0x18], esi
mov dword [ebx + 0xc], ecx
mov byte [edx], 0
lea eax, [ebx + 0x2c]
lea esi, [ebx + 0xc]
mov ebx, dword [esp + 8]
mov ecx, ebx
mov edx, dword [ebp + 8]
push dword [ebp + 0x1c]
push eax
push esi
push dword [ebp + 0xc]
call fcn.00510760
add esp, 0x10
test eax, eax
jne 0x510026
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x50f644
push dword [ebx + 0x184]
push dword [esi]
push dword [ebx + 4]
call eax
add esp, 0xc
mov eax, dword [ebx + 0x19c]
mov ecx, dword [ebx + 0x1a0]
test ecx, ecx
je 0x50f67c
test eax, eax
je 0x50f682
nop word [eax + eax]
mov edx, dword [eax]
mov dword [eax], ecx
mov dword [ebx + 0x1a0], eax
mov ecx, eax
mov eax, edx
test edx, edx
jne 0x50f630
jmp 0x50f682
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50f616
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fb65
sub edi, ecx
push edi
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov ebx, dword [esp + 8]
jmp 0x50f616
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x19c], 0
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1a4], 0
jmp 0x50fa20
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50fa20
mov edi, edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
jne 0x50fa07
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50f6ed
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop word cs:[eax + eax]
nop
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
jae 0x50f700
jmp 0x50fa20
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50fa20
mov edi, edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
jne 0x50fa07
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50f792
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
jae 0x50f7a0
jmp 0x50fa20
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [ebp + 0x10]
je 0x50f380
mov edi, edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fbe5
sub edi, ecx
push edi
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov ebx, dword [esp + 8]
jmp 0x50f37d
mov edi, dword [esi + 0x40]
mov eax, dword [ebp + 0xc]
add eax, edi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
cmp dword [eax], 0
mov ebx, dword [esp + 8]
jne 0x50f85e
mov ecx, dword [esp + 0x50]
call fcn.0050d0b0
test al, al
je 0x50ff10
sub esi, edi
mov eax, dword [esp + 0x44]
push dword [eax + 0x58]
push dword [esp + 0x58]
push esi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
cmp eax, 2
jb 0x50fa50
mov ecx, dword [esp + 0x50]
call fcn.0050d0b0
test al, al
jne 0x50f860
jmp 0x50ff10
mov eax, dword [ebx + 0x50]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x50fa20
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fc60
sub edi, ecx
push edi
jmp 0x50f35d
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x50f247
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fcd5
sub edi, ecx
push edi
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
jmp 0x50f247
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x50fb2b
mov esi, dword [esp + 0x28]
push esi
mov ecx, dword [esp + 8]
push dword [ecx]
call eax
add esp, 8
mov eax, dword [ebx + 0x19c]
mov ecx, dword [ebx + 0x1a0]
test ecx, ecx
je 0x50f944
test eax, eax
je 0x50f94a
nop dword [eax + eax]
mov edx, dword [eax]
mov dword [eax], ecx
mov dword [ebx + 0x1a0], eax
mov ecx, eax
mov eax, edx
test edx, edx
jne 0x50f930
jmp 0x50f94a
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x19c], 0
mov dword [ebx + 0x1ac], 0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1a4], 0
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x50f9d0
cmp dword [ebx + 0x134], 0
jne 0x50fa20
mov eax, dword [ebx + 0x1dc]
cmp eax, 2
je 0x50fa20
cmp eax, 3
jne 0x510199
mov dword [ebx + 0x114], fcn.005114d0
jmp 0x50fa20
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x174]
mov dword [esi + 4], ecx
mov dword [ebx + 0x174], esi
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
mov esi, eax
test eax, eax
je 0x50f97a
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x50f9b0
mov ecx, dword [esi]
push dword [ecx]
mov ecx, dword [esp + 8]
push dword [ecx]
call eax
add esp, 8
jmp 0x50f9b0
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x50fa20
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fd59
sub edi, ecx
push edi
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov ebx, dword [esp + 8]
nop word [eax + eax]
mov eax, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, dword [ebx + 0x1dc]
cmp eax, 2
je 0x50ffbb
cmp eax, 3
mov edi, dword [ebp + 0x10]
je 0x50ffc5
mov esi, dword [ebp + 8]
jmp 0x50ee94
mov edx, dword [esp + 0x44]
cmp dword [edx + 0x60], 0
mov edi, 1
je case.0x50ef12.12
mov eax, dword [edx + 0x5c]
cmp eax, dword [edx + 0x58]
jne 0x50fa86
mov ecx, dword [esp + 0x50]
call fcn.0050d0b0
test al, al
je case.0x50ef12.12
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
lea ecx, [eax + 1]
mov dword [edx + 0x5c], ecx
mov byte [eax], 0
mov esi, dword [edx + 0x60]
test esi, esi
je case.0x50ef12.12
mov ecx, ebx
mov edx, dword [esp + 0x44]
push 0
push esi
call fcn.0050c6a0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov ebx, eax
mov eax, dword [ecx + 0x60]
mov dword [ecx + 0x5c], eax
cmp byte [ecx + 0x81], 0
je 0x50facd
cmp byte [ecx + 0x82], 0
je 0x50fe28
test ebx, ebx
je 0x51022a
cmp byte [ebx + 0x22], 0
je 0x510234
cmp byte [ebx + 0x20], 0
jne 0x5101bd
cmp dword [ebx + 0x1c], 0
jne 0x5101c7
cmp dword [ebx + 4], 0
je 0x50fdd5
mov esi, dword [esp + 8]
cmp byte [esi + 0x130], 0
je 0x50fe47
mov ecx, esi
mov edx, ebx
push 0
call fcn.0050df10
add esp, 4
test eax, eax
mov ebx, esi
je 0x50fa20
jmp 0x510026
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x50f917
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x44], 0
je 0x50fe89
sub edi, ecx
push edi
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov ebx, dword [esp + 8]
jmp 0x50f917
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50fb7e
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop word cs:[eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
mov edi, dword [esp + 0x10]
jae 0x50fb90
jmp 0x50f616
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50fc02
mov esi, dword [ebx + 0x128]
lea eax, [esi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
jae 0x50fc10
jmp 0x50f37d
mov ecx, dword [esp + 0x24]
cmp dword [ebx + 0x90], edx
je 0x50fc75
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop dword [eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
mov edi, dword [esp + 0x10]
jae 0x50fc80
jmp 0x50fa20
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 8]
cmp dword [esi + 0x90], edx
je 0x50fcf2
mov ecx, dword [esi + 0x128]
lea eax, [ecx + 4]
mov dword [esp + 0x64], eax
mov dword [esp + 0x18], edi
nop word [eax + eax]
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
push dword [esi + 0x30]
lea eax, [esp + 4]
push eax
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov edi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [esi + 4]
call dword [esi + 0x50]
mov ecx, edi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [edi], eax
cmp dword [esp + 0x10], 2
mov edi, dword [esp + 0x18]
jae 0x50fd00
jmp 0x50f247
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50fd72
mov ecx, dword [ebx + 0x128]
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
push dword [ebx + 0x30]
lea eax, [esp + 4]
push eax
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, ecx
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
mov ecx, esi
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esi], eax
cmp edi, 2
mov edi, dword [esp + 0x10]
jae 0x50fd80
jmp 0x50fa20
mov esi, dword [esp + 8]
cmp dword [esi + 0x70], 0
je 0x50fe64
mov byte [ebx + 0x20], 1
mov ecx, esi
call fcn.00510380
mov byte [ebx + 0x20], 0
test eax, eax
je case.0x50ef12.12
push dword [ebx + 0x18]
push dword [ebx + 0x10]
push dword [ebx + 0x14]
push eax
push dword [esi + 0x74]
call dword [esi + 0x70]
add esp, 0x14
test eax, eax
je 0x5102a3
mov ebx, esi
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1a8], eax
jmp 0x50fa20
test ebx, ebx
jne 0x50fadf
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x50ff01
push 0
push esi
jmp 0x50f413
mov eax, dword [esi + 0x78]
test eax, eax
je 0x50fe64
push 0
push dword [ebx]
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov ebx, esi
jmp 0x50fa20
cmp dword [esi + 0x50], 0
mov ebx, esi
je 0x50fa20
mov ecx, ebx
mov edx, dword [ebp + 8]
push dword [esp + 0x14]
push dword [ebp + 0xc]
call fcn.00508a90
add esp, 8
jmp 0x50fa20
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
cmp dword [ebx + 0x90], edx
je 0x50fea6
mov esi, dword [ebx + 0x128]
lea eax, [esi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
nop
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
push dword [ebx + 0x30]
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x20]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call dword [ebx + 0x50]
add esp, 0xc
mov eax, dword [esp]
mov dword [esi], eax
cmp edi, 2
mov edi, dword [esp + 0x10]
jae 0x50feb0
jmp 0x50f917
cmp dword [ebx + 0x50], 0
jne 0x50fe70
jmp 0x50fa20
mov edi, 1
jmp case.0x50ef12.12
mov eax, dword [esp + 8]
nop
mov esi, eax
mov eax, dword [eax + 0x1d8]
test eax, eax
jne 0x50ff20
mov edi, 0x2b
cmp dword [esi + 0x200], 0
jle case.0x50ef12.12
mov ecx, dword [esi + 0x1f0]
mov eax, dword [esi + 0x1f4]
mov edx, ecx
or edx, eax
je 0x50ffce
movd xmm0, ecx
add ecx, dword [esi + 0x1f8]
movd xmm1, ecx
mov ecx, dword [esi + 0x1fc]
adc ecx, eax
movd xmm2, ecx
punpckldq xmm1, xmm2
movd xmm2, eax
movq qword [esp + 0x78], xmm1
shr ecx, 0x1f
fild qword [esp + 0x78]
fadd dword [ecx*4 + 0x56c7c8]
punpckldq xmm0, xmm2
fstp dword [esp + 0x68]
movss xmm1, dword [esp + 0x68]
movq qword [esp + 0x70], xmm0
shr eax, 0x1f
fild qword [esp + 0x70]
fadd dword [eax*4 + 0x56c7c8]
fstp dword [esp + 0x6c]
divss xmm1, dword [esp + 0x6c]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
jmp 0x50ffd6
mov edi, 0x23
jmp case.0x50ef12.12
mov eax, dword [esp + 0x14]
jmp 0x51010d
movsd xmm0, qword [0x56c7c0]
movsd qword [esp + 8], xmm0
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
movups xmm0, xmmword [esi + 0x1f0]
sub esp, 0x28
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0x1c], xmm1
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0x24], str._ABORTING_n
mov dword [esp + 4], str.expat:_Accounting__p_:_Direct__10llu__indirect__10llu__amplification__8.2f_s
call fcn.0050e880
add esp, 0x28
jmp case.0x50ef12.12
mov edi, eax
jmp case.0x50ef12.12
mov eax, dword [esp + 0x40]
mov dword [eax], esi
mov edi, 7
jmp case.0x50ef12.12
cmp byte [ebp + 0x18], 0
jne 0x51010a
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
lea edx, [esp + 0x28]
je 0x5101d1
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x44], 0
mov edi, dword [ebp + 0x10]
je 0x51023e
mov ecx, dword [ebp + 0xc]
jmp 0x5101f3
cmp byte [ebp + 0x18], 0
jne 0x51010a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jle 0x5101b3
mov edi, 0xd
mov eax, dword [esp + 8]
cmp dword [eax + 0x134], ecx
je 0x51010a
jmp case.0x50ef12.12
cmp byte [ebp + 0x18], 0
jne 0x51010a
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [eax], edx
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x510203
mov byte [esp + 0x28], 0xa
push 1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
add esp, 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5101b3
mov edi, 0xd
cmp dword [esi + 0x134], eax
jne case.0x50ef12.12
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x510112
cmp byte [ebp + 0x18], 0
jne 0x51010a
mov edi, 6
jmp case.0x50ef12.12
cmp byte [ebp + 0x18], 0
je 0x51018f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x40]
mov dword [eax], edx
mov edi, 4
jmp case.0x50ef12.12
mov edi, 0xe
jmp case.0x50ef12.12
mov dword [ebx + 0x114], 0x511da0
jmp 0x510112
mov edi, eax
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x51016a
jmp case.0x50ef12.12
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x174]
mov dword [esi + 4], ecx
mov dword [ebx + 0x174], esi
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
mov esi, eax
test eax, eax
je case.0x50ef12.12
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x51014a
mov ecx, dword [esi]
push dword [ecx]
mov ecx, dword [esp + 8]
push dword [ecx]
call eax
add esp, 8
jmp 0x51014a
push ebx
mov eax, dword [esp + 0xc]
call dword [eax + 0x14]
add esp, 4
jmp case.0x50ef12.12
mov edi, 5
jmp case.0x50ef12.12
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [esp + 0x1c]
push ebx
call fcn.005114d0
add esp, 0x10
mov edi, eax
jmp case.0x50ef12.12
mov edi, 3
jmp case.0x50ef12.12
mov edi, 0xc
jmp case.0x50ef12.12
mov edi, 0xf
jmp case.0x50ef12.12
mov eax, dword [esi + 0x50]
test eax, eax
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
je 0x510269
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
cmp byte [ebx + 0x44], 0
je 0x5102ad
mov edx, edi
sub edx, ecx
push edx
push ecx
mov ecx, dword [esp + 0xc]
push dword [ecx]
call eax
jmp 0x510266
mov eax, dword [esi + 0x50]
test eax, eax
je 0x5100d0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x44], 0
je 0x510316
sub edx, ecx
push edx
jmp 0x5100c4
mov edi, 0xb
jmp case.0x50ef12.12
mov edi, 0x18
jmp case.0x50ef12.12
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
push dword [esi + 0x30]
push edx
push edi
lea eax, [ebp + 0xc]
push eax
push ecx
call dword [ecx + 0x38]
add esp, 0x14
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x28]
sub ecx, eax
push ecx
push eax
push dword [esi + 4]
call dword [esi + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x510287
cmp dword [esi + 0x134], eax
mov eax, dword [esp + 0x40]
jne 0x510297
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
jmp 0x510112
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov edi, 3
jmp case.0x50ef12.12
mov dword [eax], edi
mov edi, 0xd
jmp case.0x50ef12.12
mov edi, 0x15
jmp case.0x50ef12.12
cmp dword [esi + 0x90], ebx
mov ebx, dword [esp + 0x24]
je 0x5102c6
mov ebx, dword [esi + 0x128]
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
push dword [esi + 0x30]
lea eax, [esp + 4]
push eax
push edi
push edx
mov eax, dword [ebp + 8]
push eax
call dword [eax + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [esi + 4]
call dword [esi + 0x50]
lea edx, [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [ebx], eax
cmp edi, 2
mov edi, dword [ebp + 0x10]
jae 0x5102c6
jmp 0x510269
cmp dword [esi + 0x90], ebx
je 0x51032f
mov eax, dword [esi + 0x128]
mov dword [esp + 0x24], eax
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
push dword [esi + 0x30]
lea eax, [esp + 4]
push eax
push edx
lea eax, [esp + 0x34]
push eax
push ebx
call dword [ebx + 0x38]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp]
sub ecx, eax
push ecx
push eax
push dword [esi + 4]
call dword [esi + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
cmp edi, 2
mov edx, dword [ebp + 0x10]
jae 0x51032f
jmp 0x5100d0