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

Disassembly:
sub esp, 0x84
mov eax, dword [0x732480]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0xa4]
push edi
push dword [ebx + 0x58]
mov dword [esp + 0x40], ebx
push 0
push dword [ebx + 0x5c]
call fcn.005555a0
mov ecx, dword [esp + 0xb0]
add esp, 0xc
cmp ecx, 3
ja case.default.0x53b41d
jmp dword [ecx*4 + 0x53c184]
mov eax, 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], eax
jmp 0x53b445
xor eax, eax
mov dword [esp + 0x68], 1
mov dword [esp + 0x74], 1
mov edi, 0xb
mov dword [esp + 0x6c], 3
mov dword [esp + 0x78], 3
jmp 0x53b481
xor eax, eax
mov dword [esp + 0x68], 1
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 5
mov dword [esp + 0x6c], 2
lea edi, [eax + 3]
mov edx, dword [ebx]
shl esi, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], 4
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x80], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], edx
cmp ecx, 2
je 0x53b50d
cmp ecx, 3
je 0x53b50d
test eax, eax
jne 0x53b4f1
push dword [ebx + 0x30]
lea eax, [esp + 0x50]
push 0xd
push esi
push edi
push eax
call fcn.0053c2e0
add esp, 0x14
cmp dword [esp + 0xa4], 4
jne 0x53b505
push esi
push edi
push dword [ebx + 0x30]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
add esp, 0x14
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
add esi, 4
cmp ebp, dword [esp + 0xa0]
jae 0x53c0aa
nop dword [eax]
movzx ecx, word [ebp]
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
lea eax, [ecx - 3]
cmp eax, 0x9e
ja case.0x53b547.4
movzx eax, byte [eax + 0x53c1d8]
jmp dword [eax*4 + 0x53c194]
test byte [esp + 0xb0], 1
je 0x53b595
mov eax, dword [ebx + 0x24]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x1b], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x1b]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b595
or cl, ch
mov dword [esp + 0x24], 1
mov byte [eax], cl
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
add ebp, 2
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa4]
cmp ecx, 2
je 0x53bf8b
cmp ecx, 3
je 0x53bf8b
xor ebx, ebx
test edx, edx
jle 0x53bf8e
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x53bf5f
nop
push dword [esp + ebx*4 + 0x34]
lea eax, [esp + 0x50]
push 0xd
push esi
push edi
push eax
call fcn.0053c2e0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
cmp ecx, 4
jne 0x53b60d
push esi
push edi
push dword [esp + ebx*4 + 0x3c]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
inc ebx
add esi, 4
cmp ebx, ebp
jl 0x53b5d0
mov ebp, dword [esp + 0x1c]
jmp 0x53bf8e
test byte [esp + 0xb0], 1
je 0x53b6b2
cmp dword [ebx + 0x74], edx
je 0x53b66e
mov eax, dword [ebx + 0x24]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x1b], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x1b]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b66e
or cl, ch
mov dword [esp + 0x24], 1
mov byte [eax], cl
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x53b6b2
sar eax, 2
mov ecx, eax
mov byte [esp + 0x1b], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x1b]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b6b2
or cl, ch
mov byte [eax], cl
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x40]
mov dword [esp + ecx*4 + 0x44], eax
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jmp 0x53b6b6
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x53b703
sar ecx, 2
mov dh, 1
mov dword [esp + 0x2c], ecx
and ecx, 7
shl dh, cl
mov ecx, dword [esp + 0x2c]
sar ecx, 3
add ecx, dword [ebx + 0x5c]
mov byte [esp + 0x13], dh
test byte [ecx], dh
mov edx, dword [esp + 0x20]
jne 0x53b703
mov al, byte [ecx]
or al, byte [esp + 0x13]
mov byte [ecx], al
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], eax
add ebp, 4
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x1c], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
sar eax, 1
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x53b77c
sar eax, 2
mov dl, 1
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
je 0x53b751
mov ecx, dword [esp + 0x2c]
xor edx, edx
jmp 0x53b764
or cl, dl
mov edx, 1
mov byte [eax], cl
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x1c], eax
mov eax, ebp
mov dword [esp + 0x20], edx
sub eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, 2
sar eax, 1
mov eax, dword [ecx + eax*4]
lea ebp, [ebp + eax*2]
add ebp, 4
jmp 0x53b598
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
mov dl, 1
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
je 0x53b7bb
xor edx, edx
add ebp, 4
mov dword [esp + 0x20], edx
jmp 0x53b598
or cl, dl
mov edx, 1
mov byte [eax], cl
add ebp, 4
mov dword [esp + 0x20], edx
jmp 0x53b598
movzx ecx, word [ebp + 4]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x13], 1
lea eax, [eax + ecx*8]
mov dword [esp + 0x84], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b829
or cl, ch
mov dword [esp + 0x28], 2
mov byte [eax], cl
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x53b86e
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b86e
or cl, ch
mov byte [eax], cl
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
mov dword [esp + ecx*4 + 0x84], eax
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + eax], dl
jne 0x53b8c4
mov eax, dword [ebx + 0x20]
mov byte [esp + 0x13], 1
lea eax, [eax + ecx*4]
mov dword [esp + 0x34], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53b8c4
or cl, ch
mov edx, 1
mov byte [eax], cl
add ebp, 6
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [esp + 0x14]
add ebp, 6
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
movzx ecx, word [ebp + 4]
mov dl, 1
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x30], ecx
lea eax, [eax + ecx*8]
mov dword [esp + 0x84], eax
sar eax, 2
mov ecx, eax
sar eax, 3
and ecx, 7
shl dl, cl
mov ecx, dword [ebx + 0x5c]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov cl, byte [eax]
test dl, cl
je 0x53b90d
mov edx, dword [esp + 0x28]
jmp 0x53b93a
or cl, dl
mov edx, 2
mov byte [eax], cl
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x53b98e
sar eax, 2
mov bh, 1
mov ecx, eax
sar eax, 3
and ecx, 7
shl bh, cl
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov byte [esp + 0x1b], bh
test byte [eax], bh
mov ebx, dword [esp + 0x3c]
je 0x53b968
mov dword [esp + 0x1c], ecx
jmp 0x53b98e
mov cl, byte [eax]
or cl, byte [esp + 0x1b]
mov byte [eax], cl
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + edx*4 + 0x84], eax
inc edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
mov dl, 1
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [esp + 0x1c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
je 0x53b9c8
xor edx, edx
mov dword [esp + 0x2c], 1
lea eax, [esp + 0x34]
jmp 0x53b9e4
or cl, dl
mov dword [esp + 0x2c], 2
mov byte [eax], cl
mov edx, 1
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x20]
mov bl, 1
mov dword [esp + 0x20], edx
lea eax, [eax + ecx*4]
mov dword [esp + 0x30], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [esp + 0x1c]
and ecx, 7
shl bl, cl
mov cl, byte [eax]
test bl, cl
je 0x53ba23
mov eax, dword [esp + 0x14]
add ebp, 6
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov edx, dword [esp + 0x2c]
or cl, bl
mov byte [eax], cl
add ebp, 6
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x53b5a0
movzx eax, word [ebp + 2]
movzx eax, word [ebp + eax*2]
cmp eax, 0x7a
je 0x53ba60
cmp eax, 0x7b
jne 0x53bab1
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov byte [esp + 0x13], 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bab1
or cl, ch
mov edx, 1
mov byte [eax], cl
add ebp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [esp + 0x14]
add ebp, 4
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bb0c
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bb0c
or cl, ch
mov edx, 1
mov byte [eax], cl
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
jmp 0x53bb10
mov eax, dword [esp + 0x14]
add ebp, 4
cmp dword [ebx + 0x124], 0
mov dword [esp + 0x1c], ebp
je 0x53b5a0
mov ax, word [ebp - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
jne 0x53b59c
jmp 0x53b595
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bb9d
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bb9d
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x53bba1
mov eax, dword [esp + 0x14]
add ebp, 4
cmp dword [ebx + 0x124], 0
mov dword [esp + 0x1c], ebp
je 0x53b5a0
mov ax, word [ebp - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
mov eax, dword [esp + 0x14]
jne 0x53b5a0
add ebp, 2
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bc39
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bc39
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x53bc3d
mov eax, dword [esp + 0x14]
add ebp, 6
cmp dword [ebx + 0x124], 0
mov dword [esp + 0x1c], ebp
je 0x53b5a0
mov ax, word [ebp - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
mov eax, dword [esp + 0x14]
jne 0x53b5a0
add ebp, 2
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bcd0
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bcd0
or cl, ch
mov edx, 1
mov byte [eax], cl
add ebp, 2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [esp + 0x14]
add ebp, 2
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bcd0
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bcd0
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
add ebp, 2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x53bab1
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bab1
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
add ebp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
cmp ecx, 0x70
jne 0x53bdbf
movzx eax, word [ebp + 2]
mov dword [esp + 0x1c], eax
jmp 0x53bdc7
mov dword [esp + 0x1c], 0x11
mov eax, dword [ebx + 0xc]
mov ecx, ebp
sub ecx, dword [ebx + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x53be6b
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
lea eax, [eax*2]
add eax, ebp
push eax
call fcn.00543680
add esp, 4
sub eax, 1
je 0x53be66
sub eax, 1
jne 0x53be55
mov eax, dword [esp + 0x2c]
mov dl, 1
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [ebx + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
jne 0x53be55
or cl, dl
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ebp, [ebp + eax*2]
jmp 0x53b598
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ebp, [ebp + eax*2]
jmp 0x53b598
mov edx, 1
mov eax, dword [esp + 0x1c]
lea ebp, [ebp + eax*2]
jmp 0x53b598
test byte [esp + 0xb0], 1
je 0x53bebf
mov eax, dword [ebx + 0x40]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bebf
or cl, ch
mov dword [esp + 0x24], 1
mov byte [eax], cl
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x53bf01
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x53bf01
or cl, ch
mov edx, 1
mov byte [eax], cl
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
movzx eax, word [ebp + 2]
lea ebp, [ebp + eax*2]
add ebp, 6
jmp 0x53b598
mov eax, dword [ebx + 0x44]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [ebx + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test cl, ch
jne 0x53bcd0
or ch, cl
mov edx, 1
mov byte [eax], ch
add ebp, 2
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jmp 0x53b5a0
xor ebx, ebx
push esi
push edi
push dword [esp + ebx*4 + 0x3c]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
inc ebx
add esp, 0x14
add esi, 4
cmp ebx, ebp
jl 0x53bf61
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
jmp 0x53bf8e
lea esi, [esi + edx*4]
cmp ecx, 1
je 0x53c040
cmp ecx, 3
je 0x53c040
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jbe 0x53c050
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x14], ebx
jne 0x53c011
nop word [eax + eax]
push dword [esp + ebx*4 + 0x84]
lea eax, [esp + 0x50]
push 0xd
push esi
push edi
push eax
call fcn.0053c2e0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
cmp ecx, 4
jne 0x53c003
push esi
push edi
push dword [esp + ebx*4 + 0x8c]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
mov ecx, dword [esp + 0xb8]
add esp, 0x14
inc ebx
add esi, 4
cmp ebx, ebp
jl 0x53bfc0
mov ebp, dword [esp + 0x1c]
jmp 0x53c050
xor ebx, ebx
push esi
push edi
push dword [esp + ebx*4 + 0x8c]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
inc ebx
add esp, 0x14
add esi, 4
cmp ebx, ebp
jl 0x53c013
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
jmp 0x53c050
mov eax, dword [esp + 0x28]
lea esi, [esi + eax*4]
cmp ecx, 1
je 0x53c164
cmp ecx, 4
je 0x53c164
mov eax, dword [esp + 0x24]
xor ebx, ebx
test eax, eax
je 0x53c091
cmp dword [esp + 0x14], ebx
jne 0x53c134
mov ebp, eax
nop
push dword [esp + ebx*4 + 0x44]
lea eax, [esp + 0x50]
push 0xd
push esi
push edi
push eax
call fcn.0053c2e0
inc ebx
add esp, 0x14
add esi, 4
cmp ebx, ebp
jl 0x53c070
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
cmp ebp, dword [esp + 0xa0]
jb 0x53b520
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x80]
mov ebp, 3
mov ecx, ebp
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0x50]
cmp eax, 0xffffffff
je 0x53c10a
mov edi, dword [esp + esi*4 + 0x68]
or eax, 0x80
mov ebx, dword [esp + esi*4 + 0x74]
push 0
push edi
push dword [esp + esi*4 + 0x64]
push eax
push 0x20
push edx
call fcn.0054b290
lea eax, [ebx - 4]
add esp, 0x18
cmp eax, 5
ja 0x53c105
push 0
push ebx
push 0
push edi
push 0x20
push dword [esp + 0x38]
call fcn.0054b290
add esp, 0x18
mov ecx, 3
lea eax, [esi + 1]
cdq
idiv ecx
mov esi, edx
mov edx, dword [esp + 0x24]
sub ebp, 1
jne 0x53c0c0
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00553392
add esp, 0x84
ret
xor ebx, ebx
test eax, eax
jle 0x53c091
mov ebp, dword [esp + 0x24]
push esi
push edi
push dword [esp + ebx*4 + 0x4c]
lea eax, [esp + 0x58]
push 0xd
push eax
call fcn.0053c2e0
inc ebx
add esp, 0x14
add esi, 4
cmp ebx, ebp
jl 0x53c142
jmp 0x53c08d
mov eax, dword [esp + 0x24]
lea esi, [esi + eax*4]
jmp 0x53c091
push ebp
push ebx
call fcn.00547070
add esp, 8
mov ebp, eax
jmp 0x53c095