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

Disassembly:
sub esp, 0x74
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x30], edx
push esi
push edi
mov dword [esp + 0x18], ebp
mov eax, dword [ebp]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov esi, dword [eax]
mov al, byte [ebp + 0x30]
movzx ebx, al
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], esi
mov byte [esp + 0x11], al
mov dword [esp + 0x3c], ebx
cmp ebx, 1
ja 0x4f6c18
mov edi, 1
jmp 0x4f6c28
cmp ebx, 2
mov edi, 0xa
mov eax, 5
cmove edi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x4c], edi
test eax, eax
je 0x4f6c3c
test dx, dx
je 0x4f6c3c
mov ecx, dword [eax]
jmp 0x4f6c3e
xor ecx, ecx
lea eax, [ebx*4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], eax
add eax, 0x20
imul eax, edi
add eax, ecx
mov ecx, esi
add eax, eax
cdq
push edx
push eax
call fcn.004600a0
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x4f6c79
lea eax, [edx + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov eax, edi
xorps xmm0, xmm0
shl eax, 5
mov ebx, edx
lea esi, [eax + edx]
mov dword [esp + 0x24], ebx
movups xmmword [esi], xmm0
mov dword [esp + 0x2c], esi
add edx, 0x18
lea ecx, [eax + esi]
lea eax, [edi + edi]
mov edi, dword [esp + 0x60]
movups xmmword [esi + 0x10], xmm0
mov dword [edx], ecx
lea edx, [edx + 0x20]
dec eax
add ecx, edi
test eax, eax
jg 0x4f6ca2
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4f6ccd
lea eax, [edx + edx]
mov dword [esp + 0x64], ecx
push eax
push 0
push ecx
call fcn.00533fc0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov ecx, 0x30
mov eax, dword [eax + 0x88]
cmp eax, ecx
cmovb ecx, eax
mov eax, 1
mov word [esi + 0x10], cx
mov cl, byte [esp + 0x11]
mov dword [esp + 0x5c], eax
test edx, edx
je 0x4f6d09
movzx eax, dl
or edx, 0xffffffff
test cl, cl
cmovne eax, edx
mov byte [esi + 0x16], al
mov eax, 1
mov edi, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x40], edx
test cl, cl
je 0x4f739e
nop dword [eax + eax]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x4f725a
add esi, 0x10
mov dword [esp + 0x20], esi
mov ebp, dword [ebp + 0x44]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x4f7236
mov al, byte [esi + 6]
xorps xmm0, xmm0
mov edx, dword [esi - 0x10]
mov ecx, edx
mov ebx, dword [esi - 0xc]
not ecx
and ecx, dword [ebp]
mov byte [esp + 0x12], al
mov eax, ebx
not eax
movlpd qword [esp + 0x78], xmm0
and eax, dword [ebp + 4]
or ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
jne 0x4f72c8
mov ecx, edx
mov eax, ebx
and ecx, dword [ebp + 8]
and eax, dword [ebp + 0xc]
or ecx, eax
jne 0x4f72c8
test dword [ebp + 0x2c], 0x4000
je 0x4f6d9d
cmp word [esi], 3
jl 0x4f72c8
mov ecx, dword [esp + 0x28]
movzx ebp, word [esi]
mov ax, word [ecx + 0x14]
movzx edi, word [ecx + 0x12]
add ax, bp
movzx esi, ax
movsx ecx, di
movsx edx, si
cmp di, si
jl 0x4f6de2
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4f6dc8
mov esi, edi
jmp 0x4f6e04
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4f6dd4
lea eax, [edi + 1]
jmp 0x4f6e01
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x4f6e01
lea eax, [ecx + 0x31]
cmp edx, eax
jg 0x4f6e04
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4f6df5
lea eax, [esi + 1]
jmp 0x4f6e01
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 + 0x20]
mov bx, si
mov dword [esp + 0x14], esi
movsx ecx, bx
movzx edi, word [eax + 4]
movsx edx, di
cmp bx, di
jl 0x4f6e46
lea eax, [edx + 0x31]
cmp ecx, eax
jg 0x4f6e73
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4f6e2f
inc esi
jmp 0x4f6e6c
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 0x4f6e73
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4f6e51
mov esi, edi
jmp 0x4f6e6c
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4f6e5d
lea eax, [edi + 1]
jmp 0x4f6e69
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 + 0x28]
mov edi, dword [esp + 0x44]
mov ax, word [ecx + 0x16]
or edi, dword [ecx + 8]
add ax, bp
movzx eax, ax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
or eax, dword [ecx + 0xc]
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x12]
mov dword [esp + 0x44], edi
test al, al
jns 0x4f7036
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
push ecx
push dword [esp + 0x48]
movzx eax, word [ebp + 0x2c]
add ebp, 0x2c
push eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edx, dword [eax + 8]
call fcn.004f61e0
mov ah, al
add esp, 0x14
mov byte [esp + 0x12], ah
test ah, ah
jns 0x4f7055
sub esi, 2
movzx edx, bx
mov dword [esp + 0x14], esi
mov bx, si
mov esi, dword [esp + 0x24]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x4f6f1f
mov ebp, dword [esp + 0x48]
cmp dword [esi], edi
jne 0x4f6f15
cmp dword [esi + 4], ebp
jne 0x4f6f15
mov al, byte [esi + 0x16]
xor al, ah
jge 0x4f71dd
inc ecx
add esi, 0x20
cmp ecx, dword [esp + 0x1c]
jl 0x4f6f01
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x4f6f45
mov ebp, dword [esp + 0x58]
cmp dx, bp
jg 0x4f72bf
jne 0x4f6f45
cmp bx, word [esp + 0x54]
jge 0x4f72bf
cmp ecx, edi
lea eax, [ecx + 1]
mov esi, ecx
cmovge esi, dword [esp + 0x50]
shl esi, 5
add esi, dword [esp + 0x24]
cmp ecx, edi
cmovge eax, ecx
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
or ecx, dword [edi - 0x10]
mov eax, dword [ebp + 0xc]
or eax, dword [edi - 0xc]
mov edi, dword [esp + 0x68]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esi + 8], eax
mov al, byte [esp + 0x12]
mov byte [esi + 0x16], al
mov eax, dword [esp + 0x40]
mov word [esi + 0x10], di
mov dword [esi + 0xc], ecx
mov word [esi + 0x12], dx
lea edi, [eax*4]
mov word [esi + 0x14], bx
mov eax, dword [esp + 0x20]
push edi
push dword [eax + 8]
push dword [esi + 0x18]
call fcn.00533a40
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov dword [edi + eax], ebp
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x4f721f
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 0x4f7029
lea eax, [ebx + 0x34]
nop dword [eax + eax]
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x4f7010
jne 0x4f7019
cmp word [eax], si
jle 0x4f7019
movzx esi, word [eax]
mov ebp, edx
mov dword [esp + 0x50], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x4f7000
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
jmp 0x4f721f
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
add eax, 0x2c
mov dword [esp + 0x7c], ecx
mov ebp, eax
mov ah, byte [esp + 0x12]
movzx ecx, ah
cmp ecx, dword [esp + 0x30]
jge 0x4f6ee4
mov eax, dword [esp + 0x64]
lea eax, [eax + ecx*2]
mov dword [esp + 0x74], eax
movzx eax, word [eax]
mov edx, eax
test ax, ax
jne 0x4f7112
mov eax, dword [esp + 0x38]
movzx edi, ax
mov eax, dword [esp + 0x30]
sub eax, ecx
imul eax, eax, 0x64
cdq
idiv dword [esp + 0x30]
cdq
push edx
push eax
call fcn.00464840
mov ecx, dword [esp + 0x40]
add esp, 8
movzx edx, word [ebp]
add ax, cx
mov dword [esp + 0x14], eax
test edx, 0x4000
je 0x4f70c9
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 0x2e]
cmp cx, word [esp + 0x38]
jge 0x4f70c5
mov edi, ecx
jmp 0x4f70dd
mov ecx, dword [esp + 0x38]
test edx, 0x100
je 0x4f70dd
cmp cx, 0xa
jle 0x4f7102
lea eax, [ecx - 0xa]
movzx edi, ax
movzx eax, di
cmp di, 0xa
jg 0x4f70ec
mov eax, dword [esp + 0x14]
jmp 0x4f7102
cwde
cdq
push edx
push eax
call fcn.00464840
mov ecx, dword [esp + 0x1c]
add esp, 8
add ecx, 0xffffffdf
add ax, cx
mov ecx, dword [esp + 0x74]
movzx eax, ax
add eax, 0xffffffce
movzx edx, ax
mov word [ecx], ax
movzx edi, dx
movsx ecx, bx
movsx edx, di
cmp bx, di
jl 0x4f717f
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4f713d
mov edi, dword [esp + 0x44]
movzx eax, bx
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4f715d
mov edi, dword [esp + 0x44]
lea eax, [esi + 1]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
mov edi, dword [esp + 0x44]
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, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4f719b
mov eax, edi
mov edi, dword [esp + 0x44]
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4f71bb
lea eax, [edi + 1]
mov edi, dword [esp + 0x44]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
mov edi, dword [esp + 0x44]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x12]
jmp 0x4f6ef1
cmp ecx, dword [esp + 0x1c]
jge 0x4f6f1f
movzx eax, word [esi + 0x12]
cmp ax, dx
jl 0x4f7213
jne 0x4f6f61
movzx eax, word [esi + 0x10]
mov edi, dword [esp + 0x68]
cmp ax, di
jl 0x4f7213
jne 0x4f6f61
cmp word [esi + 0x14], bx
jg 0x4f6f61
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ebp, dword [ebp + 0x3c]
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x4f6d44
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x18]
add esi, 0x20
sub eax, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], eax
jne 0x4f6d35
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x24], esi
mov ebx, esi
inc edx
mov dword [esp + 0x40], edx
mov esi, eax
mov dword [esp + 0x2c], esi
mov eax, ecx
mov dword [esp + 0x5c], eax
cmp edx, edi
jl 0x4f6d20
test ecx, ecx
jne 0x4f739e
push str.no_query_solution
push dword [esp + 0x70]
call fcn.004633a0
mov ecx, dword [esp + 0x78]
add esp, 8
test ecx, ecx
je 0x4f7327
cmp dword [ecx + 0x210], 0
je 0x4f72d5
mov edx, dword [esp + 0x34]
call fcn.0045fc60
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov ebp, dword [esp + 0x28]
jmp 0x4f721b
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
jmp 0x4f7223
mov ebx, dword [esp + 0x34]
cmp ebx, dword [ecx + 0x164]
jae 0x4f732b
cmp ebx, dword [ecx + 0x15c]
jb 0x4f7304
mov eax, dword [ecx + 0x158]
mov dword [ebx], eax
mov eax, 1
mov dword [ecx + 0x158], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp ebx, dword [ecx + 0x160]
jb 0x4f732b
mov eax, dword [ecx + 0x150]
mov dword [ebx], eax
mov eax, 1
mov dword [ecx + 0x150], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov ebx, dword [esp + 0x34]
cmp dword [0x59ebc0], 0
je 0x4f7387
mov eax, dword [0x5abfe0]
test eax, eax
je 0x4f7347
push eax
call dword [0x59ec10]
add esp, 4
push ebx
call dword [0x59ebec]
sub dword [0x5abdf8], eax
add esp, 4
dec dword [0x5abe1c]
push ebx
call dword [0x59ebe4]
mov eax, dword [0x5abfe0]
add esp, 4
test eax, eax
je 0x4f7391
push eax
call dword [0x59ec18]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
push ebx
call dword [0x59ebe4]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp eax, 1
jle 0x4f73c7
lea ecx, [esi + 0x20]
lea edx, [eax - 1]
nop dword [eax]
mov ax, word [esi + 0x12]
cmp ax, word [ecx + 0x12]
cmovg esi, ecx
add ecx, 0x20
sub edx, 1
jne 0x4f73b0
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0x2c]
xor esi, esi
add ebx, 0x18
cmp byte [esp + 0x11], 0
mov dword [esp + 0x28], ebx
jbe 0x4f740c
lea edx, [ebp + 0x338]
mov eax, dword [ebx]
lea edx, [edx + 0x58]
mov eax, dword [eax + esi*4]
inc esi
mov dword [edx - 0x44], eax
mov al, byte [eax + 0x10]
mov byte [edx - 0x58], al
movzx eax, al
lea ecx, [eax + eax*8]
mov eax, dword [ebp + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov dword [edx - 0x8c], eax
cmp esi, edi
jl 0x4f73e1
jmp 0x4f7410
mov dword [esp + 0x28], ebx
mov ax, word [ebp + 0x2c]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x4f7471
cmp byte [ebp + 0x33], 0
jne 0x4f7471
cmp word [esp + 0x38], 0
mov esi, dword [esp + 0x2c]
je 0x4f7475
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx]
lea ecx, [edi*4]
push dword [ecx + eax - 4]
lea eax, [edi - 1]
mov ecx, ebp
push eax
push 0x80
push esi
call fcn.004f61e0
movsx ecx, al
add esp, 0x14
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jne 0x4f7475
mov byte [ebp + 0x33], 2
jmp 0x4f7475
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 8]
and eax, 0xfffffffb
mov dword [esp + 0x74], eax
mov dword [ebp + 0x34], eax
test edi, edi
je 0x4f7614
movzx ecx, word [ebp + 0x2c]
mov al, byte [esi + 0x16]
mov byte [esp + 0x12], al
test cl, cl
jns 0x4f74b8
movsx eax, al
cmp eax, dword [edi]
jne 0x4f74a7
mov byte [ebp + 0x33], 2
mov ch, byte [esp + 0x11]
lea eax, [ebp + 0x31]
mov esi, edi
add ebp, 0x50
jmp 0x4f75ac
lea edx, [ebp + 0x31]
mov byte [edx], al
lea ebx, [ebp + 0x50]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov esi, edi
mov dword [ebx + 4], ecx
mov cl, byte [esp + 0x12]
mov dword [esp + 0x40], edx
mov dword [ebx], eax
test cl, cl
jg 0x4f756e
cmp byte [esp + 0x11], 0
mov byte [edx], 0
jbe 0x4f75a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov eax, dword [eax]
mov ebp, dword [ecx + eax - 4]
mov eax, dword [ebp + 0x2c]
and eax, 0x104
cmp eax, 0x104
setne cl
bt dword [ebp + 0x2c], 0xc
setae al
test al, cl
je 0x4f7568
lea eax, [esp + 0x78]
mov edx, edi
mov edi, dword [esp + 0x18]
xorps xmm0, xmm0
push eax
mov eax, dword [esp + 0x40]
mov ecx, edi
push ebp
dec eax
movlpd qword [esp + 0x80], xmm0
push eax
mov eax, dword [esp + 0x38]
push 0x800
push eax
call fcn.004f61e0
mov esi, dword [edi + 8]
add esp, 0x14
mov edx, dword [esp + 0x40]
movsx eax, al
cmp eax, dword [esi]
jne 0x4f75a0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
or dword [edi + 0x34], 4
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4f75a0
mov edx, dword [esp + 0x40]
jmp 0x4f75a0
mov ch, byte [esp + 0x11]
mov eax, edx
mov ebp, ebx
test ch, ch
je 0x4f75a8
mov esi, edi
cmp cl, 1
jne 0x4f75a8
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + 0x2c]
mov edx, dword [esp + 0x40]
test cl, 3
je 0x4f75a4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
or eax, 4
mov dword [ecx + 0x34], eax
mov ebp, ebx
mov eax, edx
mov ch, byte [esp + 0x11]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov edx, 0x200
test word [edi + 0x2c], dx
je 0x4f7612
movsx eax, byte [eax]
cmp eax, dword [esi]
jne 0x4f7612
test ch, ch
je 0x4f7612
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx]
xorps xmm0, xmm0
movlpd qword [esp + 0x7c], xmm0
mov edx, esi
push dword [ecx + eax - 4]
mov eax, dword [esp + 0x44]
mov ecx, edi
dec eax
push eax
push 0
push dword [esp + 0x3c]
call fcn.004f61e0
movsx ecx, al
add esp, 0x14
mov eax, dword [edi + 8]
cmp ecx, dword [eax]
jne 0x4f7612
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
or dword [edi + 0x34], 8
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov ebp, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov ax, word [eax + 0x10]
mov word [ebp + 0x38], ax
test ecx, ecx
je 0x4f7690
cmp dword [ecx + 0x210], 0
je 0x4f7644
mov edx, dword [esp + 0x34]
call fcn.0045fc60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov ebx, dword [esp + 0x34]
cmp ebx, dword [ecx + 0x164]
jae 0x4f7694
cmp ebx, dword [ecx + 0x15c]
jb 0x4f7670
mov eax, dword [ecx + 0x158]
mov dword [ebx], eax
xor eax, eax
mov dword [ecx + 0x158], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
cmp ebx, dword [ecx + 0x160]
jb 0x4f7694
mov eax, dword [ecx + 0x150]
mov dword [ebx], eax
xor eax, eax
mov dword [ecx + 0x150], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov ebx, dword [esp + 0x34]
cmp dword [0x59ebc0], 0
je 0x4f76ed
mov eax, dword [0x5abfe0]
test eax, eax
je 0x4f76b0
push eax
call dword [0x59ec10]
add esp, 4
push ebx
call dword [0x59ebec]
sub dword [0x5abdf8], eax
add esp, 4
dec dword [0x5abe1c]
push ebx
call dword [0x59ebe4]
mov eax, dword [0x5abfe0]
add esp, 4
test eax, eax
je 0x4f76f7
push eax
call dword [0x59ec18]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
push ebx
call dword [0x59ebe4]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret