Function at 0x59bab0
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 0x59bafb
mov edi, 1
jmp 0x59bb0b
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 0x59bb25
cmp word [esp + 0x84], 0
je 0x59bb25
mov ecx, dword [eax]
jmp 0x59bb27
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.0053c1d0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x34], edx
test edx, edx
jne 0x59bb61
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 0x59bb90
mov edx, dword [esp + 0x30]
test edx, edx
je 0x59bbbb
lea eax, [edx + edx]
mov dword [esp + 0x68], ecx
push eax
push 0
push ecx
call fcn.00423ff0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x64]
movzx eax, word [eax + 0x9c]
cmp ax, 0x30
jl 0x59bbd1
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 0x59bbf9
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 0x59c2e4
mov edx, dword [esp + 0x2c]
nop dword [eax + eax]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x59c1a7
add esi, 0x10
mov dword [esp + 0x1c], esi
mov edx, dword [ebp + 0x40]
mov dword [esp + 0x24], edx
test edx, edx
je 0x59c187
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 0x59c224
mov ecx, ebx
mov eax, ebp
and ecx, dword [edx + 8]
and eax, dword [edx + 0xc]
or ecx, eax
jne 0x59c224
test dword [edx + 0x2c], 0x4000
je 0x59bc7c
cmp word [esi], 3
jl 0x59c224
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 0x59bcbd
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x59bca3
mov esi, edi
jmp 0x59bcdf
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x59bcaf
lea eax, [edi + 1]
jmp 0x59bcdc
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x59bcdc
lea eax, [ecx + 0x31]
cmp edx, eax
jg 0x59bcdf
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x59bcd0
lea eax, [esi + 1]
jmp 0x59bcdc
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 0x59bd21
lea eax, [edx + 0x31]
cmp ecx, eax
jg 0x59bd4e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x59bd0a
inc esi
jmp 0x59bd47
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 0x59bd4e
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x59bd2c
mov esi, edi
jmp 0x59bd47
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x59bd38
lea eax, [edi + 1]
jmp 0x59bd44
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 0x59bde3
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.0059b120
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 0x59bfd5
mov edx, edi
jmp 0x59be03
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 0x59bfd5
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 0x59bf31
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.00557460
add ax, word [esp + 0x90]
add esp, 8
movzx edx, ax
mov dword [esp + 0x14], edx
test edi, edi
je 0x59be9f
mov eax, dword [esp + 0x30]
sub eax, edi
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x30]
cdq
push edx
push eax
call fcn.00557460
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 0x59bea4
mov cx, word [esp + 0x14]
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
test eax, 0x4000
je 0x59bee5
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 0x59bedd
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x14], eax
jmp 0x59beff
test eax, 0x100
je 0x59beff
mov eax, dword [esp + 0x88]
cmp ax, 0xa
jle 0x59bf0b
add eax, 0xfffffff6
movzx ebp, ax
movzx edi, cx
movzx eax, bp
cmp bp, 0xa
jg 0x59bf10
movzx eax, cx
jmp 0x59bf25
cwde
cdq
push edx
push eax
call fcn.00557460
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 0x59bf8c
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x59bf58
movzx eax, bx
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x59bfe2
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x59bf71
lea eax, [esi + 1]
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x59bfe2
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 0x59bfe2
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x59bfa1
mov eax, edi
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x59bfe2
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x59bfba
lea eax, [edi + 1]
movzx eax, ax
add eax, 3
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x59bfe2
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 0x59bfe2
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 0x59c014
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
cmp dword [esi], edi
jne 0x59c00a
cmp dword [esi + 4], ebp
jne 0x59c00a
mov al, byte [esi + 0x16]
xor al, ah
jge 0x59c127
inc ecx
add esi, 0x20
cmp ecx, dword [esp + 0x18]
jl 0x59bff6
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x59c03a
mov ebp, dword [esp + 0x58]
cmp dx, bp
jg 0x59c21b
jne 0x59c03a
cmp bx, word [esp + 0x54]
jge 0x59c21b
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.00427770
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 0x59c169
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 0x59c121
lea eax, [ebx + 0x34]
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x59c104
jne 0x59c10d
cmp word [eax], si
jle 0x59c10d
movzx esi, word [eax]
mov ebp, edx
mov dword [esp + 0x50], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x59c0f4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x18]
jmp 0x59c169
cmp ecx, dword [esp + 0x18]
jge 0x59c014
movzx eax, word [esi + 0x12]
cmp ax, dx
jl 0x59c15d
jne 0x59c056
movzx eax, word [esi + 0x10]
mov edi, dword [esp + 0x70]
cmp ax, di
jl 0x59c15d
jne 0x59c056
cmp word [esi + 0x14], bx
jg 0x59c056
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 0x59bc34
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 0x59bc25
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 0x59bc10
test ecx, ecx
jne 0x59c2e4
mov ebx, dword [esp + 0x64]
push str.no_query_solution
push ebx
call fcn.0053e8f0
mov ecx, dword [ebx]
add esp, 8
mov ebx, dword [esp + 0x38]
test ecx, ecx
je 0x59c274
cmp ebx, dword [ecx + 0x164]
jae 0x59c254
cmp ebx, dword [ecx + 0x15c]
jb 0x59c231
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 0x59c165
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
jmp 0x59c16d
cmp ebx, dword [ecx + 0x160]
jb 0x59c254
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 0x59c274
push ebx
push ecx
call fcn.0051a400
add esp, 8
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
cmp dword [0x635d20], 0
je 0x59c2cd
mov eax, dword [0x63cf30]
test eax, eax
je 0x59c290
push eax
call dword [0x635d70]
add esp, 4
push ebx
call dword [0x635d4c]
sub dword [0x63ced0], eax
dec dword [0x63cef4]
push ebx
call dword [0x635d44]
mov eax, dword [0x63cf30]
add esp, 8
test eax, eax
je 0x59c2d7
push eax
call dword [0x635d78]
add esp, 4
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
push ebx
call dword [0x635d44]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x70
ret
cmp eax, 1
jle 0x59c307
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 0x59c2f0
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x28]
xor esi, esi
cmp byte [esp + 0x11], 0
lea ebp, [ebx + 0x18]
jbe 0x59c358
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 0x59c324
mov ebx, dword [esp + 0x28]
jmp 0x59c35c
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 0x59c3c1
cmp byte [esi + 0x2f], 0
jne 0x59c3c1
cmp word [esp + 0x88], 0
je 0x59c3c1
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.0059b120
movsx ecx, al
add esp, 0x1c
mov eax, dword [esi + 0xc]
cmp ecx, dword [eax]
jne 0x59c3c1
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 0x59c56e
mov cl, byte [ebx + 0x16]
movzx eax, word [esi + 0x28]
mov byte [esp + 0x12], cl
mov byte [esi + 0x2d], cl
test al, al
jns 0x59c424
movsx eax, byte [ebx + 0x16]
cmp eax, dword [edi]
jne 0x59c3f3
mov byte [esi + 0x2f], 2
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x59c411
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 0x59c4fc
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 0x59c4d9
cmp byte [esp + 0x11], 0
mov byte [esi + 0x2d], 0
mov esi, edi
jbe 0x59c4fc
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 0x59c4fc
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.0059b120
mov esi, dword [esi + 8]
add esp, 0x1c
movsx eax, al
cmp eax, dword [esi]
jne 0x59c4fc
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 0x59c4fc
mov cl, byte [esp + 0x11]
mov esi, edi
test cl, cl
je 0x59c500
cmp al, 1
jne 0x59c500
mov ecx, dword [esp + 0x84]
movzx eax, word [ecx + 0x28]
test al, 3
je 0x59c4fc
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 0x59c56c
movsx eax, byte [edx + 0x2d]
cmp eax, dword [esi]
jne 0x59c56c
test cl, cl
je 0x59c56c
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.0059b120
movsx ecx, al
add esp, 0x1c
mov eax, dword [esi + 8]
cmp ecx, dword [eax]
jne 0x59c56e
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 0x59c56e
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 0x59c5ed
cmp ebx, dword [ecx + 0x164]
jae 0x59c5d0
cmp ebx, dword [ecx + 0x15c]
jb 0x59c5b0
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 0x59c5d0
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 0x59c5ed
push ebx
push ecx
call fcn.0051a400
add esp, 8
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
cmp dword [0x635d20], 0
je 0x59c643
mov eax, dword [0x63cf30]
test eax, eax
je 0x59c609
push eax
call dword [0x635d70]
add esp, 4
push ebx
call dword [0x635d4c]
sub dword [0x63ced0], eax
dec dword [0x63cef4]
push ebx
call dword [0x635d44]
mov eax, dword [0x63cf30]
add esp, 8
test eax, eax
je 0x59c64d
push eax
call dword [0x635d78]
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x70
ret
push ebx
call dword [0x635d44]
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret