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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [eax]
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov dword [esp + 0x18], esi
lea esi, [ecx + eax + 0x30]
movzx ecx, byte [esi + 0x34]
mov eax, dword [eax + 8]
push edi
lea edi, [ecx*8]
sub edi, ecx
mov ecx, dword [esi]
lea eax, [eax + edi*8 + 8]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x44], eax
mov eax, ecx
shr eax, 0x19
xor edx, edx
and eax, 1
test ecx, 0x800000
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
je 0x590433
test byte [esp + 0x6c], 0x40
mov dword [esp + 0x5c], 1
je 0x590437
mov dword [esp + 0x5c], edx
mov eax, ebx
call fcn.0055cd10
mov dword [esp + 0x3c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov eax, ebx
call fcn.0055cd10
cmp byte [esi + 0x34], 0
mov dword [esp + 0x4c], eax
mov dword [esi + 0x2c], eax
jbe 0x590481
mov ecx, dword [esp + 0x44]
test byte [ecx + 0x15], 8
je 0x590481
add dword [ebp + 0x48], 1
mov eax, dword [ebp + 0x48]
push 0
push eax
mov dword [esi + 0x18], eax
push 0
push 7
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
mov eax, dword [esi]
test eax, 0x8000000
je 0x590745
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x38]
mov edi, 1
add dword [ebp + 0x54], edi
lea eax, [edx + 2]
cmp eax, ecx
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], esi
jg 0x5904d2
add esi, eax
sub ecx, eax
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], ecx
jmp 0x5904e1
mov ecx, dword [ebp + 0x48]
lea esi, [ecx + 1]
add ecx, eax
mov dword [esp + 0x68], esi
mov dword [ebp + 0x48], ecx
cmp edx, edi
mov dword [esp + 0x38], edi
jl 0x59058d
lea ecx, [ecx]
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x590572
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
cmp dword [ecx + edi*8], eax
je 0x590512
add edi, 1
cmp edi, edx
jl 0x590504
jmp 0x590572
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
lea esi, [edx + eax + 1]
lea eax, [edi + edi*2]
mov eax, dword [ecx + eax*4 + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + edx*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x59054c
cmp byte [eax], 0x84
jne 0x59054c
mov eax, dword [eax + 0x18]
push 0
push esi
push eax
mov eax, dword [ebp + 0xc]
push 0xe
jmp 0x59056a
push esi
push eax
push ebp
call fcn.0056b550
add esp, 0xc
cmp eax, esi
je 0x590572
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x590572
push 0
push esi
push eax
push 0xf
mov eax, ecx
call fcn.0055cbe0
add esp, 0x10
mov ecx, dword [esp + 0x30]
cmp edi, ecx
je 0x59058d
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x38], eax
jle 0x5904f0
mov ecx, dword [esp + 0x40]
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x5c], edx
jg 0x5905ab
mov edi, ebx
call fcn.0055cb60
test eax, eax
jne 0x5905db
mov ecx, dword [ebx + 4]
add dword [ebx + 0x1c], 1
mov edx, dword [esp + 0x5c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x64], cl
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
jg 0x5905ee
mov edi, ebx
call fcn.0055cb60
test eax, eax
jne 0x590624
mov eax, dword [ebx + 4]
add dword [ebx + 0x1c], 1
mov ecx, dword [esp + 0x38]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x68]
add ecx, 0xffffffff
mov dword [eax + 4], ecx
add edx, 1
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x64], cl
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebx + 0x1c]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0xfffffffe
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x58], eax
jg 0x59065a
mov edi, ebx
call fcn.0055cb60
test eax, eax
je 0x59065a
mov esi, 1
jmp 0x590692
mov edx, dword [ebx + 4]
add dword [ebx + 0x1c], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov byte [eax], 0x80
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x64], 0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
push ebx
mov eax, esi
call fcn.0055d100
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
mov dword [ecx + 0x1c], 0
jle 0x590700
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add edi, 8
add edx, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
je 0x5906f1
mov eax, dword [edi]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*8]
call fcn.0058fac0
add dword [esp + 0x40], 8
add edi, 0xc
sub dword [esp + 0x48], 1
jne 0x5906d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
mov byte [eax + 0x35], 0x83
mov dword [eax + 0x38], ecx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x68]
push eax
mov eax, edi
mov esi, ebp
call fcn.0056b1e0
add esp, 4
cmp edi, dword [ebp + 0x38]
jle 0x590739
mov ecx, dword [esp + 0x68]
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], ecx
mov eax, ebp
call fcn.0056b230
jmp 0x5911dd
test eax, 0x1000
je 0x5907ed
mov al, byte [ebp + 0x15]
test al, al
jne 0x590764
add dword [ebp + 0x48], 1
mov edx, dword [ebp + 0x48]
mov dword [esp + 0x34], edx
jmp 0x590774
sub al, 1
mov byte [ebp + 0x15], al
movzx eax, al
mov ecx, dword [ebp + eax*4 + 0x18]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
push 0
push 3
push edx
push eax
push 0xffffffffffffffff
push edi
push ecx
call fcn.0058d180
mov edx, dword [esp + 0x50]
add esp, 0x1c
push edx
push eax
push ebp
mov eax, esi
call fcn.0058fb80
mov ecx, dword [esi + 0x28]
add esp, 0xc
push 0
push ecx
push eax
mov dword [esp + 0x74], eax
push 0x15
mov eax, ebx
mov dword [esp + 0x38], ecx
call fcn.0055cbe0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push edi
push 0x34
mov eax, ebx
call fcn.0055cbe0
mov edx, dword [esp + 0x88]
push edx
push 0xffffffffffffffff
push edi
mov edx, ebp
call fcn.0056b0d0
add esp, 0x2c
mov byte [esi + 0x35], 0x89
jmp 0x5911dd
test eax, 0x2000
je 0x590a00
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
push 0
push 0x24
push eax
push esi
push 0xffffffffffffffff
push edi
push ecx
mov dword [esp + 0x48], 0x89
mov dword [esp + 0x64], 0
call fcn.0058d180
mov edx, dword [esp + 0x90]
add esp, 0x1c
push 0
push 0x18
push edx
push esi
push 0xffffffffffffffff
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
push edi
push eax
call fcn.0058d180
mov ecx, dword [esp + 0x34]
add esp, 0x1c
test ecx, ecx
mov dword [esp + 0x30], eax
je 0x59085f
mov edx, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], edx
cmp dword [esp + 0x68], 0
je 0x5908df
mov ecx, dword [esp + 0x68]
mov edi, dword [ecx]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x5c]
push edx
mov esi, ebp
mov byte [esp + 0x3c], 0x2f
mov byte [esp + 0x3d], 0x2d
mov byte [esp + 0x3e], 0x2c
mov byte [esp + 0x3f], 0x2e
call fcn.0056c2c0
movzx edx, byte [edi]
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 4
push esi
push eax
movzx eax, byte [esp + edx - 0xd]
push ecx
push eax
mov eax, ebx
call fcn.0055cbe0
push esi
mov eax, 1
mov esi, ebp
call fcn.0056b1e0
mov esi, dword [esp + 0x70]
add esp, 0x14
mov edx, ebp
call fcn.0056d2a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
mov esi, edi
call fcn.0058fac0
jmp 0x590901
mov edx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
push 0
push edx
push edi
lea eax, [eax + eax + 0x3f]
push eax
mov eax, ebx
call fcn.0055cbe0
mov edi, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x590964
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
add dword [ebp + 0x48], 1
mov esi, dword [ebp + 0x48]
mov dword [esp + 0x5c], eax
mov eax, dword [eax + 0xc]
mov ecx, ebp
mov dword [esp + 0x48], esi
call fcn.0056c350
mov edx, dword [esp + 0x5c]
mov al, byte [edx]
cmp al, 0x4f
je 0x590948
cmp al, 0x4d
je 0x590948
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
lea eax, [eax + eax + 0x4d]
mov dword [esp + 0x2c], eax
jmp 0x590959
xor ecx, ecx
cmp dword [esp + 0x18], ecx
sete cl
lea ecx, [ecx + ecx + 0x4e]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x30]
mov esi, edi
call fcn.0058fac0
cmp dword [esp + 0x18], 0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x20]
sete dl
add dl, 0x42
cmp dword [esp + 0x68], 0
mov byte [edi + 0x35], dl
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], eax
jne 0x590991
cmp dword [esp + 0x30], 0
jne 0x590991
mov byte [edi + 0x36], 1
cmp dword [esp + 0x2c], 0x89
je 0x5911dd
mov eax, ebp
call fcn.0056d280
mov edi, dword [esp + 0x20]
mov esi, eax
push 0
push esi
push edi
push 0x3d
mov eax, ebx
mov dword [esp + 0x44], esi
call fcn.0055cbe0
push esi
push 0xffffffffffffffff
push edi
mov edx, ebp
call fcn.0056b0d0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
add esp, 0x1c
push esi
push edx
push eax
push ecx
mov eax, ebx
call fcn.0055cbe0
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
je 0x5911dd
mov ecx, dword [ebx + 0x1c]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x6b
jmp 0x5911dd
test eax, 0x30000
je 0x590ecf
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 8]
mov edx, dword [edx + ecx*4]
xor eax, eax
test byte [esp + 0x6c], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x68], edx
je 0x590a5d
test dword [esi], 0x1000000
je 0x590a5d
mov edx, dword [esp + 0x38]
cmp dword [edx + 4], ecx
jle 0x590a5d
mov eax, 1
mov dword [esp + 0x50], eax
test dword [esi], 0x100000
je 0x590a92
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x6c]
push 0x18
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push edi
push ecx
call fcn.0058d180
mov dword [esp + 0x40], eax
add esp, 0x1c
mov eax, 1
test dword [esi], 0x200000
je 0x590ac7
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x6c]
push 0x24
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push edi
push eax
call fcn.0058d180
mov dword [esp + 0x4c], eax
add esp, 0x1c
mov eax, 1
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x78]
push edx
push eax
push ecx
push esi
push ebp
call fcn.0058fcf0
mov edx, dword [esp + 0x5c]
add esp, 0x1c
mov dword [esp + 0x68], eax
mov eax, dword [ebp]
push edx
push eax
call fcn.00543770
mov edi, dword [esp + 0x34]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
add esp, 8
cmp edi, dword [eax + 4]
mov dword [esp + 0x28], ecx
jge 0x590b36
mov edx, dword [eax + 0x28]
xor eax, eax
cmp byte [edi + edx], al
sete al
cmp dword [esp + 0x18], eax
jne 0x590b36
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
jmp 0x590b3e
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
xor edx, edx
cmp eax, edx
je 0x590b4e
test byte [eax + 0x10], 0x28
mov dword [esp + 0x44], edx
je 0x590b56
mov dword [esp + 0x44], 1
cmp ecx, edx
je 0x590b64
test byte [ecx + 0x10], 0x28
mov dword [esp + 0x58], edx
je 0x590b6c
mov dword [esp + 0x58], 1
cmp eax, edx
jne 0x590b78
cmp edi, edx
mov dword [esp + 0x48], edx
jle 0x590b80
mov dword [esp + 0x48], 1
test eax, eax
je 0x590c1f
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x68]
mov eax, dword [edx + 0xc]
lea esi, [ecx + edi]
mov ecx, ebp
mov dword [esp + 0x38], eax
call fcn.0056c350
mov eax, dword [esp + 0x38]
mov cl, byte [eax]
cmp cl, 0x9d
je 0x590bb3
cmp cl, 0x9c
jne 0x590bb8
mov eax, dword [eax + 8]
jmp 0x590ba7
mov cl, byte [eax]
cmp cl, 0x84
jne 0x590bc2
mov cl, byte [eax + 0x23]
cmp cl, 0x5e
je 0x590be5
cmp cl, 0x80
jbe 0x590bd1
cmp cl, 0x83
jbe 0x590be5
mov edx, dword [esp + 0x28]
push 0
push edx
push esi
push 0x49
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
mov esi, dword [esp + 0x40]
test esi, esi
je 0x590c19
movzx eax, byte [esi + edi]
push eax
mov eax, dword [esp + 0x3c]
call fcn.00568cc0
add esp, 4
cmp al, 0x62
jne 0x590c05
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x38]
call fcn.0056a1c0
test eax, eax
je 0x590c19
mov byte [esi + edi], 0x62
mov esi, dword [esp + 0x14]
jmp 0x590c4d
cmp dword [esp + 0x50], 0
je 0x590c50
mov ecx, dword [esp + 0x68]
push 0
add ecx, edi
push ecx
push 0
push 0xa
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
add edi, 1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
push edx
push eax
push ebp
mov eax, edi
call fcn.0058fb00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add esp, 0xc
push edi
push ecx
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + ecx*2 + 0x618994]
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x74]
mov edi, ebx
call fcn.0055cce0
mov edi, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x590d71
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
lea eax, [ecx + edi]
push eax
mov eax, 1
mov esi, ebp
call fcn.0056b1e0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x3c]
add esp, 4
lea esi, [edx + edi]
mov ecx, ebp
call fcn.0056c350
mov eax, dword [esp + 0x38]
mov edi, edi
mov cl, byte [eax]
cmp cl, 0x9d
je 0x590cec
cmp cl, 0x9c
jne 0x590cf1
mov eax, dword [eax + 8]
jmp 0x590ce0
mov cl, byte [eax]
cmp cl, 0x84
jne 0x590cfb
mov cl, byte [eax + 0x23]
cmp cl, 0x5e
je 0x590d25
cmp cl, 0x80
jbe 0x590d0a
cmp cl, 0x83
jbe 0x590d25
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
push 0
push eax
lea eax, [ecx + edi]
push eax
push 0x49
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
mov esi, dword [esp + 0x54]
test esi, esi
je 0x590d59
movzx edx, byte [esi + edi]
mov eax, dword [esp + 0x38]
push edx
call fcn.00568cc0
add esp, 4
cmp al, 0x62
jne 0x590d45
mov byte [esi + edi], al
mov dl, byte [esi + edi]
mov ecx, dword [esp + 0x38]
call fcn.0056a1c0
test eax, eax
je 0x590d59
mov byte [esi + edi], 0x62
mov eax, dword [esp + 0x68]
push esi
push eax
add edi, 1
push ebp
mov eax, edi
call fcn.0058fb00
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov edx, dword [ebp]
push ecx
push edx
call fcn.00543400
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp]
push eax
push ecx
call fcn.00543400
mov edx, dword [ebx + 0x1c]
add esp, 0x10
cmp dword [esp + 0x24], 0
mov dword [esi + 0x3c], edx
jne 0x590da8
cmp dword [esp + 0x2c], 0
jne 0x590da8
xor eax, eax
jmp 0x590dad
mov eax, 1
mov ecx, dword [esp + 0x18]
add ecx, 1
imul ecx, eax
movzx eax, byte [ecx + 0x61899c]
cmp eax, 0x89
je 0x590dfa
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push edi
push edx
push eax
mov eax, dword [esp + 0x74]
mov edi, ebx
call fcn.0055cce0
mov eax, dword [ebx + 4]
add esp, 0xc
test eax, eax
je 0x590dfa
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x58], ecx
mov edi, dword [ebx + 0x1c]
setne dl
lea ecx, [edi + edi*4]
mov byte [eax + ecx*4 - 0x11], dl
mov eax, ebp
call fcn.0056d280
test dword [esi], 0x300000
mov edi, eax
je 0x590e33
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
push edi
push edx
push eax
push 0x1c
mov eax, ebx
call fcn.0055cbe0
mov ecx, dword [esp + 0x5c]
push 0
push ecx
push edi
push 0x49
mov eax, ebx
call fcn.0055cbe0
add esp, 0x20
mov esi, edi
mov edx, ebp
call fcn.0056d2a0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
call fcn.0058fac0
mov eax, dword [esp + 0x24]
call fcn.0058fac0
cmp dword [esp + 0x5c], 0
jne 0x590e99
mov eax, ebp
call fcn.0056d280
mov edx, dword [esp + 0x3c]
mov edi, eax
push 0
push edi
push edx
push 0x48
mov eax, ebx
mov dword [esp + 0x44], edi
call fcn.0055cbe0
mov esi, dword [esp + 0x30]
push edi
push 0xffffffffffffffff
push esi
mov edx, ebp
call fcn.0056b0d0
add esp, 0x1c
push 0
push edi
push esi
push 0x30
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
mov eax, dword [esp + 0x14]
test dword [eax], 0x4000000
je 0x590eb5
mov edx, dword [esp + 0x3c]
mov byte [eax + 0x35], 0x89
mov dword [eax + 0x38], edx
jmp 0x5911dd
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x3c]
sete cl
add cl, 0x42
mov byte [eax + 0x35], cl
mov dword [eax + 0x38], edx
jmp 0x5911dd
test eax, 0x10000000
je 0x5911ac
add dword [ebp + 0x48], 1
mov edi, dword [ebp + 0x48]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, ebx
mov dword [esp + 0x50], edi
call fcn.0055cd10
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov byte [esi + 0x35], 3
mov dword [esi + 0x38], edi
mov eax, dword [ecx + 0x18]
cmp eax, 1
mov dword [esp + 0x2c], 0
jle 0x590fcf
sub eax, dword [esp + 0x68]
mov esi, dword [ebp]
sub eax, 1
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [ecx*8 + 0x40]
mov dword [esp + 0x5c], eax
call fcn.00543630
test eax, eax
mov dword [esp + 0x3c], eax
je 0x59135e
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
lea ecx, [eax + 1]
mov word [edx + 2], cx
mov word [edx], cx
lea edi, [edx + 8]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 8]
add ecx, 8
cmp eax, 1
mov dword [esp + 0x40], ecx
jl 0x590fd6
add edx, 0x40
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x14]
add edx, 0x84
mov dword [esp + 0x5c], eax
mov edi, edi
movzx eax, byte [edx]
mov edi, dword [esp + 0x48]
add dword [esp + 0x48], 0x38
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x40]
lea esi, [eax + ecx*8]
mov ecx, 0xe
add edx, 0x50
sub dword [esp + 0x5c], 1
rep movsd dword es:[edi], dword [esi]
jne 0x590fa0
jmp 0x590fd6
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x6c]
and eax, 8
mov dword [esp + 0x5c], eax
jne 0x591008
mov eax, dword [ebp + 0x48]
lea ecx, [eax + 1]
push 0
lea eax, [ecx + 1]
push ecx
mov dword [ebp + 0x48], eax
mov dword [esp + 0x60], eax
push 0
push 0xa
mov eax, ebx
mov dword [esp + 0x64], ecx
call fcn.0055cbe0
add esp, 0x10
mov edx, dword [esp + 0x50]
xor esi, esi
push esi
push edx
push esi
push 7
mov eax, ebx
call fcn.0055cbe0
mov edi, dword [esp + 0x4c]
mov ecx, eax
mov eax, dword [esp + 0x48]
add esp, 0x10
cmp dword [eax + 0x14], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], esi
jle 0x59113d
mov dword [esp + 0x40], esi
lea esp, [esp]
mov eax, dword [eax + 0x1c]
add eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x20]
je 0x59105c
cmp word [eax + 0x10], 0x200
jne 0x59111c
mov edx, dword [eax]
push 0xf0
push 0
push edx
push edi
push ebp
call fcn.00591430
mov esi, eax
add esp, 0x14
test esi, esi
je 0x59111c
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0x34]
mov edx, dword [esp + 0x68]
push 0
push ecx
push edx
lea eax, [esi + 0x30]
push eax
push edi
mov eax, ebp
call fcn.005900e0
add esp, 0x14
cmp word [esp + 0x5c], 0
jne 0x5910ed
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
mov edi, dword [esp + 0x48]
sub edx, 1
cmp edi, edx
jne 0x5910b6
or edi, 0xffffffff
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [edx + 0xc]
push ecx
push 0xffffffffffffffff
push eax
mov eax, ebp
call fcn.0056b280
mov edx, dword [esp + 0x64]
mov ecx, dword [ebx + 0x1c]
push edi
push edx
add ecx, 2
push 0x6b
mov edi, ebx
call fcn.0055cce0
mov edi, dword [esp + 0x58]
add esp, 0x1c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push 0
push eax
push ecx
push 2
mov eax, ebx
call fcn.0055cbe0
add esp, 0x10
cmp byte [esi + 7], 0
je 0x591113
mov dword [esp + 0x2c], 1
push esi
call fcn.00591ed0
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
add dword [esp + 0x40], 0x28
add ecx, 1
cmp ecx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
jl 0x591040
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jle 0x59114e
lea edx, [ecx + ecx*4]
mov ecx, dword [ebx + 4]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
push 0
push eax
push 0
push 1
mov eax, ebx
call fcn.0055cbe0
mov eax, dword [ebx + 0x2c]
add esp, 0x10
test eax, eax
je 0x59117f
mov ecx, dword [esp + 0x30]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x64]
cmp dword [edx + 0x18], 1
jle 0x591196
mov eax, dword [ebp]
push edi
push eax
call fcn.00543400
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x5911dd
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
call fcn.0058fac0
jmp 0x5911dd
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0x6189a0]
mov byte [esi + 0x35], cl
mov dword [esi + 0x38], edi
movzx edx, byte [eax + 0x6189a4]
mov eax, dword [esp + 0x3c]
push edx
push ebx
mov ecx, edi
call fcn.0055cc90
add esp, 8
add eax, 1
mov dword [esi + 0x3c], eax
mov byte [esi + 0x36], 1
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x591201
mov esi, dword [esp + 0x20]
add edx, 4
cmp dword [edx], esi
je 0x591242
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x5911f3
xor eax, eax
xor edx, edx
mov esi, dword [edi + 0x1c]
mov edi, dword [edi + 0x14]
not eax
and dword [esp + 0x70], eax
not edx
and dword [esp + 0x74], edx
test edi, edi
jle 0x591281
jmp 0x591220
test byte [esi + 0x12], 6
jne 0x591277
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0x70]
and ecx, dword [esp + 0x74]
or eax, ecx
je 0x591250
mov eax, dword [esp + 0x64]
mov byte [eax + 7], 1
jmp 0x591277
mov eax, 1
xor edx, edx
call fcn.005e7af0
jmp 0x591205
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x18], 0
mov eax, dword [esi]
je 0x591262
test byte [eax + 2], 1
je 0x591277
mov edx, dword [esp + 0x4c]
push 8
push edx
push eax
push ebp
call fcn.0056ca50
add esp, 0x10
or byte [esi + 0x12], 4
sub edi, 1
add esi, 0x28
test edi, edi
jg 0x591220
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], 0
je 0x59132e
mov ecx, dword [ebx + 0x1c]
mov edx, dword [eax + 0x18]
mov dword [eax + 0x30], ecx
mov esi, dword [ebx + 0x1c]
cmp dword [ebx + 0x20], esi
mov dword [esp + 0x64], edx
jg 0x5912af
mov edi, ebx
call fcn.0055cb60
test eax, eax
jne 0x5912df
mov edx, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x1c], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 7
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x64], cl
mov edx, ebp
call fcn.0056b390
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x1c]
xor edi, edi
cmp dword [ebx + 0x14], edi
jle 0x59132e
test byte [esi + 0x12], 6
jne 0x591323
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and eax, dword [esp + 0x70]
and ecx, dword [esp + 0x74]
or eax, ecx
jne 0x591323
mov edx, dword [esp + 0x4c]
mov eax, dword [esi]
push 8
push edx
push eax
push ebp
call fcn.0056ca50
add esp, 0x10
or byte [esi + 0x12], 4
add edi, 1
add esi, 0x28
cmp edi, dword [ebx + 0x14]
jl 0x5912f4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x59135e
mov dl, byte [ebp + 0x15]
cmp dl, 8
jae 0x59135e
xor eax, eax
lea ecx, [ebp + 0x60]
cmp dword [ecx + 0x10], esi
je 0x59136e
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x591343
movzx ecx, dl
mov dword [ebp + ecx*4 + 0x18], esi
add byte [ebp + 0x15], 1
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov byte [ecx + 8], 1
pop ebx
add esp, 0x50
ret