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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x370
call 0x4ae924
pop eax
mov dword [esp + 0x5c], eax
movzx eax, byte [edx + 0x34]
test eax, eax
je 0x4b086b
mov ebx, dword [edx + 0x2c]
mov esi, dword [edx + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
sub ebx, esi
jb 0x4b086b
mov eax, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
test esi, esi
je 0x4ae96a
cmp esi, edi
jae 0x4ae964
cmp byte [eax + esi], 0xbf
jg 0x4ae96a
jmp 0x4b086b
jne 0x4b086b
cmp dword [esp + 8], 0
mov dword [esp + 0x3c], ecx
je 0x4ae994
mov ecx, esi
mov esi, dword [esp + 8]
cmp esi, edi
jae 0x4ae98c
cmp byte [eax + esi], 0xbf
mov esi, ecx
jg 0x4ae994
jmp 0x4b086b
mov esi, ecx
jne 0x4b086b
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
lea edi, [eax + esi]
movzx eax, byte [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [esp + 0x1c], edx
push eax
mov dword [esp + 0x24], ebx
push ebx
mov dword [esp + 0x40], edi
push edi
call fcn.004b11f0
add esp, 0xc
mov ebx, dword [esp + 0x90]
lea edi, [esp + 0x158]
lea eax, [esp + 0x94]
push 0x88
push eax
push edi
call fcn.004ef180
add esp, 0xc
movzx eax, byte [esp + 0x11c]
cmp ebx, 3
mov byte [esp + 3], al
jne 0x4aea8a
lea eax, [esp + 0x208]
push 0x88
push edi
push eax
call fcn.004ef180
add esp, 0xc
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, 0x100
xor ebx, ebx
call fcn.00499510
test eax, eax
je 0x4b086b
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], 0x100
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov ecx, dword [edx + 0x58]
cmp ebx, dword [ecx + 0x5c]
mov dword [esp + 0x1ec], ecx
jno 0x4aeb60
mov eax, dword [edx]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 8], eax
je 0x4aeb7f
lea eax, [edx + 4]
jmp 0x4aeb8c
mov esi, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x14c]
movsd xmm1, qword [esp + 0x13d]
movsd xmm2, qword [esp + 0x145]
movsd qword [esi + 0xbc], xmm0
movsd qword [esi + 0xb5], xmm2
movsd qword [esi + 0xad], xmm1
movsd xmm2, qword [esp + 0x135]
movsd xmm1, qword [esp + 0x12d]
lea eax, [esi + 4]
movsd qword [esi + 0xa5], xmm2
movsd qword [esi + 0x9d], xmm1
movsd xmm2, qword [esp + 0x11d]
movsd xmm1, qword [esp + 0x125]
movsd qword [esi + 0x95], xmm1
movsd qword [esi + 0x8d], xmm2
push 0x88
push edi
push eax
call fcn.004ef180
add esp, 0xc
movzx eax, byte [esp + 3]
mov dword [esi], ebx
mov byte [esi + 0x8c], al
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x4aeb39
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4b0774
cmp dword [edi + 8], 9
jb 0x4aeb4c
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4b0774
cmp byte [ecx + 0x84], 0
mov ebx, dword [esp + 0x18]
je 0x4aebbc
mov eax, dword [edx]
test eax, eax
mov dword [esp + 8], eax
je 0x4aebf6
lea eax, [edx + 4]
jmp 0x4aec03
test byte [edx + 8], 1
je 0x4aec33
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4b086b
test edi, edi
je 0x4aec5d
cmp edi, dword [esp + 4]
jae 0x4aec57
cmp byte [ebx + edi], 0xbf
jg 0x4aec5d
jmp 0x4b086b
test byte [edx + 0x1c], 1
je 0x4aec85
movzx eax, word [edx + 0x1e]
mov word [esp + 0x80], ax
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4aed3e
cmp eax, dword [esp + 4]
jae 0x4aed38
cmp byte [ebx + eax], 0xbf
jg 0x4aed3e
jmp 0x4b086b
test byte [edx + 8], 1
je 0x4aeca9
lea eax, [edx + 0xc]
mov eax, dword [eax]
mov edi, dword [edx + 0x30]
mov esi, eax
sub esi, edi
jb 0x4b086b
test edi, edi
je 0x4aecd3
cmp edi, dword [esp + 4]
jae 0x4aeccd
cmp byte [ebx + edi], 0xbf
jg 0x4aecd3
jmp 0x4b086b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4aed01
cmp dword [esp + 4], edi
jbe 0x4aecfb
cmp byte [ebx + edi], 0xbf
jg 0x4aed01
jmp 0x4b086b
jne 0x4b086b
test eax, eax
je 0x4aed07
cmp eax, dword [esp + 4]
jae 0x4aec7a
cmp byte [ebx + eax], 0xbf
jg 0x4aed07
jmp 0x4b086b
je 0x4aed07
jmp 0x4b086b
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4aedc8
cmp eax, dword [esp + 4]
jae 0x4aedc2
cmp byte [ebx + eax], 0xbf
jg 0x4aedc8
jmp 0x4b086b
mov edi, dword [edx + 0x30]
test edi, edi
je 0x4aee52
cmp dword [esp + 4], edi
jbe 0x4aee4c
cmp byte [ebx + edi], 0xbf
jg 0x4aee52
jmp 0x4b086b
jne 0x4b086b
test eax, eax
je 0x4aee58
cmp eax, dword [esp + 4]
jae 0x4aecf0
cmp byte [ebx + eax], 0xbf
jg 0x4aee58
jmp 0x4b086b
je 0x4aee58
jmp 0x4b086b
jne 0x4b086b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4b086b
mov ebx, dword [esp + 4]
je 0x4aee6c
movzx eax, byte [0x6019e5]
xor ecx, ecx
mov edx, esi
call fcn.00499510
test eax, eax
jne 0x4aee71
jmp 0x4b086b
jne 0x4b086b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4b0880]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4b086b
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x4b0870]
add eax, dword [esp + 0x5c]
jmp eax
jne 0x4b086b
mov esi, dword [esp + 4]
sub esi, edi
add edi, ebx
test esi, esi
js 0x4b086b
mov ebx, dword [esp + 4]
jne 0x4aed1b
mov eax, 1
push esi
push edi
mov dword [esp + 0x28], eax
push eax
call fcn.004ef180
add esp, 0xc
mov edi, dword [esp + 8]
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x1c]
test edi, edi
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x68]
mov dword [esp + 0x14], eax
je 0x4aeecc
mov eax, dword [ecx + 4]
inc eax
test byte [ecx + 8], 1
je 0x4aeed0
mov ecx, dword [ecx + 0xc]
mov edi, ecx
sub edi, eax
jb 0x4b086b
test eax, eax
je 0x4aef06
cmp ebx, eax
jbe 0x4aef00
mov ebx, dword [esp + 0x18]
cmp byte [ebx + eax], 0xbf
mov ebx, dword [esp + 4]
jg 0x4aef06
jmp 0x4b086b
xor ebx, ebx
jmp 0x4aef29
test eax, eax
lea ecx, [esp + 0x158]
je 0x4aeef4
cmp ebx, eax
jbe 0x4aeeee
mov edi, dword [esp + 0x18]
cmp byte [edi + eax], 0xbf
jg 0x4aeef4
jmp 0x4b086b
jne 0x4b086b
sub ebx, eax
mov edi, ebx
mov ebx, dword [esp + 0x18]
add ebx, eax
jmp 0x4aef30
jne 0x4b086b
test ecx, ecx
je 0x4aef23
cmp ecx, ebx
jae 0x4aef1d
mov ebx, dword [esp + 0x18]
cmp byte [ebx + ecx], 0xbf
jg 0x4aef23
jmp 0x4b086b
jne 0x4b086b
mov ebx, dword [esp + 0x18]
add ebx, eax
lea ecx, [esp + 0x158]
test ebx, ebx
mov eax, 1
mov dword [esp + 0x58], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x90], 0x5e4d48
mov dword [esp + 0x94], 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x9c], 2
cmovne eax, ebx
cmove edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x64], edi
mov dword [esp + 0x158], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x15c], 0x489eb0
mov dword [esp + 0x70], edx
mov dword [esp + 0x160], eax
mov dword [esp + 0x74], esi
lea eax, [esp + 0x40]
lea esi, [esp + 0x90]
mov dword [esp + 0x164], 0x489eb0
mov edx, 0x5df180
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x24], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4af012
cmp cl, 4
je 0x4b086b
mov eax, dword [esp + 0x24]
cmp al, 4
je 0x4af06c
mov ecx, dword [esp + 0x28]
jmp 0x4af1f2
cmp cl, 3
jne 0x4af06c
mov esi, dword [esp + 0x28]
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4af034
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [ebx + 4], 0
je 0x4af052
cmp dword [ebx + 8], 9
jb 0x4af043
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x90]
test edi, edi
je 0x4af160
lea eax, [esp + 0x60]
mov dword [esp + 0x90], 0x5e4d5c
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x5df180
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x489eb0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4af10f
cmp cl, 4
je 0x4b086b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4af160
mov ecx, dword [esp + 0x15c]
jmp 0x4af1f2
cmp cl, 3
jne 0x4af160
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4af12c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4af14a
cmp dword [ebx + 8], 9
jb 0x4af13b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x5e4d70
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x5df180
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4af219
cmp cl, 4
mov ecx, dword [esp + 0x1c]
je 0x4b086b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4af26e
mov ecx, dword [esp + 0x15c]
mov ebx, dword [esp + 0x14]
mov edx, eax
shrd edx, ecx, 8
shr ecx, 8
mov byte [esp + 0xc], al
movzx eax, byte [esp + 3]
mov dword [esp + 0xd], edx
mov word [esp + 0x11], cx
shr ecx, 0x10
mov byte [esp + 0x13], cl
jmp 0x4b040d
cmp cl, 3
jne 0x4af26a
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4af236
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4af254
cmp dword [ebx + 8], 9
jb 0x4af245
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x90]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x70]
mov ecx, ebx
mov edx, edi
push 4
push 0x5df23c
call fcn.004b08c0
add esp, 8
test eax, eax
je 0x4af304
mov ecx, ebx
mov edx, edi
push 0xa
push 0x5e4d24
call fcn.004b08c0
add esp, 8
test eax, eax
je 0x4af356
mov ecx, ebx
mov edx, edi
push 6
push 0x5e4d38
call fcn.004b08c0
add esp, 8
test eax, eax
jne 0x4af2ee
lea ecx, [esp + 0x90]
lea edx, [esp + 0x40]
push 3
push 0x5e4d44
push 6
push 0x5e4d3e
call fcn.004b2bc0
add esp, 0x10
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4af488
test edi, edi
je 0x4b027b
shl edi, 4
add edi, ebx
mov dword [esp + 0x18], edi
jmp 0x4afbbb
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
movzx eax, byte [esi + 0x34]
mov eax, dword [eax*4 + 0x4b0890]
add eax, dword [esp + 0x5c]
jmp eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x90], 0x5e4d78
mov dword [esp + 0x94], 3
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x60], 0x5e4d2e
mov dword [esp + 0x64], 0xa
mov edx, 0x5df180
add eax, 0x50
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x158], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x15c], 0x489eb0
mov dword [esp + 0x160], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x164], 0x45c5c0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 2
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x24]
test al, al
je 0x4af421
cmp cl, 4
je 0x4b086b
mov ecx, dword [esp + 0x24]
cmp cl, 4
je 0x4af2a6
mov eax, dword [esp + 0x28]
jmp 0x4af7a2
cmp cl, 3
jne 0x4af2a6
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], edi
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4af44b
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4af469
cmp dword [edi + 8], 9
jb 0x4af45a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x90]
jmp 0x4af2a6
mov ecx, dword [esp + 0x91]
mov edx, dword [esp + 0x94]
jmp 0x4af5de
mov ecx, dword [esp + 0x159]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xd], ecx
mov byte [esp + 0xc], al
jmp 0x4af7c1
mov edx, ecx
mov esi, eax
mov byte [esp + 0xc], cl
shrd edx, eax, 8
shr esi, 8
shr eax, 0x18
mov dword [esp + 0xd], edx
mov word [esp + 0x11], si
mov byte [esp + 0x13], al
movzx eax, byte [esp + 3]
mov ebx, dword [esp + 0x14]
jmp 0x4b040d
push ecx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x90]
mov edi, dword [esp + 0x18]
nop
add ebx, 0x10
cmp ebx, edi
je 0x4b027b
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
inc edx
sub eax, edx
jb 0x4b086b
add edx, dword [ebx + 4]
mov ecx, esi
push eax
call fcn.00411e40
add esp, 4
test byte [esp + 0x90], 1
jne 0x4afbb0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
call fcn.004b0f90
test edx, edx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
je 0x4afc30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x4afc14
inc ecx
dec eax
je 0x4afc30
movzx edx, byte [ecx]
cmp edx, 9
je 0x4afc10
cmp edx, 0x20
je 0x4afc10
add dl, 0xdf
cmp dl, 0x5d
jbe 0x4afc10
jmp 0x4afbb0
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 8]
ja 0x4b086b
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.00411e40
add esp, 4
test byte [esp + 0x90], 1
jne 0x4b086b
cmp dword [esp + 0x98], 0xd
jne 0x4afde0
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x61
jne 0x4afde0
movzx ecx, byte [eax + 1]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x75
jne 0x4afde0
movzx ecx, byte [eax + 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x74
jne 0x4afde0
movzx ecx, byte [eax + 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x68
jne 0x4afde0
movzx ecx, byte [eax + 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4afde0
movzx ecx, byte [eax + 5]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x72
jne 0x4afde0
movzx ecx, byte [eax + 6]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4afde0
movzx ecx, byte [eax + 7]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x7a
jne 0x4afde0
movzx ecx, byte [eax + 8]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x61
jne 0x4afde0
movzx ecx, byte [eax + 9]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x74
jne 0x4afde0
movzx ecx, byte [eax + 0xa]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4afde0
movzx ecx, byte [eax + 0xb]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4afde0
movzx eax, byte [eax + 0xc]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x6e
je 0x4afec2
nop dword [eax]
lea ecx, [esp + 0x90]
mov edx, esi
push edi
call fcn.00411e40
add esp, 4
cmp dword [esp + 0x90], 1
je 0x4b086b
cmp dword [esp + 0x98], 6
jne 0x4affc0
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x63
jne 0x4affc0
movzx ecx, byte [eax + 1]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4affc0
movzx ecx, byte [eax + 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6f
jne 0x4affc0
movzx ecx, byte [eax + 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x6b
jne 0x4affc0
movzx ecx, byte [eax + 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x69
jne 0x4affc0
movzx eax, byte [eax + 5]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x4affc0
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4b086b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00411e40
add esp, 4
test byte [esp + 0x90], 1
jne 0x4b086b
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x158]
mov edx, 0x5df180
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], 0x5e4278
mov dword [esp + 0x94], 2
mov dword [esp + 0xa0], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x489eb0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4b0031
cmp cl, 4
je 0x4b086b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4b008a
jmp 0x4af1e7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
ja 0x4b086b
mov edx, dword [ebx + 4]
lea esi, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00411e40
add esp, 4
test byte [esp + 0x90], 1
mov edi, dword [esp + 0x18]
jne 0x4b086b
lea ecx, [esp + 0x158]
lea edx, [esp + 0x40]
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.004b2bc0
add esp, 0x10
movzx eax, byte [esp + 0x158]
cmp al, 4
je 0x4afbb0
jmp 0x4af5d0
cmp cl, 3
jne 0x4b008a
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4b0056
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4b0074
cmp dword [edi + 8], 9
jb 0x4b0065
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x90]
lea eax, [esp + 0x60]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x90], 0x5f74ec
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x158]
mov dword [esp + 0xa0], 0
mov edx, 0x5df180
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x489eb0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
mov dword [esp + 8], edi
je 0x4b0126
cmp cl, 4
je 0x4b086b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4b0178
jmp 0x4af1e7
cmp cl, 3
jne 0x4b0178
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4b014b
push ecx
mov dword [esp + 8], ecx
call eax
mov ecx, dword [esp + 8]
add esp, 4
cmp dword [edi + 4], 0
je 0x4b0169
cmp dword [edi + 8], 9
jb 0x4b015a
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
cmp edi, dword [esp + 0x4c]
jne 0x4b018f
lea ecx, [esp + 0x4c]
call fcn.00419ff0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 8]
mov edx, 0x5df180
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], esi
inc edi
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
lea esi, [esp + 0x90]
mov dword [esp + 0x90], 0x5e4d90
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov dword [esp + 0x160], eax
mov dword [esp + 0x54], edi
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4b0236
mov edi, dword [esp + 0x18]
cmp cl, 4
je 0x4b086b
mov eax, dword [esp + 0x158]
cmp al, 4
je 0x4afbb0
jmp 0x4af1e7
cmp cl, 3
jne 0x4afbab
mov esi, dword [esp + 0x15c]
mov edi, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4b025f
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x4afb95
cmp dword [edi + 8], 9
jb 0x4afb86
mov ecx, dword [ecx - 4]
jmp 0x4afb86
lea eax, [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp + 0x90], 0x5e4d90
mov dword [esp + 0x94], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0
mov edx, 0x5df180
mov dword [esp + 0x160], eax
mov byte [esp + 0x158], 4
push esi
call fcn.00411890
add esp, 4
movzx ecx, byte [esp + 0x158]
test al, al
je 0x4b032f
mov ebx, dword [esp + 0x14]
cmp cl, 4
je 0x4b086b
mov ecx, dword [esp + 0x158]
cmp cl, 4
je 0x4b037d
mov eax, dword [esp + 0x15c]
mov edx, ecx
mov byte [esp + 0xc], cl
mov esi, eax
shrd edx, eax, 8
shr eax, 0x18
mov byte [esp + 0x13], al
movzx eax, byte [esp + 3]
shr esi, 8
mov dword [esp + 0xd], edx
mov word [esp + 0x11], si
jmp 0x4b040d
cmp cl, 3
jne 0x4b0379
mov esi, dword [esp + 0x15c]
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4b034c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4b036a
cmp dword [ebx + 8], 9
jb 0x4b035b
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x288]
lea ecx, [esp + 0x90]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x294]
call fcn.004b2cc0
add esp, 0xc
movzx eax, byte [esp + 0x90]
cmp al, 4
jne 0x4b03ee
cmp dword [esp + 0x38], 0
mov byte [esp + 0xc], 4
je 0x4b03cc
push dword [esp + 0x20]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x40], 0
je 0x4b03e5
push dword [esp + 0x44]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esp + 0x4c], 0
jne 0x4b0450
jmp 0x4b0462
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x91]
mov dword [esp + 0x10], edx
mov dword [esp + 0xd], ecx
mov byte [esp + 0xc], al
movzx eax, byte [esp + 3]
cmp dword [esp + 0x38], 0
je 0x4b042b
push dword [esp + 0x20]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x40], 0
je 0x4b0449
push dword [esp + 0x44]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp dword [esp + 0x4c], 0
je 0x4b0467
push dword [esp + 0x50]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
movzx eax, byte [esp + 3]
cmp byte [esp + 0xc], 4
jne 0x4b04cd
mov ecx, dword [ebp + 0xc]
add ebx, 0xfffffffd
cmp ebx, 4
mov edx, dword [ecx]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
ja 0x4b05bf
mov esi, dword [esp + 0x5c]
add esi, dword [ebx*4 + 0x4b08a0]
jmp esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
test al, 1
je 0x4b053a
mov ecx, dword [esp + 0x3c]
push dword [ebp + 0xc]
push 0
call fcn.004ae910
add esp, 8
cmp bl, 3
jne 0x4b0768
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x4b0508
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4b0526
cmp dword [ebx + 8], 9
jb 0x4b0517
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4b0768
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x158]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], 0x80000000
mov dword [esp + 0xe8], 0
mov byte [esp + 0xf0], 8
mov dword [esp + 0x15c], esi
mov dword [esp + 0x90], 2
lea edx, [esp + 0x90]
push eax
call fcn.004a4a20
add esp, 4
lea ecx, [esp + 0x208]
call fcn.004ab9b0
jmp 0x4aeb24
xor ebx, ebx
test edx, edx
je 0x4b05f0
cmp edx, 1
jne 0x4b05ce
xor eax, eax
jmp 0x4b05f2
or ecx, eax
sete al
jmp 0x4b05f2
mov al, 1
mov esi, dword [esp + 0x1c]
and bl, al
jmp 0x4b063b
mov eax, dword [ebp + 0xc]
lea edi, [esp + 0x90]
lea ecx, [esp + 0x40]
mov edx, edi
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movzx eax, byte [esi + 0x78]
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm2
push dword [esp + 0x28c]
push dword [esp + 0x28c]
push eax
call fcn.004b2e00
add esp, 0xc
movzx eax, byte [esp + 0x40]
cmp al, 4
jne 0x4b06fc
mov ecx, edi
mov edx, esi
call fcn.004b3800
lea esi, [esp + 0x2a8]
lea edx, [esp + 0x208]
mov ecx, esi
push edi
call fcn.004b3ab0
add esp, 4
mov eax, dword [esp + 0x2a8]
cmp eax, 3
jne 0x4b077c
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x2ac]
lea ecx, [esi + 4]
push 0xbc
push eax
push ecx
call fcn.004ef180
add esp, 0xc
mov eax, dword [esp + 0x368]
mov dword [esi + 0xc0], eax
mov dword [esi], 3
jmp 0x4b0774
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x41]
mov dword [esp + 0x94], 2
mov dword [esp + 0xdc], 0x80000000
mov dword [esp + 0xe8], 0
mov byte [esp + 0xf0], 8
mov dword [esp + 0x90], 2
mov dword [esp + 0x15c], edx
mov dword [esp + 0x159], ecx
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x158], al
lea eax, [esp + 0x158]
lea edx, [esp + 0x90]
push eax
call fcn.004a4a20
add esp, 4
lea ecx, [esp + 0x208]
call fcn.004ab9b0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x4b0854
cmp byte [esp + 0x308], 8
jne 0x4b0854
mov edi, dword [esp + 0x300]
test edi, edi
je 0x4b0854
mov eax, dword [esp + 0x304]
lea ecx, [esp + 0x1f8]
push edi
push ecx
call dword [eax + 0x1c]
add esp, 8
mov eax, dword [esp + 0x200]
mov ecx, dword [esp + 0x204]
mov edx, 0xbe4c238a
mov esi, 0xbb3e41fb
xor edx, dword [esp + 0x1f8]
xor esi, dword [esp + 0x1fc]
xor eax, 0xfec97d0
xor ecx, 0x7b23a6a8
or ecx, esi
or eax, edx
lea esi, [esp + 0x2a8]
or ecx, eax
jne 0x4b0854
mov ecx, edi
call fcn.004a7190
cmp al, 3
sete cl
cmp al, 6
sete al
or al, cl
and bl, al
test byte [esp + 3], bl
je 0x4b0854
lea edi, [esp + 0x290]
lea edx, [esp + 0x90]
mov dword [esp + 0x90], 0x80000000
mov ecx, edi
call fcn.004adf80
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
push edi
push 0
call fcn.004ae910
add esp, 8
push esi
call fcn.0049b710
add esp, 4
jmp 0x4b0774
push 0xc4
push esi
push dword [esp + 0x44]
call fcn.004ef180
add esp, 0xc
jmp 0x4b0774
ud2