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

Disassembly:
sub esp, 0x70
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov al, byte [ebp + 0x2c]
mov ebx, dword [ebp]
movzx edx, al
mov dword [esp + 0x50], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ebx
mov byte [esp + 0xd], al
mov dword [esp + 0x28], edx
cmp edx, 1
ja 0x5aa4cb
mov edi, 1
jmp 0x5aa4db
cmp edx, 2
mov edi, 0xa
mov eax, 5
cmove edi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], edi
test eax, eax
je 0x5aa4f5
cmp word [esp + 0x84], 0
je 0x5aa4f5
mov ecx, dword [eax]
jmp 0x5aa4f7
xor ecx, ecx
lea eax, [edx*4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], eax
add eax, 0x20
imul eax, edi
add eax, ecx
add eax, eax
cdq
push edx
push eax
push dword [ebx]
call fcn.0054aba0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x34], edx
test edx, edx
jne 0x5aa531
pop edi
pop ebp
lea eax, [edx + 7]
pop ebx
add esp, 0x70
ret
mov eax, edi
xorps xmm0, xmm0
shl eax, 5
mov ebx, edx
push esi
lea esi, [eax + edx]
mov dword [esp + 0x20], ebx
movups xmmword [esi], xmm0
lea ecx, [eax + esi]
mov dword [esp + 0x28], esi
lea eax, [edi + edi]
add edx, 0x18
mov edi, dword [esp + 0x60]
movups xmmword [esi + 0x10], xmm0
nop dword [eax + eax]
mov dword [edx], ecx
lea edx, [edx + 0x20]
dec eax
add ecx, edi
test eax, eax
jg 0x5aa560
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5aa58b
lea eax, [edx + edx]
mov dword [esp + 0x68], ecx
push eax
push 0
push ecx
call fcn.0042d620
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x64]
movzx eax, word [eax + 0x9c]
cmp ax, 0x30
jl 0x5aa5a1
mov eax, 0x30
mov cl, byte [esp + 0x11]
mov word [esi + 0x10], ax
mov eax, 1
mov dword [esp + 0x5c], eax
test edx, edx
je 0x5aa5c9
movzx eax, dl
or edx, 0xffffffff
test cl, cl
cmovne eax, edx
mov byte [esi + 0x16], al
mov eax, 1
xor edi, edi
mov dword [esp + 0x34], edi
test cl, cl
je 0x5aacb4
mov edx, dword [esp + 0x2c]
nop dword [eax + eax]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x5aab77
add esi, 0x10
mov dword [esp + 0x1c], esi
mov edx, dword [ebp + 0x40]
mov dword [esp + 0x24], edx
test edx, edx
je 0x5aab57
mov ebx, dword [esi - 0x10]
mov ecx, ebx
mov ebp, dword [esi - 0xc]
not ecx
and ecx, dword [edx]
mov eax, ebp
not eax
mov dword [esp + 0x3c], ebx
and eax, dword [edx + 4]
or ecx, eax
mov dword [esp + 0x40], ebp
jne 0x5aabf4
mov ecx, ebx
mov eax, ebp
and ecx, dword [edx + 8]
and eax, dword [edx + 0xc]
or ecx, eax
jne 0x5aabf4
test dword [edx + 0x2c], 0x4000
je 0x5aa64c
cmp word [esi], 3
jl 0x5aabf4
movzx ebp, word [esi]
mov ax, word [edx + 0x14]
movzx edi, word [edx + 0x12]
add ax, bp
movzx esi, ax
movsx ecx, di
movsx edx, si
cmp di, si
jl 0x5aa68d
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x5aa673
mov esi, edi
jmp 0x5aa6af
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x5aa67f
lea eax, [edi + 1]
jmp 0x5aa6ac
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x5aa6ac
lea eax, [ecx + 0x31]
cmp edx, eax
jg 0x5aa6af
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x5aa6a0
lea eax, [esi + 1]
jmp 0x5aa6ac
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx esi, ax
mov eax, dword [esp + 0x1c]
mov bx, si
mov dword [esp + 0x14], esi
movsx ecx, bx
movzx edi, word [eax + 4]
movsx edx, di
cmp bx, di
jl 0x5aa6f1
lea eax, [edx + 0x31]
cmp ecx, eax
jg 0x5aa71e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x5aa6da
inc esi
jmp 0x5aa717
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add bx, ax
mov word [esp + 0x14], bx
mov esi, dword [esp + 0x14]
jmp 0x5aa71e
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x5aa6fc
mov esi, edi
jmp 0x5aa717
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x5aa708
lea eax, [edi + 1]
jmp 0x5aa714
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx esi, ax
mov dword [esp + 0x14], esi
mov bx, si
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ax, word [ecx + 0x16]
add ax, bp
movzx eax, ax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
or eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x40], eax
mov al, byte [edx + 6]
mov byte [esp + 0x12], al
test al, al
jns 0x5aa7b3
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x78]
push eax
movzx eax, word [edi + 0x28]
lea ebp, [edi + 0x28]
push ecx
push dword [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x78], ebp
push eax
lea eax, [edx - 0x10]
movlpd qword [esp + 0x88], xmm0
push eax
push dword [edi + 8]
push edi
call fcn.005a9af0
mov ecx, dword [esp + 0x98]
mov ah, al
add esp, 0x1c
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x12], ah
mov dword [esp + 0x44], ecx
test ah, ah
js 0x5aa9a5
mov edx, edi
jmp 0x5aa7d3
mov eax, dword [edx - 8]
mov dword [esp + 0x44], eax
mov eax, dword [edx - 4]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
lea eax, [edx + 0x28]
mov dword [esp + 0x6c], eax
mov ah, byte [esp + 0x12]
movzx edi, ah
cmp edi, dword [esp + 0x30]
jge 0x5aa9a5
mov eax, dword [esp + 0x68]
lea eax, [eax + edi*2]
mov dword [esp + 0x78], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x5aa901
mov eax, dword [esp + 0x88]
movzx ebp, ax
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
mov eax, 0x88888889
add ecx, 0x3b
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
push edx
push eax
call fcn.00565e30
add ax, word [esp + 0x90]
add esp, 8
movzx edx, ax
mov dword [esp + 0x14], edx
test edi, edi
je 0x5aa86f
mov eax, dword [esp + 0x30]
sub eax, edi
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x30]
cdq
push edx
push eax
call fcn.00565e30
mov cx, word [esp + 0x1c]
sub ax, 0x42
add esp, 8
add cx, ax
mov word [esp + 0x14], cx
mov edx, dword [esp + 0x14]
jmp 0x5aa874
mov cx, word [esp + 0x14]
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
test eax, 0x4000
je 0x5aa8b5
lea ecx, [edx + 0xa]
test edi, edi
lea eax, [ecx + 6]
movzx edx, ax
movzx eax, cx
cmove edx, eax
mov eax, dword [esp + 0x84]
movzx ecx, dx
movzx eax, word [eax + 0x2a]
cmp ax, word [esp + 0x88]
jge 0x5aa8ad
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x14], eax
jmp 0x5aa8cf
test eax, 0x100
je 0x5aa8cf
mov eax, dword [esp + 0x88]
cmp ax, 0xa
jle 0x5aa8db
add eax, 0xfffffff6
movzx ebp, ax
movzx edi, cx
movzx eax, bp
cmp bp, 0xa
jg 0x5aa8e0
movzx eax, cx
jmp 0x5aa8f5
cwde
cdq
push edx
push eax
call fcn.00565e30
lea ecx, [edi - 0x21]
add esp, 8
add ax, cx
movzx eax, ax
mov edx, dword [esp + 0x78]
movzx eax, ax
mov ecx, eax
mov word [edx], ax
movzx edi, cx
movsx ecx, bx
movsx edx, di
cmp bx, di
jl 0x5aa95c
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x5aa928
movzx eax, bx
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x5aa941
lea eax, [esi + 1]
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bx
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x5aa971
mov eax, edi
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x5aa98a
lea eax, [edi + 1]
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x5aa9b2
sub esi, 2
movzx edx, bx
mov dword [esp + 0x14], esi
mov bx, si
mov esi, dword [esp + 0x20]
xor ecx, ecx
cmp dword [esp + 0x18], ecx
jle 0x5aa9e4
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
cmp dword [esi], edi
jne 0x5aa9da
cmp dword [esi + 4], ebp
jne 0x5aa9da
mov al, byte [esi + 0x16]
xor al, ah
jge 0x5aaaf7
inc ecx
add esi, 0x20
cmp ecx, dword [esp + 0x18]
jl 0x5aa9c6
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x5aaa0a
mov ebp, dword [esp + 0x58]
cmp dx, bp
jg 0x5aabeb
jne 0x5aaa0a
cmp bx, word [esp + 0x54]
jge 0x5aabeb
cmp ecx, edi
lea eax, [ecx + 1]
mov esi, ecx
cmovge esi, dword [esp + 0x50]
shl esi, 5
add esi, dword [esp + 0x20]
cmp ecx, edi
cmovge eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
or eax, dword [edi - 0xc]
or ecx, dword [edi - 0x10]
mov edi, dword [esp + 0x70]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x12]
mov byte [esi + 0x16], al
mov eax, dword [esp + 0x34]
mov word [esi + 0x10], di
mov dword [esi], ecx
mov word [esi + 0x12], dx
lea edi, [eax*4]
mov word [esi + 0x14], bx
mov eax, dword [esp + 0x1c]
push edi
push dword [eax + 8]
push dword [esi + 0x18]
call fcn.00430da0
mov eax, dword [esi + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [edi + eax], edx
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x5aab39
movzx ebp, word [ebx + 0x12]
mov ecx, 1
movzx esi, word [ebx + 0x10]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
cmp edi, ecx
jbe 0x5aaaf1
lea eax, [ebx + 0x34]
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x5aaad4
jne 0x5aaadd
cmp word [eax], si
jle 0x5aaadd
movzx esi, word [eax]
mov ebp, edx
mov dword [esp + 0x50], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x5aaac4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x18]
jmp 0x5aab39
cmp ecx, dword [esp + 0x18]
jge 0x5aa9e4
movzx eax, word [esi + 0x12]
cmp ax, dx
jl 0x5aab2d
jne 0x5aaa26
movzx eax, word [esi + 0x10]
mov edi, dword [esp + 0x70]
cmp ax, di
jl 0x5aab2d
jne 0x5aaa26
cmp word [esi + 0x14], bx
jg 0x5aaa26
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x5aa604
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x5c]
add esi, 0x20
sub eax, 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], eax
jne 0x5aa5f5
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, ebx
mov dword [esp + 0x20], esi
mov ebx, esi
inc edi
mov dword [esp + 0x34], edi
mov esi, eax
mov dword [esp + 0x28], esi
mov eax, ecx
mov dword [esp + 0x5c], eax
cmp edi, edx
jl 0x5aa5e0
test ecx, ecx
jne 0x5aacb4
mov ebx, dword [esp + 0x64]
push str.no_query_solution
push ebx
call fcn.0054d2c0
mov ecx, dword [ebx]
add esp, 8
mov ebx, dword [esp + 0x38]
test ecx, ecx
je 0x5aac44
cmp ebx, dword [ecx + 0x164]
jae 0x5aac24
cmp ebx, dword [ecx + 0x15c]
jb 0x5aac01
mov eax, dword [ecx + 0x158]
pop esi
pop edi
mov dword [ebx], eax
mov eax, 1
pop ebp
mov dword [ecx + 0x158], ebx
pop ebx
add esp, 0x70
ret
mov edx, dword [esp + 0x24]
jmp 0x5aab35
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
jmp 0x5aab3d
cmp ebx, dword [ecx + 0x160]
jb 0x5aac24
mov eax, dword [ecx + 0x150]
pop esi
pop edi
mov dword [ebx], eax
mov eax, 1
pop ebp
mov dword [ecx + 0x150], ebx
pop ebx
add esp, 0x70
ret
cmp dword [ecx + 0x210], 0
je 0x5aac44
push ebx
push ecx
call fcn.00528dd0
add esp, 8
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
cmp dword [0x645f38], 0
je 0x5aac9d
mov eax, dword [0x64de48]
test eax, eax
je 0x5aac60
push eax
call dword [0x645f88]
add esp, 4
push ebx
call dword [0x645f64]
sub dword [0x64dde8], eax
dec dword [0x64de0c]
push ebx
call dword [0x645f5c]
mov eax, dword [0x64de48]
add esp, 8
test eax, eax
je 0x5aaca7
push eax
call dword [0x645f90]
add esp, 4
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
push ebx
call dword [0x645f5c]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x70
ret
cmp eax, 1
jle 0x5aacd7
lea ecx, [esi + 0x20]
lea edx, [eax - 1]
nop
mov ax, word [esi + 0x12]
cmp ax, word [ecx + 0x12]
cmovg esi, ecx
add ecx, 0x20
sub edx, 1
jne 0x5aacc0
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x28]
xor esi, esi
cmp byte [esp + 0x11], 0
lea ebp, [ebx + 0x18]
jbe 0x5aad28
mov ebx, dword [esp + 0x84]
lea edx, [ebx + 0x334]
mov eax, dword [ebp]
lea edx, [edx + 0x60]
mov eax, dword [eax + esi*4]
inc esi
mov dword [edx - 0x4c], eax
mov al, byte [eax + 0x10]
mov byte [edx - 0x60], al
movzx eax, al
lea ecx, [eax + eax*8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [edx - 0x98], eax
cmp esi, ecx
jl 0x5aacf4
mov ebx, dword [esp + 0x28]
jmp 0x5aad2c
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x84]
mov edx, 0x180
mov ax, word [esi + 0x28]
and ax, dx
mov edx, 0x100
cmp ax, dx
jne 0x5aad91
cmp byte [esi + 0x2f], 0
jne 0x5aad91
cmp word [esp + 0x88], 0
je 0x5aad91
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp]
lea edx, [ecx*4]
push dword [edx + eax - 4]
lea eax, [ecx - 1]
push eax
push pe_nt_image_headers32
push ebx
push dword [esi + 0xc]
push esi
call fcn.005a9af0
movsx ecx, al
add esp, 0x1c
mov eax, dword [esi + 0xc]
cmp ecx, dword [eax]
jne 0x5aad91
mov byte [esi + 0x2f], 2
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 8]
and edx, 0xfffffffb
mov dword [esi + 0x30], edx
test edi, edi
je 0x5aaf3e
mov cl, byte [ebx + 0x16]
movzx eax, word [esi + 0x28]
mov byte [esp + 0x12], cl
mov byte [esi + 0x2d], cl
test al, al
jns 0x5aadf4
movsx eax, byte [ebx + 0x16]
cmp eax, dword [edi]
jne 0x5aadc3
mov byte [esi + 0x2f], 2
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x5aade1
mov edx, dword [edx]
movzx ebx, byte [esi + 0x2d]
movsx ecx, cl
cmp ecx, edx
movzx eax, dl
cmovg ebx, eax
mov byte [esi + 0x2d], bl
mov eax, dword [esp + 0x84]
mov esi, edi
add eax, 0x48
mov ebx, eax
jmp 0x5aaecc
mov ecx, dword [esp + 0x28]
lea ebx, [esi + 0x48]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebx], eax
mov al, byte [esp + 0x12]
mov dword [ebx + 4], ecx
test al, al
jg 0x5aaea9
cmp byte [esp + 0x11], 0
mov byte [esi + 0x2d], 0
mov esi, edi
jbe 0x5aaecc
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp]
mov eax, dword [ecx + eax - 4]
mov dword [esp + 0x78], eax
mov edx, dword [eax + 0x2c]
mov eax, edx
and eax, 0x104
cmp eax, 0x104
setne cl
bt edx, 0xc
setae al
test al, cl
je 0x5aaecc
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
dec eax
movlpd qword [esp + 0x78], xmm0
push eax
push 0x800
push dword [esp + 0x38]
push edi
push esi
call fcn.005a9af0
mov esi, dword [esi + 8]
add esp, 0x1c
movsx eax, al
cmp eax, dword [esi]
jne 0x5aaecc
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov dword [ebx + 4], ecx
or dword [eax + 0x30], 4
mov eax, dword [esp + 0x70]
mov dword [ebx], eax
jmp 0x5aaecc
mov cl, byte [esp + 0x11]
mov esi, edi
test cl, cl
je 0x5aaed0
cmp al, 1
jne 0x5aaed0
mov ecx, dword [esp + 0x84]
movzx eax, word [ecx + 0x28]
test al, 3
je 0x5aaecc
or edx, 4
mov dword [ecx + 0x30], edx
mov cl, byte [esp + 0x11]
mov edx, dword [esp + 0x84]
mov eax, 0x200
test word [edx + 0x28], ax
je 0x5aaf3c
movsx eax, byte [edx + 0x2d]
cmp eax, dword [esi]
jne 0x5aaf3c
test cl, cl
je 0x5aaf3c
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp]
xorps xmm0, xmm0
movlpd qword [esp + 0x7c], xmm0
push dword [ecx + eax - 4]
mov eax, dword [esp + 0x34]
dec eax
push eax
push 0
push dword [esp + 0x38]
push esi
mov esi, edx
push esi
call fcn.005a9af0
movsx ecx, al
add esp, 0x1c
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jne 0x5aaf3e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
or dword [esi + 0x30], 8
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x5aaf3e
mov esi, edx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ax, word [eax + 0x10]
mov word [esi + 0x34], ax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
test ecx, ecx
je 0x5aafbd
cmp ebx, dword [ecx + 0x164]
jae 0x5aafa0
cmp ebx, dword [ecx + 0x15c]
jb 0x5aaf80
mov eax, dword [ecx + 0x158]
pop esi
pop edi
mov dword [ebx], eax
xor eax, eax
pop ebp
mov dword [ecx + 0x158], ebx
pop ebx
add esp, 0x70
ret
cmp ebx, dword [ecx + 0x160]
jb 0x5aafa0
mov eax, dword [ecx + 0x150]
pop esi
pop edi
mov dword [ebx], eax
xor eax, eax
pop ebp
mov dword [ecx + 0x150], ebx
pop ebx
add esp, 0x70
ret
cmp dword [ecx + 0x210], 0
je 0x5aafbd
push ebx
push ecx
call fcn.00528dd0
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
cmp dword [0x645f38], 0
je 0x5ab013
mov eax, dword [0x64de48]
test eax, eax
je 0x5aafd9
push eax
call dword [0x645f88]
add esp, 4
push ebx
call dword [0x645f64]
sub dword [0x64dde8], eax
dec dword [0x64de0c]
push ebx
call dword [0x645f5c]
mov eax, dword [0x64de48]
add esp, 8
test eax, eax
je 0x5ab01d
push eax
call dword [0x645f90]
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
push ebx
call dword [0x645f5c]
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret