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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edx, dword [ebp + 0x48c]
mov eax, dword [ebp + 0x488]
cmp eax, edx
je 0x52a42e
lea eax, [edx + edx*2]
mov esi, dword [esp + 0x88]
shl eax, 4
pop edi
lea ecx, [eax + ebp + 0x49c]
mov eax, dword [eax + ebp + 0x4b4]
sub eax, edx
mov edx, dword [ecx + 0x1c]
mov dword [esi], edx
mov ecx, dword [ecx + 0x18]
mov dword [ebp + 0x48c], ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov edx, dword [ebp + 0x18]
xor ebx, ebx
push edx
mov dword [ebp + 0x488], ebx
mov dword [ebp + 0x48c], ebx
call dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x490]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x30], esi
jne 0x52a46a
lea eax, [esp + 0x34]
push eax
push ebp
call fcn.0052a340
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x52a484
mov ecx, dword [ebp + 0x494]
mov edx, dword [ebp + 0x498]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], edx
mov dword [ebp + 0x490], ebx
mov eax, dword [ebp + 0x18]
push eax
call dword [ebp + 0xc]
add esp, 4
dec eax
cmp esi, 2
jae 0x52a4ae
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [ecx], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x6c
ret
cmp esi, 0x111
jbe 0x52a4be
mov dword [esp + 0x30], 0x111
lea edx, [ebp + 0x31738]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
lea edi, [ebx*4]
mov edx, dword [ecx]
mov ecx, eax
sub ecx, edx
mov dword [esp + edi + 0x5c], edx
mov dl, byte [eax]
dec ecx
cmp dl, byte [ecx]
jne 0x52a53d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x52a53d
mov edx, dword [esp + 0x30]
mov esi, 2
cmp edx, esi
jbe 0x52a525
lea edx, [eax + 2]
sub ecx, eax
mov bl, byte [edx]
cmp bl, byte [ecx + edx]
jne 0x52a51e
mov ebx, dword [esp + 0x30]
inc esi
inc edx
cmp esi, ebx
jb 0x52a50d
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov dword [esp + edi + 0x6c], esi
cmp esi, dword [esp + ecx + 0x6c]
jbe 0x52a545
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edi
jmp 0x52a545
mov dword [esp + edi + 0x6c], 0
mov edx, dword [esp + 0x2c]
inc ebx
add edx, 4
cmp ebx, 4
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2c], edx
jl 0x52a4d7
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 0x31730]
mov esi, dword [esp + edx*4 + 0x6c]
cmp esi, ecx
mov dword [esp + 0x4c], esi
jb 0x52a599
mov eax, dword [esp + 0x88]
mov ecx, edx
lea edx, [esi - 1]
push edx
push ebp
mov dword [eax], ecx
call fcn.0052b7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov edi, dword [esp + 0x20]
lea edx, [ebp + 0x30e9c]
cmp edi, ecx
jb 0x52a5d4
mov eax, dword [esp + 0x34]
mov esi, edi
mov ecx, dword [edx + eax*4 - 4]
mov edx, dword [esp + 0x88]
lea eax, [esi - 1]
add ecx, 4
push eax
push ebp
mov dword [edx], ecx
call fcn.0052b7e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x5c]
mov cl, byte [eax]
mov edx, eax
mov byte [esp + 0x80], cl
sub edx, ebx
cmp edi, 2
mov dl, byte [edx - 1]
mov byte [esp + 0x3c], dl
jae 0x52a614
cmp cl, dl
je 0x52a614
cmp esi, 2
jae 0x52a614
mov eax, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x6c
ret
mov esi, dword [ebp + 0x31748]
mov edi, dword [ebp + 0x323a4]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebp + 0x32394]
xor ebx, ebx
mov dword [ebp + 0x4a0], esi
mov bl, byte [eax - 1]
and edi, ecx
mov cl, 8
mov eax, ebx
mov ebx, dword [ebp + 0x323a0]
sub cl, dl
shr eax, cl
mov ecx, dword [esp + 0x84]
and ebx, ecx
mov ecx, edx
shl ebx, cl
mov edx, dword [ebp + 0x323a8]
lea ecx, [ebp + 0x30c9c]
push ecx
add eax, ebx
lea eax, [eax + eax*2]
shl eax, 9
add eax, edx
cmp esi, 7
jb 0x52a695
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
and ecx, 0xff
and edx, 0xff
push ecx
push edx
push eax
call fcn.0052b770
add esp, 0x10
jmp 0x52a6ac
mov ecx, dword [esp + 0x84]
and ecx, 0xff
push ecx
push eax
call fcn.0052b720
add esp, 0xc
mov ecx, dword [ebp + 0x31748]
xor esi, esi
mov edx, ecx
xor ebx, ebx
shl edx, 4
add edx, edi
mov si, word [ebp + edx*2 + 0x323ac]
lea edx, [ebp + edx*2 + 0x323ac]
shr esi, 4
mov esi, dword [ebp + esi*4 + 0x30c9c]
mov dword [ebp + 0x4e8], 0xffffffff
add esi, eax
xor eax, eax
mov dword [ebp + 0x4cc], esi
mov dword [ebp + 0x4d4], ebx
mov ax, word [edx]
xor edx, edx
mov dx, word [ebp + ecx*2 + 0x3252c]
xor eax, 0x7f0
xor edx, 0x7f0
shr eax, 4
shr edx, 4
mov eax, dword [ebp + eax*4 + 0x30c9c]
mov esi, dword [ebp + edx*4 + 0x30c9c]
mov dl, byte [esp + 0x3c]
mov dword [esp + 0x44], eax
add esi, eax
mov al, byte [esp + 0x80]
mov dword [esp + 0x48], esi
cmp dl, al
jne 0x52a75e
push edi
push ecx
push ebp
call fcn.0052b810
mov ecx, dword [ebp + 0x4cc]
add eax, esi
add esp, 0xc
cmp eax, ecx
jae 0x52a75e
mov dword [ebp + 0x4cc], eax
mov dword [ebp + 0x4e8], ebx
mov dword [ebp + 0x4d4], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jb 0x52a76c
mov eax, ecx
cmp eax, 2
mov dword [esp + 0x10], eax
jae 0x52a791
mov edx, dword [esp + 0x88]
mov ecx, dword [ebp + 0x4e8]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 1
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [ebp + 0x4e4], ebx
mov dword [ebp + 0x4bc], ecx
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0x4c0], edx
mov edx, dword [esp + 0x68]
mov dword [ebp + 0x4c4], ecx
lea ecx, [eax + eax*2]
mov dword [ebp + 0x4c8], edx
shl ecx, 4
lea ecx, [ecx + ebp + 0x49c]
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x52a7cc
lea edx, [esp + 0x6c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
cmp esi, 2
jb 0x52a865
mov ecx, dword [ebp + 0x31748]
mov edx, dword [esp + 0x80]
push edi
push ecx
push edx
push ebp
call fcn.0052b850
mov ebx, eax
mov eax, dword [esp + 0x58]
add ebx, eax
mov eax, edi
shl eax, 4
add eax, edi
lea ecx, [esi + esi*2]
shl eax, 4
add esp, 0x10
add eax, esi
shl ecx, 4
lea eax, [ebp + eax*4 + 0x37654]
lea ecx, [ecx + ebp + 0x4b8]
mov edx, dword [eax]
add edx, ebx
cmp edx, dword [ecx - 0x1c]
jae 0x52a859
mov dword [ecx - 0x1c], edx
mov edx, dword [esp + 0x80]
mov dword [ecx - 4], 0
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec esi
sub eax, 4
sub ecx, 0x30
cmp esi, 2
jae 0x52a836
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x30], edx
jb 0x52a7ea
mov eax, dword [ebp + 0x31748]
xor ecx, ecx
mov cx, word [ebp + eax*2 + 0x3252c]
shr ecx, 4
mov eax, dword [ebp + ecx*4 + 0x30c9c]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, 2
inc ecx
mov dword [esp + 0x4c], eax
jae 0x52a8bb
mov ecx, 2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
cmp ecx, eax
ja 0x52a9fa
mov esi, dword [ebp + 0x30e9c]
lea eax, [ebp + 0x30e9c]
xor edx, edx
cmp ecx, esi
mov dword [esp + 0x80], edx
jbe 0x52a8f8
mov esi, dword [eax + 8]
add eax, 8
add edx, 2
cmp ecx, esi
ja 0x52a8e4
mov dword [esp + 0x80], edx
lea eax, [ebp + 0x30e9c]
lea ebx, [eax + edx*4]
mov edx, edi
shl edx, 4
add edx, edi
mov dword [esp + 0x3c], ebx
shl edx, 4
add edx, ecx
lea eax, [ebp + edx*4 + 0x32e0c]
lea edx, [ecx + ecx*2]
shl edx, 4
mov dword [esp + 0x2c], eax
lea edx, [edx + ebp + 0x4b8]
mov eax, dword [esp + 0x2c]
mov edi, dword [ebx + 4]
mov dword [esp + 0x38], edx
mov esi, dword [eax]
mov eax, dword [esp + 0x4c]
add esi, eax
cmp ecx, 5
lea eax, [ecx - 2]
jb 0x52a949
mov eax, 3
cmp edi, 0x80
jae 0x52a95f
shl eax, 7
add eax, edi
add esi, dword [ebp + eax*4 + 0x31b4c]
jmp 0x52a9a9
mov ecx, 0x1ffff
mov edx, edi
sub ecx, edi
xor ebx, ebx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr edx, cl
shl eax, 5
add eax, ecx
mov ecx, edi
and ecx, 0xf
mov bl, byte [edx + ebp + 0x3049c]
lea eax, [ebx + eax*2]
mov ebx, dword [ebp + ecx*4 + 0x3234c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + eax*4 + 0x3174c]
add edx, ebx
mov ebx, dword [esp + 0x3c]
add esi, edx
mov edx, dword [esp + 0x38]
cmp esi, dword [edx - 0x1c]
jae 0x52a9be
xor eax, eax
add edi, 4
mov dword [edx - 0x1c], esi
mov dword [edx - 4], eax
mov dword [edx], edi
mov dword [edx - 0x14], eax
cmp ecx, dword [ebx]
jne 0x52a9e2
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x34]
add eax, 2
add ebx, 8
cmp eax, esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], ebx
je 0x52a9fa
mov esi, dword [esp + 0x2c]
inc ecx
add esi, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
add edx, 0x30
jmp 0x52a929
mov eax, dword [esp + 0x10]
mov esi, 1
cmp eax, esi
mov dword [esp + 0x80], esi
je 0x52b701
mov eax, dword [ebp + 0x18]
push eax
call dword [ebp + 8]
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
push ecx
push ebp
call fcn.0052a340
mov ecx, dword [ebp + 0x31730]
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x54], eax
jae 0x52b6e7
mov ebx, dword [esp + 0x84]
lea edx, [esi + esi*2]
inc ebx
shl edx, 4
mov dword [esp + 0x84], ebx
mov eax, dword [edx + ebp + 0x4b4]
lea ebx, [edx + ebp]
mov edx, dword [edx + ebp + 0x4a4]
test edx, edx
je 0x52aac6
mov ecx, dword [ebx + 0x4a8]
dec eax
test ecx, ecx
je 0x52aab0
mov ecx, dword [ebx + 0x4ac]
mov edi, dword [ebx + 0x4b0]
lea ecx, [ecx + ecx*2]
shl ecx, 4
cmp edi, 4
mov ecx, dword [ecx + ebp + 0x4a0]
jae 0x52aaa0
mov ecx, dword [ecx*4 + 0x64e3b8]
mov ecx, dword [ecx*4 + 0x64e358]
jmp 0x52aad3
mov ecx, dword [ecx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov ecx, dword [ecx*4 + 0x64e358]
jmp 0x52aad3
lea ecx, [eax + eax*2]
shl ecx, 4
mov ecx, dword [ecx + ebp + 0x4a0]
mov ecx, dword [ecx*4 + 0x64e358]
jmp 0x52aad3
lea ecx, [eax + eax*2]
shl ecx, 4
mov ecx, dword [ecx + ebp + 0x4a0]
dec esi
cmp eax, esi
jne 0x52ab02
mov eax, dword [ebx + 0x4b8]
test eax, eax
jne 0x52aaf2
mov edx, dword [ecx*4 + 0x64e3e8]
mov dword [esp + 0x14], edx
jmp 0x52abb3
mov eax, dword [ecx*4 + 0x64e358]
mov dword [esp + 0x14], eax
jmp 0x52abb3
test edx, edx
je 0x52ab25
mov edx, dword [ebx + 0x4a8]
test edx, edx
je 0x52ab25
mov eax, dword [ebx + 0x4ac]
mov edx, dword [ebx + 0x4b0]
mov ecx, dword [ecx*4 + 0x64e3b8]
jmp 0x52ab40
mov edx, dword [ebx + 0x4b8]
cmp edx, 4
jae 0x52ab39
mov ecx, dword [ecx*4 + 0x64e3b8]
jmp 0x52ab40
mov ecx, dword [ecx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], ecx
shl eax, 4
cmp edx, 4
lea ecx, [eax + ebp + 0x49c]
mov dword [esp + 0x4c], ecx
jae 0x52ab95
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [esp + 0x5c], eax
mov eax, 1
cmp edx, eax
jb 0x52ab82
lea esi, [ecx + 0x20]
lea eax, [edx + 1]
mov ecx, edx
lea edi, [esp + 0x60]
cmp eax, 4
rep movsd dword es:[edi], dword [esi]
jae 0x52abb3
mov ecx, dword [esp + 0x4c]
lea esi, [ecx + eax*4 + 0x20]
mov ecx, 4
lea edi, [esp + eax*4 + 0x5c]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x52abb3
add edx, 0xfffffffc
lea eax, [ecx + 0x20]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x4a0], ecx
mov ecx, dword [esp + 0x68]
mov dword [ebx + 0x4bc], edi
mov dword [ebx + 0x4c0], edx
mov edx, dword [ebx + 0x49c]
mov dword [ebx + 0x4c4], eax
mov dword [ebx + 0x4c8], ecx
mov eax, dword [ebp + 0x18]
push eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
call dword [ebp + 0xc]
mov esi, eax
add esp, 4
dec esi
mov edx, esi
mov dword [esp + 0x24], esi
mov cl, byte [esi]
sub edx, edi
mov edi, dword [ebp + 0x323a4]
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x84]
lea eax, [edx - 1]
and edi, ecx
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x44], eax
mov al, byte [eax]
add ecx, edi
mov byte [esp + 0x38], al
xor edx, edx
mov dword [esp + 0x3c], edi
mov dx, word [ebp + ecx*2 + 0x323ac]
lea eax, [ebp + ecx*2 + 0x323ac]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
shr edx, 4
mov eax, dword [ebp + edx*4 + 0x30c9c]
mov edx, dword [ebp + 0x32394]
add eax, ecx
mov cl, 8
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [esi - 1]
sub cl, dl
shr eax, cl
mov ecx, dword [ebp + 0x323a0]
and ecx, dword [esp + 0x84]
mov dword [esp + 0x4c], ecx
mov ecx, edx
mov edx, dword [esp + 0x4c]
shl edx, cl
mov ecx, dword [esp + 0x14]
add eax, edx
mov edx, dword [ebp + 0x323a8]
lea eax, [eax + eax*2]
shl eax, 9
add eax, edx
cmp ecx, 7
lea ecx, [ebp + 0x30c9c]
push ecx
jb 0x52accf
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
and ecx, 0xff
and edx, 0xff
push ecx
push edx
push eax
call fcn.0052b770
add esp, 0x10
jmp 0x52ace3
mov ecx, dword [esp + 0x2c]
and ecx, 0xff
push ecx
push eax
call fcn.0052b720
add esp, 0xc
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [ebx + 0x4cc]
cmp ecx, eax
mov dword [esp + 0x18], ecx
jae 0x52ad26
mov edx, dword [esp + 0x80]
mov dword [ebx + 0x4cc], ecx
mov dword [ebx + 0x4e4], edx
mov dword [ebx + 0x4e8], 0xffffffff
mov dword [ebx + 0x4d4], 0
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x48]
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ax, word [ecx]
mov ecx, dword [esp + 0x14]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30c9c]
add eax, edx
xor edx, edx
mov dx, word [ebp + ecx*2 + 0x3252c]
mov dword [esp + 0x58], eax
xor edx, 0x7f0
shr edx, 4
mov ecx, dword [ebp + edx*4 + 0x30c9c]
mov dl, byte [esp + 0x38]
add ecx, eax
mov al, byte [esp + 0x28]
cmp dl, al
mov dword [esp + 0x40], ecx
jne 0x52addb
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx + 0x4e4]
cmp ecx, eax
jae 0x52ad93
mov eax, dword [ebx + 0x4e8]
test eax, eax
je 0x52addb
mov ecx, dword [esp + 0x14]
push edi
push ecx
push ebp
call fcn.0052b810
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x4cc]
add eax, edx
add esp, 0xc
cmp eax, ecx
ja 0x52addb
mov edx, dword [esp + 0x80]
mov dword [ebx + 0x4cc], eax
xor eax, eax
mov dword [ebx + 0x4e4], edx
mov dword [ebx + 0x4e8], eax
mov dword [ebx + 0x4d4], eax
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov eax, 0xfff
sub eax, edi
cmp eax, ecx
jae 0x52adf7
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 2
mov dword [esp + 0x2c], ecx
jb 0x52b6c8
mov edi, dword [ebp + 0x31730]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jbe 0x52ae16
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x52af54
mov cl, byte [esp + 0x28]
mov dl, byte [esp + 0x38]
cmp dl, cl
je 0x52af54
inc edi
cmp edi, eax
jbe 0x52ae39
mov edi, eax
mov ecx, 1
cmp edi, ecx
jbe 0x52ae58
mov edx, dword [esp + 0x44]
lea eax, [esi + 1]
sub edx, esi
mov bl, byte [eax]
cmp bl, byte [edx + eax]
jne 0x52ae58
inc ecx
inc eax
cmp ecx, edi
jb 0x52ae4b
lea edx, [ecx - 1]
cmp edx, 2
mov dword [esp + 0x44], edx
jb 0x52af54
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 0x323a4]
xor ebx, ebx
mov ecx, dword [eax*4 + 0x64e358]
mov eax, dword [esp + 0x84]
inc eax
mov dword [esp + 0x48], ecx
and eax, edi
mov edi, ecx
shl edi, 4
add edi, eax
mov bx, word [ebp + edi*2 + 0x323ac]
xor edi, edi
mov di, word [ebp + ecx*2 + 0x3252c]
xor ebx, 0x7f0
shr ebx, 4
xor edi, 0x7f0
mov ebx, dword [ebp + ebx*4 + 0x30c9c]
shr edi, 4
add ebx, dword [ebp + edi*4 + 0x30c9c]
mov edi, dword [esp + 0x18]
add ebx, edi
mov edi, dword [esp + 0x80]
lea edi, [edx + edi + 1]
cmp dword [esp + 0x10], edi
jae 0x52af10
mov edx, dword [esp + 0x10]
lea ecx, [edx + edx*2]
shl ecx, 4
lea ecx, [ecx + ebp + 0x49c]
mov dword [esp + 0x4c], ecx
mov ecx, edi
sub ecx, edx
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
add edx, 0x30
dec ecx
mov dword [edx], 0x40000000
jne 0x52aefc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push 0
push ebp
call fcn.0052b930
lea edx, [edi + edi*2]
add eax, ebx
shl edx, 4
add esp, 0x14
lea ecx, [edx + ebp + 0x49c]
mov edx, dword [edx + ebp + 0x49c]
cmp eax, edx
jae 0x52af54
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
inc eax
mov dword [ecx + 8], 1
mov dword [ecx + 0x18], eax
xor eax, eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0xc], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x18], 0
jmp 0x52af6a
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + ecx*4 + 0x5c]
mov cl, byte [esi]
sub eax, edi
dec eax
mov dword [esp + 0x48], eax
cmp cl, byte [eax]
jne 0x52b285
mov cl, byte [esi + 1]
mov bl, byte [eax + 1]
cmp cl, bl
jne 0x52b285
mov ecx, dword [esp + 0x2c]
mov ebx, 2
cmp ecx, ebx
jbe 0x52afbc
mov edi, eax
lea ecx, [esi + 2]
sub edi, esi
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x52afbc
mov eax, dword [esp + 0x2c]
inc ebx
inc ecx
cmp ebx, eax
jb 0x52afab
mov ecx, dword [esp + 0x80]
lea edi, [ebx + ecx]
cmp edx, edi
jae 0x52afed
lea eax, [edx + edx*2]
shl eax, 4
lea ecx, [eax + ebp + 0x49c]
mov eax, edi
sub eax, edx
add edx, eax
mov dword [esp + 0x10], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x52afe1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push ebp
mov esi, ebx
call fcn.0052b850
mov ecx, dword [esp + 0x4c]
mov edx, eax
mov eax, dword [esp + 0x50]
add esp, 0x10
add edx, eax
mov eax, ecx
shl eax, 4
add eax, ecx
mov dword [esp + 0x50], edx
shl eax, 4
mov dword [esp + 0x4c], eax
add eax, ebx
mov dword [esp + 0x44], eax
lea ecx, [ebp + eax*4 + 0x37654]
lea eax, [edi + edi*2]
shl eax, 4
mov dword [esp + 0x44], ecx
mov edi, ecx
lea eax, [eax + ebp + 0x4b8]
mov ecx, edx
add ecx, dword [edi]
cmp ecx, dword [eax - 0x1c]
jae 0x52b068
mov dword [eax - 0x1c], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax - 0x14], 0
dec ebx
sub edi, 4
sub eax, 0x30
cmp ebx, 2
jae 0x52b045
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], edi
test eax, eax
jne 0x52b087
lea edx, [esi + 1]
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 0x31730]
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
add ecx, eax
cmp ecx, edx
jbe 0x52b09c
mov ecx, edx
cmp eax, ecx
jae 0x52b0ba
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
sub edx, ebx
lea edi, [eax + ebx]
mov bl, byte [edi]
cmp bl, byte [edx + edi]
jne 0x52b0ba
inc eax
inc edi
cmp eax, ecx
jb 0x52b0ad
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
cmp eax, 2
mov dword [esp + 0x44], eax
jb 0x52b285
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
xor ecx, ecx
lea edi, [esi + eax]
lea eax, [ebp + 0x30c9c]
push eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [edx*4 + 0x64e3b8]
mov edx, dword [ebp + 0x323a4]
mov cl, byte [esi + eax]
mov eax, dword [esp + 0x28]
push ecx
xor ecx, ecx
mov cl, byte [esi + eax]
and edi, edx
mov edx, dword [ebp + 0x32394]
push ecx
xor ecx, ecx
mov cl, byte [eax + esi - 1]
mov eax, ecx
mov cl, 8
sub cl, dl
mov edx, dword [ebp + 0x323a0]
shr eax, cl
mov ecx, dword [esp + 0x90]
add ecx, esi
and edx, ecx
mov ecx, dword [ebp + 0x32394]
shl edx, cl
mov ecx, dword [ebp + 0x323a8]
add eax, edx
lea edx, [eax + eax*2]
shl edx, 9
add edx, ecx
push edx
call fcn.0052b770
mov ecx, ebx
xor edx, edx
shl ecx, 4
add ecx, edi
add esp, 0x10
mov dx, word [ebp + ecx*2 + 0x323ac]
mov ecx, dword [esp + 0x4c]
shr edx, 4
add ecx, esi
mov edi, dword [ebp + edx*4 + 0x30c9c]
mov edx, dword [ebp + ecx*4 + 0x37654]
mov ecx, dword [esp + 0x50]
add eax, edi
mov edi, dword [ebp + 0x323a4]
add eax, edx
mov edx, dword [ebx*4 + 0x64e358]
add eax, ecx
mov ecx, dword [esp + 0x84]
xor ebx, ebx
lea ecx, [esi + ecx + 1]
and ecx, edi
mov edi, edx
shl edi, 4
add edi, ecx
mov bx, word [ebp + edi*2 + 0x323ac]
xor edi, edi
mov di, word [ebp + edx*2 + 0x3252c]
xor ebx, 0x7f0
shr ebx, 4
mov dword [esp + 0x50], ebx
mov ebx, edi
mov edi, dword [esp + 0x50]
xor ebx, 0x7f0
shr ebx, 4
mov edi, dword [ebp + edi*4 + 0x30c9c]
add edi, dword [ebp + ebx*4 + 0x30c9c]
mov ebx, dword [esp + 0x80]
add edi, eax
mov eax, dword [esp + 0x44]
add eax, esi
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x4c], ebx
jae 0x52b22d
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + ebp + 0x49c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
add eax, 0x30
dec ebx
mov dword [eax], 0x40000000
jne 0x52b21d
mov ebx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
push 0
push ebp
call fcn.0052b930
lea edx, [ebx + ebx*2]
add eax, edi
shl edx, 4
add esp, 0x14
lea ecx, [edx + ebp + 0x49c]
mov edx, dword [edx + ebp + 0x49c]
cmp eax, edx
jae 0x52b285
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x1c], 0
lea edx, [esi + eax + 1]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x18], edx
mov edx, 1
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jb 0x52af66
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
jbe 0x52b2cf
xor eax, eax
lea edx, [ebp + 0x30e9c]
mov dword [esp + 0x20], eax
mov esi, ecx
cmp ecx, dword [edx]
jbe 0x52b2c1
add eax, 2
mov dword [esp + 0x20], eax
cmp ecx, dword [edx + eax*4]
ja 0x52b2b5
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x30]
cmp esi, edi
jb 0x52b6c8
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x58]
xor ecx, ecx
mov cx, word [ebp + edx*2 + 0x3252c]
shr ecx, 4
mov eax, dword [ebp + ecx*4 + 0x30c9c]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x58], eax
lea eax, [esi + ebx]
cmp ecx, eax
jae 0x52b330
lea edx, [ecx + ecx*2]
sub eax, ecx
shl edx, 4
add ecx, eax
lea edx, [edx + ebp + 0x49c]
mov dword [esp + 0x10], ecx
add edx, 0x30
dec eax
mov dword [edx], 0x40000000
jne 0x52b324
mov edx, dword [ebp + 0x30e9c]
lea eax, [ebp + 0x30e9c]
xor ecx, ecx
cmp edi, edx
mov dword [esp + 0x18], ecx
jbe 0x52b357
mov edx, dword [eax + 8]
add eax, 8
add ecx, 2
cmp edi, edx
ja 0x52b346
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
lea esi, [ebp + 0x30e9c]
mov ecx, 0x1ffff
xor edx, edx
mov eax, dword [esi + eax*4 + 4]
sub ecx, eax
mov edi, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
mov dword [esp + 0x40], eax
add ecx, 6
shr edi, cl
mov dl, byte [edi + ebp + 0x3049c]
lea ecx, [edx + ecx*2]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
lea edi, [edx + 1]
lea edx, [esi + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [esp + 0x30]
shl edx, 4
add edx, ecx
add ecx, ebx
lea ecx, [ecx + ecx*2]
lea edx, [ebp + edx*4 + 0x32e0c]
shl ecx, 4
mov dword [esp + 0x3c], edx
lea edx, [ecx + ebp + 0x4b8]
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x58]
add edx, ecx
lea ecx, [edi - 1]
cmp ecx, 5
jae 0x52b3ec
add ecx, 0xfffffffe
jmp 0x52b3f1
mov ecx, 3
cmp eax, 0x80
jae 0x52b406
shl ecx, 7
add ecx, eax
add edx, dword [ebp + ecx*4 + 0x31b4c]
jmp 0x52b424
mov esi, dword [esp + 0x4c]
shl ecx, 6
add ecx, esi
mov esi, eax
and esi, 0xf
mov ecx, dword [ebp + ecx*4 + 0x3174c]
add ecx, dword [ebp + esi*4 + 0x3234c]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], edx
cmp edx, dword [ecx - 0x1c]
jae 0x52b443
mov dword [ecx - 0x1c], edx
lea edx, [eax + 4]
mov dword [ecx - 4], ebx
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
mov edx, dword [esp + 0x2c]
lea ecx, [edi - 1]
cmp ecx, dword [edx]
jne 0x52b6ac
mov edx, dword [esp + 0x24]
mov esi, edi
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0x31730]
add eax, edi
dec ecx
cmp eax, dword [esp + 0x1c]
jbe 0x52b46f
mov eax, dword [esp + 0x1c]
cmp edi, eax
jae 0x52b496
sub edx, ecx
lea ebx, [ecx + edi]
mov dword [esp + 0x54], edx
jmp 0x52b482
mov edx, dword [esp + 0x54]
mov dl, byte [edx + ebx]
cmp dl, byte [ebx]
jne 0x52b48f
inc esi
inc ebx
cmp esi, eax
jb 0x52b47e
mov ebx, dword [esp + 0x80]
or edx, 0xffffffff
lea eax, [edi - 1]
sub edx, eax
add esi, edx
cmp esi, 2
mov dword [esp + 0x44], esi
jb 0x52b658
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
mov ebx, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
lea eax, [ebp + 0x30c9c]
push eax
xor eax, eax
mov al, byte [ecx + edi - 1]
xor ecx, ecx
push eax
mov eax, dword [esp + 0x2c]
lea esi, [edx + edi - 1]
mov edx, dword [ebp + 0x323a4]
mov cl, byte [eax + edi - 1]
mov dword [esp + 0x5c], esi
push ecx
xor ecx, ecx
mov cl, byte [eax + edi - 2]
and esi, edx
mov edx, dword [ebp + 0x32394]
mov eax, ecx
mov cl, 8
sub cl, dl
mov edx, dword [ebp + 0x323a0]
shr eax, cl
mov ecx, dword [esp + 0x60]
and edx, ecx
mov ecx, dword [ebp + 0x32394]
shl edx, cl
mov ecx, dword [ebp + 0x323a8]
add eax, edx
lea eax, [eax + eax*2]
shl eax, 9
add eax, ecx
push eax
call fcn.0052b770
mov ecx, ebx
xor edx, edx
shl ecx, 4
add ecx, esi
add esp, 0x10
mov dx, word [ebp + ecx*2 + 0x323ac]
shr edx, 4
mov ecx, dword [ebp + edx*4 + 0x30c9c]
mov edx, dword [ebx*4 + 0x64e358]
add eax, ecx
mov ecx, dword [esp + 0x48]
add eax, ecx
lea ecx, [esi + 1]
mov esi, dword [ebp + 0x323a4]
xor ebx, ebx
and ecx, esi
mov esi, edx
shl esi, 4
add esi, ecx
mov bx, word [ebp + esi*2 + 0x323ac]
xor esi, esi
mov si, word [ebp + edx*2 + 0x3252c]
xor ebx, 0x7f0
shr ebx, 4
mov dword [esp + 0x54], ebx
mov ebx, esi
mov esi, dword [esp + 0x54]
xor ebx, 0x7f0
shr ebx, 4
mov esi, dword [ebp + esi*4 + 0x30c9c]
add esi, dword [ebp + ebx*4 + 0x30c9c]
mov ebx, dword [esp + 0x80]
add esi, eax
mov eax, dword [esp + 0x44]
lea eax, [eax + edi - 1]
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x50], ebx
jae 0x52b5f5
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + ebp + 0x49c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
add eax, 0x30
dec ebx
mov dword [eax], 0x40000000
jne 0x52b5e5
mov ebx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
push 0
push ebp
call fcn.0052b930
lea edx, [ebx + ebx*2]
add eax, esi
shl edx, 4
add esp, 0x14
lea ecx, [edx + ebp + 0x49c]
mov edx, dword [edx + ebp + 0x49c]
cmp eax, edx
jae 0x52b651
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x40]
mov dword [ecx], eax
add edx, 4
lea eax, [edi + ebx]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], eax
mov eax, 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edx
jmp 0x52b658
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 2
add edx, 8
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
je 0x52b6c8
mov eax, edx
mov eax, dword [eax + 4]
cmp eax, 0x80
mov dword [esp + 0x40], eax
jb 0x52b6ac
mov ecx, 0x1ffff
mov esi, eax
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr esi, cl
xor edx, edx
mov dl, byte [esi + ebp + 0x3049c]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add esi, 4
add edx, 0x30
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edx
inc edi
jmp 0x52b3d3
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
mov esi, eax
jne 0x52aa12
jmp 0x52b701
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x494], eax
mov dword [ebp + 0x498], ecx
mov dword [ebp + 0x490], 1
mov edx, dword [esp + 0x88]
push esi
push edx
push ebp
call fcn.0052b970
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret